var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key2, value) => key2 in obj ? __defProp(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
var __publicField = (obj, key2, value) => __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value);
/* empty css                */
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
function getDefaultExportFromCjs(x) {
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
}
var jsxRuntime = { exports: {} };
var reactJsxRuntime_production = {};
/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var hasRequiredReactJsxRuntime_production;
function requireReactJsxRuntime_production() {
  if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
  hasRequiredReactJsxRuntime_production = 1;
  var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
  function jsxProd(type, config2, maybeKey) {
    var key2 = null;
    void 0 !== maybeKey && (key2 = "" + maybeKey);
    void 0 !== config2.key && (key2 = "" + config2.key);
    if ("key" in config2) {
      maybeKey = {};
      for (var propName in config2)
        "key" !== propName && (maybeKey[propName] = config2[propName]);
    } else maybeKey = config2;
    config2 = maybeKey.ref;
    return {
      $$typeof: REACT_ELEMENT_TYPE,
      type,
      key: key2,
      ref: void 0 !== config2 ? config2 : null,
      props: maybeKey
    };
  }
  reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
  reactJsxRuntime_production.jsx = jsxProd;
  reactJsxRuntime_production.jsxs = jsxProd;
  return reactJsxRuntime_production;
}
var hasRequiredJsxRuntime;
function requireJsxRuntime() {
  if (hasRequiredJsxRuntime) return jsxRuntime.exports;
  hasRequiredJsxRuntime = 1;
  {
    jsxRuntime.exports = requireReactJsxRuntime_production();
  }
  return jsxRuntime.exports;
}
var jsxRuntimeExports = requireJsxRuntime();
var react = { exports: {} };
var react_production = {};
/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var hasRequiredReact_production;
function requireReact_production() {
  if (hasRequiredReact_production) return react_production;
  hasRequiredReact_production = 1;
  var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
  function getIteratorFn(maybeIterable) {
    if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
    maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
    return "function" === typeof maybeIterable ? maybeIterable : null;
  }
  var ReactNoopUpdateQueue = {
    isMounted: function() {
      return false;
    },
    enqueueForceUpdate: function() {
    },
    enqueueReplaceState: function() {
    },
    enqueueSetState: function() {
    }
  }, assign = Object.assign, emptyObject = {};
  function Component(props, context, updater) {
    this.props = props;
    this.context = context;
    this.refs = emptyObject;
    this.updater = updater || ReactNoopUpdateQueue;
  }
  Component.prototype.isReactComponent = {};
  Component.prototype.setState = function(partialState, callback) {
    if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
      throw Error(
        "takes an object of state variables to update or a function which returns an object of state variables."
      );
    this.updater.enqueueSetState(this, partialState, callback, "setState");
  };
  Component.prototype.forceUpdate = function(callback) {
    this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
  };
  function ComponentDummy() {
  }
  ComponentDummy.prototype = Component.prototype;
  function PureComponent(props, context, updater) {
    this.props = props;
    this.context = context;
    this.refs = emptyObject;
    this.updater = updater || ReactNoopUpdateQueue;
  }
  var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
  pureComponentPrototype.constructor = PureComponent;
  assign(pureComponentPrototype, Component.prototype);
  pureComponentPrototype.isPureReactComponent = true;
  var isArrayImpl = Array.isArray;
  function noop2() {
  }
  var ReactSharedInternals = { H: null, A: null, T: null, S: null }, hasOwnProperty2 = Object.prototype.hasOwnProperty;
  function ReactElement(type, key2, props) {
    var refProp = props.ref;
    return {
      $$typeof: REACT_ELEMENT_TYPE,
      type,
      key: key2,
      ref: void 0 !== refProp ? refProp : null,
      props
    };
  }
  function cloneAndReplaceKey(oldElement, newKey) {
    return ReactElement(oldElement.type, newKey, oldElement.props);
  }
  function isValidElement(object) {
    return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
  }
  function escape(key2) {
    var escaperLookup = { "=": "=0", ":": "=2" };
    return "$" + key2.replace(/[=:]/g, function(match) {
      return escaperLookup[match];
    });
  }
  var userProvidedKeyEscapeRegex = /\/+/g;
  function getElementKey(element, index) {
    return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
  }
  function resolveThenable(thenable) {
    switch (thenable.status) {
      case "fulfilled":
        return thenable.value;
      case "rejected":
        throw thenable.reason;
      default:
        switch ("string" === typeof thenable.status ? thenable.then(noop2, noop2) : (thenable.status = "pending", thenable.then(
          function(fulfilledValue) {
            "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
          },
          function(error) {
            "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
          }
        )), thenable.status) {
          case "fulfilled":
            return thenable.value;
          case "rejected":
            throw thenable.reason;
        }
    }
    throw thenable;
  }
  function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
    var type = typeof children;
    if ("undefined" === type || "boolean" === type) children = null;
    var invokeCallback = false;
    if (null === children) invokeCallback = true;
    else
      switch (type) {
        case "bigint":
        case "string":
        case "number":
          invokeCallback = true;
          break;
        case "object":
          switch (children.$$typeof) {
            case REACT_ELEMENT_TYPE:
            case REACT_PORTAL_TYPE:
              invokeCallback = true;
              break;
            case REACT_LAZY_TYPE:
              return invokeCallback = children._init, mapIntoArray(
                invokeCallback(children._payload),
                array,
                escapedPrefix,
                nameSoFar,
                callback
              );
          }
      }
    if (invokeCallback)
      return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c10) {
        return c10;
      })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(
        callback,
        escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
          userProvidedKeyEscapeRegex,
          "$&/"
        ) + "/") + invokeCallback
      )), array.push(callback)), 1;
    invokeCallback = 0;
    var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
    if (isArrayImpl(children))
      for (var i = 0; i < children.length; i++)
        nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
          nameSoFar,
          array,
          escapedPrefix,
          type,
          callback
        );
    else if (i = getIteratorFn(children), "function" === typeof i)
      for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
        nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
          nameSoFar,
          array,
          escapedPrefix,
          type,
          callback
        );
    else if ("object" === type) {
      if ("function" === typeof children.then)
        return mapIntoArray(
          resolveThenable(children),
          array,
          escapedPrefix,
          nameSoFar,
          callback
        );
      array = String(children);
      throw Error(
        "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
      );
    }
    return invokeCallback;
  }
  function mapChildren(children, func, context) {
    if (null == children) return children;
    var result = [], count = 0;
    mapIntoArray(children, result, "", "", function(child) {
      return func.call(context, child, count++);
    });
    return result;
  }
  function lazyInitializer(payload) {
    if (-1 === payload._status) {
      var ctor = payload._result;
      ctor = ctor();
      ctor.then(
        function(moduleObject) {
          if (0 === payload._status || -1 === payload._status)
            payload._status = 1, payload._result = moduleObject;
        },
        function(error) {
          if (0 === payload._status || -1 === payload._status)
            payload._status = 2, payload._result = error;
        }
      );
      -1 === payload._status && (payload._status = 0, payload._result = ctor);
    }
    if (1 === payload._status) return payload._result.default;
    throw payload._result;
  }
  var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
    if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
      var event = new window.ErrorEvent("error", {
        bubbles: true,
        cancelable: true,
        message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
        error
      });
      if (!window.dispatchEvent(event)) return;
    } else if ("object" === typeof process && "function" === typeof process.emit) {
      process.emit("uncaughtException", error);
      return;
    }
    console.error(error);
  }, Children = {
    map: mapChildren,
    forEach: function(children, forEachFunc, forEachContext) {
      mapChildren(
        children,
        function() {
          forEachFunc.apply(this, arguments);
        },
        forEachContext
      );
    },
    count: function(children) {
      var n = 0;
      mapChildren(children, function() {
        n++;
      });
      return n;
    },
    toArray: function(children) {
      return mapChildren(children, function(child) {
        return child;
      }) || [];
    },
    only: function(children) {
      if (!isValidElement(children))
        throw Error(
          "React.Children.only expected to receive a single React element child."
        );
      return children;
    }
  };
  react_production.Activity = REACT_ACTIVITY_TYPE;
  react_production.Children = Children;
  react_production.Component = Component;
  react_production.Fragment = REACT_FRAGMENT_TYPE;
  react_production.Profiler = REACT_PROFILER_TYPE;
  react_production.PureComponent = PureComponent;
  react_production.StrictMode = REACT_STRICT_MODE_TYPE;
  react_production.Suspense = REACT_SUSPENSE_TYPE;
  react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
  react_production.__COMPILER_RUNTIME = {
    __proto__: null,
    c: function(size) {
      return ReactSharedInternals.H.useMemoCache(size);
    }
  };
  react_production.cache = function(fn) {
    return function() {
      return fn.apply(null, arguments);
    };
  };
  react_production.cacheSignal = function() {
    return null;
  };
  react_production.cloneElement = function(element, config2, children) {
    if (null === element || void 0 === element)
      throw Error(
        "The argument must be a React element, but you passed " + element + "."
      );
    var props = assign({}, element.props), key2 = element.key;
    if (null != config2)
      for (propName in void 0 !== config2.key && (key2 = "" + config2.key), config2)
        !hasOwnProperty2.call(config2, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config2.ref || (props[propName] = config2[propName]);
    var propName = arguments.length - 2;
    if (1 === propName) props.children = children;
    else if (1 < propName) {
      for (var childArray = Array(propName), i = 0; i < propName; i++)
        childArray[i] = arguments[i + 2];
      props.children = childArray;
    }
    return ReactElement(element.type, key2, props);
  };
  react_production.createContext = function(defaultValue) {
    defaultValue = {
      $$typeof: REACT_CONTEXT_TYPE,
      _currentValue: defaultValue,
      _currentValue2: defaultValue,
      _threadCount: 0,
      Provider: null,
      Consumer: null
    };
    defaultValue.Provider = defaultValue;
    defaultValue.Consumer = {
      $$typeof: REACT_CONSUMER_TYPE,
      _context: defaultValue
    };
    return defaultValue;
  };
  react_production.createElement = function(type, config2, children) {
    var propName, props = {}, key2 = null;
    if (null != config2)
      for (propName in void 0 !== config2.key && (key2 = "" + config2.key), config2)
        hasOwnProperty2.call(config2, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config2[propName]);
    var childrenLength = arguments.length - 2;
    if (1 === childrenLength) props.children = children;
    else if (1 < childrenLength) {
      for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
        childArray[i] = arguments[i + 2];
      props.children = childArray;
    }
    if (type && type.defaultProps)
      for (propName in childrenLength = type.defaultProps, childrenLength)
        void 0 === props[propName] && (props[propName] = childrenLength[propName]);
    return ReactElement(type, key2, props);
  };
  react_production.createRef = function() {
    return { current: null };
  };
  react_production.forwardRef = function(render) {
    return { $$typeof: REACT_FORWARD_REF_TYPE, render };
  };
  react_production.isValidElement = isValidElement;
  react_production.lazy = function(ctor) {
    return {
      $$typeof: REACT_LAZY_TYPE,
      _payload: { _status: -1, _result: ctor },
      _init: lazyInitializer
    };
  };
  react_production.memo = function(type, compare) {
    return {
      $$typeof: REACT_MEMO_TYPE,
      type,
      compare: void 0 === compare ? null : compare
    };
  };
  react_production.startTransition = function(scope) {
    var prevTransition = ReactSharedInternals.T, currentTransition = {};
    ReactSharedInternals.T = currentTransition;
    try {
      var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
      null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
      "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop2, reportGlobalError);
    } catch (error) {
      reportGlobalError(error);
    } finally {
      null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
    }
  };
  react_production.unstable_useCacheRefresh = function() {
    return ReactSharedInternals.H.useCacheRefresh();
  };
  react_production.use = function(usable) {
    return ReactSharedInternals.H.use(usable);
  };
  react_production.useActionState = function(action, initialState2, permalink) {
    return ReactSharedInternals.H.useActionState(action, initialState2, permalink);
  };
  react_production.useCallback = function(callback, deps) {
    return ReactSharedInternals.H.useCallback(callback, deps);
  };
  react_production.useContext = function(Context) {
    return ReactSharedInternals.H.useContext(Context);
  };
  react_production.useDebugValue = function() {
  };
  react_production.useDeferredValue = function(value, initialValue) {
    return ReactSharedInternals.H.useDeferredValue(value, initialValue);
  };
  react_production.useEffect = function(create, deps) {
    return ReactSharedInternals.H.useEffect(create, deps);
  };
  react_production.useEffectEvent = function(callback) {
    return ReactSharedInternals.H.useEffectEvent(callback);
  };
  react_production.useId = function() {
    return ReactSharedInternals.H.useId();
  };
  react_production.useImperativeHandle = function(ref, create, deps) {
    return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
  };
  react_production.useInsertionEffect = function(create, deps) {
    return ReactSharedInternals.H.useInsertionEffect(create, deps);
  };
  react_production.useLayoutEffect = function(create, deps) {
    return ReactSharedInternals.H.useLayoutEffect(create, deps);
  };
  react_production.useMemo = function(create, deps) {
    return ReactSharedInternals.H.useMemo(create, deps);
  };
  react_production.useOptimistic = function(passthrough, reducer) {
    return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
  };
  react_production.useReducer = function(reducer, initialArg, init) {
    return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
  };
  react_production.useRef = function(initialValue) {
    return ReactSharedInternals.H.useRef(initialValue);
  };
  react_production.useState = function(initialState2) {
    return ReactSharedInternals.H.useState(initialState2);
  };
  react_production.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
    return ReactSharedInternals.H.useSyncExternalStore(
      subscribe,
      getSnapshot,
      getServerSnapshot
    );
  };
  react_production.useTransition = function() {
    return ReactSharedInternals.H.useTransition();
  };
  react_production.version = "19.2.0";
  return react_production;
}
var hasRequiredReact;
function requireReact() {
  if (hasRequiredReact) return react.exports;
  hasRequiredReact = 1;
  {
    react.exports = requireReact_production();
  }
  return react.exports;
}
var reactExports = requireReact();
const React = /* @__PURE__ */ getDefaultExportFromCjs(reactExports);
var reactDom = { exports: {} };
var reactDom_production = {};
/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var hasRequiredReactDom_production;
function requireReactDom_production() {
  if (hasRequiredReactDom_production) return reactDom_production;
  hasRequiredReactDom_production = 1;
  var React2 = requireReact();
  function formatProdErrorMessage2(code) {
    var url = "https://react.dev/errors/" + code;
    if (1 < arguments.length) {
      url += "?args[]=" + encodeURIComponent(arguments[1]);
      for (var i = 2; i < arguments.length; i++)
        url += "&args[]=" + encodeURIComponent(arguments[i]);
    }
    return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  function noop2() {
  }
  var Internals = {
    d: {
      f: noop2,
      r: function() {
        throw Error(formatProdErrorMessage2(522));
      },
      D: noop2,
      C: noop2,
      L: noop2,
      m: noop2,
      X: noop2,
      S: noop2,
      M: noop2
    },
    p: 0,
    findDOMNode: null
  }, REACT_PORTAL_TYPE = Symbol.for("react.portal");
  function createPortal$1(children, containerInfo, implementation) {
    var key2 = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
    return {
      $$typeof: REACT_PORTAL_TYPE,
      key: null == key2 ? null : "" + key2,
      children,
      containerInfo,
      implementation
    };
  }
  var ReactSharedInternals = React2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
  function getCrossOriginStringAs(as2, input) {
    if ("font" === as2) return "";
    if ("string" === typeof input)
      return "use-credentials" === input ? input : "";
  }
  reactDom_production.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
  reactDom_production.createPortal = function(children, container) {
    var key2 = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
    if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType)
      throw Error(formatProdErrorMessage2(299));
    return createPortal$1(children, container, null, key2);
  };
  reactDom_production.flushSync = function(fn) {
    var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
    try {
      if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
    } finally {
      ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
    }
  };
  reactDom_production.preconnect = function(href, options) {
    "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
  };
  reactDom_production.prefetchDNS = function(href) {
    "string" === typeof href && Internals.d.D(href);
  };
  reactDom_production.preinit = function(href, options) {
    if ("string" === typeof href && options && "string" === typeof options.as) {
      var as2 = options.as, crossOrigin = getCrossOriginStringAs(as2, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
      "style" === as2 ? Internals.d.S(
        href,
        "string" === typeof options.precedence ? options.precedence : void 0,
        {
          crossOrigin,
          integrity,
          fetchPriority
        }
      ) : "script" === as2 && Internals.d.X(href, {
        crossOrigin,
        integrity,
        fetchPriority,
        nonce: "string" === typeof options.nonce ? options.nonce : void 0
      });
    }
  };
  reactDom_production.preinitModule = function(href, options) {
    if ("string" === typeof href)
      if ("object" === typeof options && null !== options) {
        if (null == options.as || "script" === options.as) {
          var crossOrigin = getCrossOriginStringAs(
            options.as,
            options.crossOrigin
          );
          Internals.d.M(href, {
            crossOrigin,
            integrity: "string" === typeof options.integrity ? options.integrity : void 0,
            nonce: "string" === typeof options.nonce ? options.nonce : void 0
          });
        }
      } else null == options && Internals.d.M(href);
  };
  reactDom_production.preload = function(href, options) {
    if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
      var as2 = options.as, crossOrigin = getCrossOriginStringAs(as2, options.crossOrigin);
      Internals.d.L(href, as2, {
        crossOrigin,
        integrity: "string" === typeof options.integrity ? options.integrity : void 0,
        nonce: "string" === typeof options.nonce ? options.nonce : void 0,
        type: "string" === typeof options.type ? options.type : void 0,
        fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
        referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
        imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
        imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
        media: "string" === typeof options.media ? options.media : void 0
      });
    }
  };
  reactDom_production.preloadModule = function(href, options) {
    if ("string" === typeof href)
      if (options) {
        var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
        Internals.d.m(href, {
          as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
          crossOrigin,
          integrity: "string" === typeof options.integrity ? options.integrity : void 0
        });
      } else Internals.d.m(href);
  };
  reactDom_production.requestFormReset = function(form) {
    Internals.d.r(form);
  };
  reactDom_production.unstable_batchedUpdates = function(fn, a) {
    return fn(a);
  };
  reactDom_production.useFormState = function(action, initialState2, permalink) {
    return ReactSharedInternals.H.useFormState(action, initialState2, permalink);
  };
  reactDom_production.useFormStatus = function() {
    return ReactSharedInternals.H.useHostTransitionStatus();
  };
  reactDom_production.version = "19.2.0";
  return reactDom_production;
}
var hasRequiredReactDom;
function requireReactDom() {
  if (hasRequiredReactDom) return reactDom.exports;
  hasRequiredReactDom = 1;
  function checkDCE() {
    if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") {
      return;
    }
    try {
      __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
    } catch (err) {
      console.error(err);
    }
  }
  {
    checkDCE();
    reactDom.exports = requireReactDom_production();
  }
  return reactDom.exports;
}
const scriptRel = "modulepreload";
const assetsURL = function(dep, importerUrl) {
  return new URL(dep, importerUrl).href;
};
const seen = {};
const __vitePreload = function preload(baseModule, deps, importerUrl) {
  let promise = Promise.resolve();
  if (deps && deps.length > 0) {
    let allSettled2 = function(promises) {
      return Promise.all(
        promises.map(
          (p) => Promise.resolve(p).then(
            (value) => ({ status: "fulfilled", value }),
            (reason) => ({ status: "rejected", reason })
          )
        )
      );
    };
    const links = document.getElementsByTagName("link");
    const cspNonceMeta = document.querySelector(
      "meta[property=csp-nonce]"
    );
    const cspNonce = (cspNonceMeta == null ? void 0 : cspNonceMeta.nonce) || (cspNonceMeta == null ? void 0 : cspNonceMeta.getAttribute("nonce"));
    promise = allSettled2(
      deps.map((dep) => {
        dep = assetsURL(dep, importerUrl);
        if (dep in seen) return;
        seen[dep] = true;
        const isCss = dep.endsWith(".css");
        const cssSelector = isCss ? '[rel="stylesheet"]' : "";
        const isBaseRelative = !!importerUrl;
        if (isBaseRelative) {
          for (let i = links.length - 1; i >= 0; i--) {
            const link2 = links[i];
            if (link2.href === dep && (!isCss || link2.rel === "stylesheet")) {
              return;
            }
          }
        } else if (document.querySelector(`link[href="${dep}"]${cssSelector}`)) {
          return;
        }
        const link = document.createElement("link");
        link.rel = isCss ? "stylesheet" : scriptRel;
        if (!isCss) {
          link.as = "script";
        }
        link.crossOrigin = "";
        link.href = dep;
        if (cspNonce) {
          link.setAttribute("nonce", cspNonce);
        }
        document.head.appendChild(link);
        if (isCss) {
          return new Promise((res, rej) => {
            link.addEventListener("load", res);
            link.addEventListener(
              "error",
              () => rej(new Error(`Unable to preload CSS for ${dep}`))
            );
          });
        }
      })
    );
  }
  function handlePreloadError(err) {
    const e4 = new Event("vite:preloadError", {
      cancelable: true
    });
    e4.payload = err;
    window.dispatchEvent(e4);
    if (!e4.defaultPrevented) {
      throw err;
    }
  }
  return promise.then((res) => {
    for (const item of res || []) {
      if (item.status !== "rejected") continue;
      handlePreloadError(item.reason);
    }
    return baseModule().catch(handlePreloadError);
  });
};
var reactDomExports = requireReactDom();
const ch = /* @__PURE__ */ getDefaultExportFromCjs(reactDomExports);
var reactIs$1 = { exports: {} };
var reactIs_production_min$1 = {};
/** @license React v16.13.1
 * react-is.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 hasRequiredReactIs_production_min$1;
function requireReactIs_production_min$1() {
  if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
  hasRequiredReactIs_production_min$1 = 1;
  var b = "function" === typeof Symbol && Symbol.for, c10 = b ? Symbol.for("react.element") : 60103, d = b ? Symbol.for("react.portal") : 60106, e4 = b ? Symbol.for("react.fragment") : 60107, f = b ? Symbol.for("react.strict_mode") : 60108, g = b ? Symbol.for("react.profiler") : 60114, h = b ? Symbol.for("react.provider") : 60109, k = b ? Symbol.for("react.context") : 60110, l = b ? Symbol.for("react.async_mode") : 60111, m = b ? Symbol.for("react.concurrent_mode") : 60111, n = b ? Symbol.for("react.forward_ref") : 60112, p = b ? Symbol.for("react.suspense") : 60113, q = b ? Symbol.for("react.suspense_list") : 60120, r = b ? Symbol.for("react.memo") : 60115, t = b ? Symbol.for("react.lazy") : 60116, v = b ? Symbol.for("react.block") : 60121, w = b ? Symbol.for("react.fundamental") : 60117, x = b ? Symbol.for("react.responder") : 60118, y = b ? Symbol.for("react.scope") : 60119;
  function z(a) {
    if ("object" === typeof a && null !== a) {
      var u = a.$$typeof;
      switch (u) {
        case c10:
          switch (a = a.type, a) {
            case l:
            case m:
            case e4:
            case g:
            case f:
            case p:
              return a;
            default:
              switch (a = a && a.$$typeof, a) {
                case k:
                case n:
                case t:
                case r:
                case h:
                  return a;
                default:
                  return u;
              }
          }
        case d:
          return u;
      }
    }
  }
  function A(a) {
    return z(a) === m;
  }
  reactIs_production_min$1.AsyncMode = l;
  reactIs_production_min$1.ConcurrentMode = m;
  reactIs_production_min$1.ContextConsumer = k;
  reactIs_production_min$1.ContextProvider = h;
  reactIs_production_min$1.Element = c10;
  reactIs_production_min$1.ForwardRef = n;
  reactIs_production_min$1.Fragment = e4;
  reactIs_production_min$1.Lazy = t;
  reactIs_production_min$1.Memo = r;
  reactIs_production_min$1.Portal = d;
  reactIs_production_min$1.Profiler = g;
  reactIs_production_min$1.StrictMode = f;
  reactIs_production_min$1.Suspense = p;
  reactIs_production_min$1.isAsyncMode = function(a) {
    return A(a) || z(a) === l;
  };
  reactIs_production_min$1.isConcurrentMode = A;
  reactIs_production_min$1.isContextConsumer = function(a) {
    return z(a) === k;
  };
  reactIs_production_min$1.isContextProvider = function(a) {
    return z(a) === h;
  };
  reactIs_production_min$1.isElement = function(a) {
    return "object" === typeof a && null !== a && a.$$typeof === c10;
  };
  reactIs_production_min$1.isForwardRef = function(a) {
    return z(a) === n;
  };
  reactIs_production_min$1.isFragment = function(a) {
    return z(a) === e4;
  };
  reactIs_production_min$1.isLazy = function(a) {
    return z(a) === t;
  };
  reactIs_production_min$1.isMemo = function(a) {
    return z(a) === r;
  };
  reactIs_production_min$1.isPortal = function(a) {
    return z(a) === d;
  };
  reactIs_production_min$1.isProfiler = function(a) {
    return z(a) === g;
  };
  reactIs_production_min$1.isStrictMode = function(a) {
    return z(a) === f;
  };
  reactIs_production_min$1.isSuspense = function(a) {
    return z(a) === p;
  };
  reactIs_production_min$1.isValidElementType = function(a) {
    return "string" === typeof a || "function" === typeof a || a === e4 || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
  };
  reactIs_production_min$1.typeOf = z;
  return reactIs_production_min$1;
}
var hasRequiredReactIs$1;
function requireReactIs$1() {
  if (hasRequiredReactIs$1) return reactIs$1.exports;
  hasRequiredReactIs$1 = 1;
  {
    reactIs$1.exports = requireReactIs_production_min$1();
  }
  return reactIs$1.exports;
}
var reactIsExports = requireReactIs$1();
const qy = /* @__PURE__ */ getDefaultExportFromCjs(reactIsExports);
var ReactReduxContext = /* @__PURE__ */ React.createContext(null);
function defaultNoopBatch(callback) {
  callback();
}
var batch = defaultNoopBatch;
var setBatch = function setBatch2(newBatch) {
  return batch = newBatch;
};
var getBatch = function getBatch2() {
  return batch;
};
function createListenerCollection() {
  var batch2 = getBatch();
  var first = null;
  var last = null;
  return {
    clear: function clear() {
      first = null;
      last = null;
    },
    notify: function notify2() {
      batch2(function() {
        var listener = first;
        while (listener) {
          listener.callback();
          listener = listener.next;
        }
      });
    },
    get: function get2() {
      var listeners = [];
      var listener = first;
      while (listener) {
        listeners.push(listener);
        listener = listener.next;
      }
      return listeners;
    },
    subscribe: function subscribe(callback) {
      var isSubscribed = true;
      var listener = last = {
        callback,
        next: null,
        prev: last
      };
      if (listener.prev) {
        listener.prev.next = listener;
      } else {
        first = listener;
      }
      return function unsubscribe() {
        if (!isSubscribed || first === null) return;
        isSubscribed = false;
        if (listener.next) {
          listener.next.prev = listener.prev;
        } else {
          last = listener.prev;
        }
        if (listener.prev) {
          listener.prev.next = listener.next;
        } else {
          first = listener.next;
        }
      };
    }
  };
}
var nullListeners = {
  notify: function notify() {
  },
  get: function get() {
    return [];
  }
};
function createSubscription(store, parentSub) {
  var unsubscribe;
  var listeners = nullListeners;
  function addNestedSub(listener) {
    trySubscribe();
    return listeners.subscribe(listener);
  }
  function notifyNestedSubs() {
    listeners.notify();
  }
  function handleChangeWrapper() {
    if (subscription.onStateChange) {
      subscription.onStateChange();
    }
  }
  function isSubscribed() {
    return Boolean(unsubscribe);
  }
  function trySubscribe() {
    if (!unsubscribe) {
      unsubscribe = parentSub ? parentSub.addNestedSub(handleChangeWrapper) : store.subscribe(handleChangeWrapper);
      listeners = createListenerCollection();
    }
  }
  function tryUnsubscribe() {
    if (unsubscribe) {
      unsubscribe();
      unsubscribe = void 0;
      listeners.clear();
      listeners = nullListeners;
    }
  }
  var subscription = {
    addNestedSub,
    notifyNestedSubs,
    handleChangeWrapper,
    isSubscribed,
    trySubscribe,
    tryUnsubscribe,
    getListeners: function getListeners() {
      return listeners;
    }
  };
  return subscription;
}
var useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined" ? reactExports.useLayoutEffect : reactExports.useEffect;
var hoistNonReactStatics_cjs;
var hasRequiredHoistNonReactStatics_cjs;
function requireHoistNonReactStatics_cjs() {
  if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
  hasRequiredHoistNonReactStatics_cjs = 1;
  var reactIs2 = requireReactIs$1();
  var REACT_STATICS = {
    childContextTypes: true,
    contextType: true,
    contextTypes: true,
    defaultProps: true,
    displayName: true,
    getDefaultProps: true,
    getDerivedStateFromError: true,
    getDerivedStateFromProps: true,
    mixins: true,
    propTypes: true,
    type: true
  };
  var KNOWN_STATICS = {
    name: true,
    length: true,
    prototype: true,
    caller: true,
    callee: true,
    arguments: true,
    arity: true
  };
  var FORWARD_REF_STATICS = {
    "$$typeof": true,
    render: true,
    defaultProps: true,
    displayName: true,
    propTypes: true
  };
  var MEMO_STATICS = {
    "$$typeof": true,
    compare: true,
    defaultProps: true,
    displayName: true,
    propTypes: true,
    type: true
  };
  var TYPE_STATICS = {};
  TYPE_STATICS[reactIs2.ForwardRef] = FORWARD_REF_STATICS;
  TYPE_STATICS[reactIs2.Memo] = MEMO_STATICS;
  function getStatics(component) {
    if (reactIs2.isMemo(component)) {
      return MEMO_STATICS;
    }
    return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS;
  }
  var defineProperty = Object.defineProperty;
  var getOwnPropertyNames = Object.getOwnPropertyNames;
  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  var getPrototypeOf2 = Object.getPrototypeOf;
  var objectPrototype = Object.prototype;
  function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
    if (typeof sourceComponent !== "string") {
      if (objectPrototype) {
        var inheritedComponent = getPrototypeOf2(sourceComponent);
        if (inheritedComponent && inheritedComponent !== objectPrototype) {
          hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
        }
      }
      var keys = getOwnPropertyNames(sourceComponent);
      if (getOwnPropertySymbols) {
        keys = keys.concat(getOwnPropertySymbols(sourceComponent));
      }
      var targetStatics = getStatics(targetComponent);
      var sourceStatics = getStatics(sourceComponent);
      for (var i = 0; i < keys.length; ++i) {
        var key2 = keys[i];
        if (!KNOWN_STATICS[key2] && !(blacklist && blacklist[key2]) && !(sourceStatics && sourceStatics[key2]) && !(targetStatics && targetStatics[key2])) {
          var descriptor = getOwnPropertyDescriptor(sourceComponent, key2);
          try {
            defineProperty(targetComponent, key2, descriptor);
          } catch (e4) {
          }
        }
      }
    }
    return targetComponent;
  }
  hoistNonReactStatics_cjs = hoistNonReactStatics;
  return hoistNonReactStatics_cjs;
}
requireHoistNonReactStatics_cjs();
var reactIs = { exports: {} };
var reactIs_production_min = {};
/** @license React v17.0.2
 * react-is.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 hasRequiredReactIs_production_min;
function requireReactIs_production_min() {
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
  hasRequiredReactIs_production_min = 1;
  var b = 60103, c10 = 60106, d = 60107, e4 = 60108, f = 60114, g = 60109, h = 60110, k = 60112, l = 60113, m = 60120, n = 60115, p = 60116, q = 60121, r = 60122, u = 60117, v = 60129, w = 60131;
  if ("function" === typeof Symbol && Symbol.for) {
    var x = Symbol.for;
    b = x("react.element");
    c10 = x("react.portal");
    d = x("react.fragment");
    e4 = x("react.strict_mode");
    f = x("react.profiler");
    g = x("react.provider");
    h = x("react.context");
    k = x("react.forward_ref");
    l = x("react.suspense");
    m = x("react.suspense_list");
    n = x("react.memo");
    p = x("react.lazy");
    q = x("react.block");
    r = x("react.server.block");
    u = x("react.fundamental");
    v = x("react.debug_trace_mode");
    w = x("react.legacy_hidden");
  }
  function y(a) {
    if ("object" === typeof a && null !== a) {
      var t = a.$$typeof;
      switch (t) {
        case b:
          switch (a = a.type, a) {
            case d:
            case f:
            case e4:
            case l:
            case m:
              return a;
            default:
              switch (a = a && a.$$typeof, a) {
                case h:
                case k:
                case p:
                case n:
                case g:
                  return a;
                default:
                  return t;
              }
          }
        case c10:
          return t;
      }
    }
  }
  var z = g, A = b, B = k, C = d, D = p, E = n, F = c10, G10 = f, H = e4, I = l;
  reactIs_production_min.ContextConsumer = h;
  reactIs_production_min.ContextProvider = z;
  reactIs_production_min.Element = A;
  reactIs_production_min.ForwardRef = B;
  reactIs_production_min.Fragment = C;
  reactIs_production_min.Lazy = D;
  reactIs_production_min.Memo = E;
  reactIs_production_min.Portal = F;
  reactIs_production_min.Profiler = G10;
  reactIs_production_min.StrictMode = H;
  reactIs_production_min.Suspense = I;
  reactIs_production_min.isAsyncMode = function() {
    return false;
  };
  reactIs_production_min.isConcurrentMode = function() {
    return false;
  };
  reactIs_production_min.isContextConsumer = function(a) {
    return y(a) === h;
  };
  reactIs_production_min.isContextProvider = function(a) {
    return y(a) === g;
  };
  reactIs_production_min.isElement = function(a) {
    return "object" === typeof a && null !== a && a.$$typeof === b;
  };
  reactIs_production_min.isForwardRef = function(a) {
    return y(a) === k;
  };
  reactIs_production_min.isFragment = function(a) {
    return y(a) === d;
  };
  reactIs_production_min.isLazy = function(a) {
    return y(a) === p;
  };
  reactIs_production_min.isMemo = function(a) {
    return y(a) === n;
  };
  reactIs_production_min.isPortal = function(a) {
    return y(a) === c10;
  };
  reactIs_production_min.isProfiler = function(a) {
    return y(a) === f;
  };
  reactIs_production_min.isStrictMode = function(a) {
    return y(a) === e4;
  };
  reactIs_production_min.isSuspense = function(a) {
    return y(a) === l;
  };
  reactIs_production_min.isValidElementType = function(a) {
    return "string" === typeof a || "function" === typeof a || a === d || a === f || a === v || a === e4 || a === l || a === m || a === w || "object" === typeof a && null !== a && (a.$$typeof === p || a.$$typeof === n || a.$$typeof === g || a.$$typeof === h || a.$$typeof === k || a.$$typeof === u || a.$$typeof === q || a[0] === r) ? true : false;
  };
  reactIs_production_min.typeOf = y;
  return reactIs_production_min;
}
var hasRequiredReactIs;
function requireReactIs() {
  if (hasRequiredReactIs) return reactIs.exports;
  hasRequiredReactIs = 1;
  {
    reactIs.exports = requireReactIs_production_min();
  }
  return reactIs.exports;
}
requireReactIs();
function useReduxContext() {
  var contextValue = reactExports.useContext(ReactReduxContext);
  return contextValue;
}
function createStoreHook(context) {
  if (context === void 0) {
    context = ReactReduxContext;
  }
  var useReduxContext$1 = context === ReactReduxContext ? useReduxContext : function() {
    return reactExports.useContext(context);
  };
  return function useStore2() {
    var _useReduxContext = useReduxContext$1(), store = _useReduxContext.store;
    return store;
  };
}
var useStore = /* @__PURE__ */ createStoreHook();
function createDispatchHook(context) {
  if (context === void 0) {
    context = ReactReduxContext;
  }
  var useStore$1 = context === ReactReduxContext ? useStore : createStoreHook(context);
  return function useDispatch2() {
    var store = useStore$1();
    return store.dispatch;
  };
}
var useDispatch = /* @__PURE__ */ createDispatchHook();
var refEquality = function refEquality2(a, b) {
  return a === b;
};
function useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub) {
  var _useReducer = reactExports.useReducer(function(s) {
    return s + 1;
  }, 0), forceRender = _useReducer[1];
  var subscription = reactExports.useMemo(function() {
    return createSubscription(store, contextSub);
  }, [store, contextSub]);
  var latestSubscriptionCallbackError = reactExports.useRef();
  var latestSelector = reactExports.useRef();
  var latestStoreState = reactExports.useRef();
  var latestSelectedState = reactExports.useRef();
  var storeState = store.getState();
  var selectedState;
  try {
    if (selector !== latestSelector.current || storeState !== latestStoreState.current || latestSubscriptionCallbackError.current) {
      var newSelectedState = selector(storeState);
      if (latestSelectedState.current === void 0 || !equalityFn(newSelectedState, latestSelectedState.current)) {
        selectedState = newSelectedState;
      } else {
        selectedState = latestSelectedState.current;
      }
    } else {
      selectedState = latestSelectedState.current;
    }
  } catch (err) {
    if (latestSubscriptionCallbackError.current) {
      err.message += "\nThe error may be correlated with this previous error:\n" + latestSubscriptionCallbackError.current.stack + "\n\n";
    }
    throw err;
  }
  useIsomorphicLayoutEffect(function() {
    latestSelector.current = selector;
    latestStoreState.current = storeState;
    latestSelectedState.current = selectedState;
    latestSubscriptionCallbackError.current = void 0;
  });
  useIsomorphicLayoutEffect(function() {
    function checkForUpdates() {
      try {
        var newStoreState = store.getState();
        if (newStoreState === latestStoreState.current) {
          return;
        }
        var _newSelectedState = latestSelector.current(newStoreState);
        if (equalityFn(_newSelectedState, latestSelectedState.current)) {
          return;
        }
        latestSelectedState.current = _newSelectedState;
        latestStoreState.current = newStoreState;
      } catch (err) {
        latestSubscriptionCallbackError.current = err;
      }
      forceRender();
    }
    subscription.onStateChange = checkForUpdates;
    subscription.trySubscribe();
    checkForUpdates();
    return function() {
      return subscription.tryUnsubscribe();
    };
  }, [store, subscription]);
  return selectedState;
}
function createSelectorHook(context) {
  if (context === void 0) {
    context = ReactReduxContext;
  }
  var useReduxContext$1 = context === ReactReduxContext ? useReduxContext : function() {
    return reactExports.useContext(context);
  };
  return function useSelector2(selector, equalityFn) {
    if (equalityFn === void 0) {
      equalityFn = refEquality;
    }
    var _useReduxContext = useReduxContext$1(), store = _useReduxContext.store, contextSub = _useReduxContext.subscription;
    var selectedState = useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub);
    reactExports.useDebugValue(selectedState);
    return selectedState;
  };
}
var useSelector = /* @__PURE__ */ createSelectorHook();
setBatch(reactDomExports.unstable_batchedUpdates);
function formatProdErrorMessage$1(code) {
  return `Minified Redux error #${code}; visit https://redux.js.org/Errors?code=${code} for the full message or use the non-minified dev environment for full errors. `;
}
var $$observable = /* @__PURE__ */ (() => typeof Symbol === "function" && Symbol.observable || "@@observable")();
var symbol_observable_default = $$observable;
var randomString = () => Math.random().toString(36).substring(7).split("").join(".");
var ActionTypes = {
  INIT: `@@redux/INIT${/* @__PURE__ */ randomString()}`,
  REPLACE: `@@redux/REPLACE${/* @__PURE__ */ randomString()}`,
  PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${randomString()}`
};
var actionTypes_default = ActionTypes;
function isPlainObject$2(obj) {
  if (typeof obj !== "object" || obj === null)
    return false;
  let proto = obj;
  while (Object.getPrototypeOf(proto) !== null) {
    proto = Object.getPrototypeOf(proto);
  }
  return Object.getPrototypeOf(obj) === proto || Object.getPrototypeOf(obj) === null;
}
function createStore(reducer, preloadedState, enhancer) {
  if (typeof reducer !== "function") {
    throw new Error(formatProdErrorMessage$1(2));
  }
  if (typeof preloadedState === "function" && typeof enhancer === "function" || typeof enhancer === "function" && typeof arguments[3] === "function") {
    throw new Error(formatProdErrorMessage$1(0));
  }
  if (typeof preloadedState === "function" && typeof enhancer === "undefined") {
    enhancer = preloadedState;
    preloadedState = void 0;
  }
  if (typeof enhancer !== "undefined") {
    if (typeof enhancer !== "function") {
      throw new Error(formatProdErrorMessage$1(1));
    }
    return enhancer(createStore)(reducer, preloadedState);
  }
  let currentReducer = reducer;
  let currentState = preloadedState;
  let currentListeners = /* @__PURE__ */ new Map();
  let nextListeners = currentListeners;
  let listenerIdCounter = 0;
  let isDispatching = false;
  function ensureCanMutateNextListeners() {
    if (nextListeners === currentListeners) {
      nextListeners = /* @__PURE__ */ new Map();
      currentListeners.forEach((listener, key2) => {
        nextListeners.set(key2, listener);
      });
    }
  }
  function getState() {
    if (isDispatching) {
      throw new Error(formatProdErrorMessage$1(3));
    }
    return currentState;
  }
  function subscribe(listener) {
    if (typeof listener !== "function") {
      throw new Error(formatProdErrorMessage$1(4));
    }
    if (isDispatching) {
      throw new Error(formatProdErrorMessage$1(5));
    }
    let isSubscribed = true;
    ensureCanMutateNextListeners();
    const listenerId = listenerIdCounter++;
    nextListeners.set(listenerId, listener);
    return function unsubscribe() {
      if (!isSubscribed) {
        return;
      }
      if (isDispatching) {
        throw new Error(formatProdErrorMessage$1(6));
      }
      isSubscribed = false;
      ensureCanMutateNextListeners();
      nextListeners.delete(listenerId);
      currentListeners = null;
    };
  }
  function dispatch(action) {
    if (!isPlainObject$2(action)) {
      throw new Error(formatProdErrorMessage$1(7));
    }
    if (typeof action.type === "undefined") {
      throw new Error(formatProdErrorMessage$1(8));
    }
    if (typeof action.type !== "string") {
      throw new Error(formatProdErrorMessage$1(17));
    }
    if (isDispatching) {
      throw new Error(formatProdErrorMessage$1(9));
    }
    try {
      isDispatching = true;
      currentState = currentReducer(currentState, action);
    } finally {
      isDispatching = false;
    }
    const listeners = currentListeners = nextListeners;
    listeners.forEach((listener) => {
      listener();
    });
    return action;
  }
  function replaceReducer(nextReducer) {
    if (typeof nextReducer !== "function") {
      throw new Error(formatProdErrorMessage$1(10));
    }
    currentReducer = nextReducer;
    dispatch({
      type: actionTypes_default.REPLACE
    });
  }
  function observable2() {
    const outerSubscribe = subscribe;
    return {
      /**
       * The minimal observable subscription method.
       * @param observer Any object that can be used as an observer.
       * The observer object should have a `next` method.
       * @returns An object with an `unsubscribe` method that can
       * be used to unsubscribe the observable from the store, and prevent further
       * emission of values from the observable.
       */
      subscribe(observer) {
        if (typeof observer !== "object" || observer === null) {
          throw new Error(formatProdErrorMessage$1(11));
        }
        function observeState() {
          const observerAsObserver = observer;
          if (observerAsObserver.next) {
            observerAsObserver.next(getState());
          }
        }
        observeState();
        const unsubscribe = outerSubscribe(observeState);
        return {
          unsubscribe
        };
      },
      [symbol_observable_default]() {
        return this;
      }
    };
  }
  dispatch({
    type: actionTypes_default.INIT
  });
  const store = {
    dispatch,
    subscribe,
    getState,
    replaceReducer,
    [symbol_observable_default]: observable2
  };
  return store;
}
function assertReducerShape(reducers) {
  Object.keys(reducers).forEach((key2) => {
    const reducer = reducers[key2];
    const initialState2 = reducer(void 0, {
      type: actionTypes_default.INIT
    });
    if (typeof initialState2 === "undefined") {
      throw new Error(formatProdErrorMessage$1(12));
    }
    if (typeof reducer(void 0, {
      type: actionTypes_default.PROBE_UNKNOWN_ACTION()
    }) === "undefined") {
      throw new Error(formatProdErrorMessage$1(13));
    }
  });
}
function combineReducers(reducers) {
  const reducerKeys = Object.keys(reducers);
  const finalReducers = {};
  for (let i = 0; i < reducerKeys.length; i++) {
    const key2 = reducerKeys[i];
    if (typeof reducers[key2] === "function") {
      finalReducers[key2] = reducers[key2];
    }
  }
  const finalReducerKeys = Object.keys(finalReducers);
  let shapeAssertionError;
  try {
    assertReducerShape(finalReducers);
  } catch (e4) {
    shapeAssertionError = e4;
  }
  return function combination(state = {}, action) {
    if (shapeAssertionError) {
      throw shapeAssertionError;
    }
    let hasChanged = false;
    const nextState = {};
    for (let i = 0; i < finalReducerKeys.length; i++) {
      const key2 = finalReducerKeys[i];
      const reducer = finalReducers[key2];
      const previousStateForKey = state[key2];
      const nextStateForKey = reducer(previousStateForKey, action);
      if (typeof nextStateForKey === "undefined") {
        action && action.type;
        throw new Error(formatProdErrorMessage$1(14));
      }
      nextState[key2] = nextStateForKey;
      hasChanged = hasChanged || nextStateForKey !== previousStateForKey;
    }
    hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;
    return hasChanged ? nextState : state;
  };
}
function compose(...funcs) {
  if (funcs.length === 0) {
    return (arg) => arg;
  }
  if (funcs.length === 1) {
    return funcs[0];
  }
  return funcs.reduce((a, b) => (...args) => a(b(...args)));
}
function applyMiddleware(...middlewares) {
  return (createStore2) => (reducer, preloadedState) => {
    const store = createStore2(reducer, preloadedState);
    let dispatch = () => {
      throw new Error(formatProdErrorMessage$1(15));
    };
    const middlewareAPI = {
      getState: store.getState,
      dispatch: (action, ...args) => dispatch(action, ...args)
    };
    const chain = middlewares.map((middleware) => middleware(middlewareAPI));
    dispatch = compose(...chain)(store.dispatch);
    return {
      ...store,
      dispatch
    };
  };
}
function isAction(action) {
  return isPlainObject$2(action) && "type" in action && typeof action.type === "string";
}
var NOTHING = Symbol.for("immer-nothing");
var DRAFTABLE = Symbol.for("immer-draftable");
var DRAFT_STATE = Symbol.for("immer-state");
function die$1(error, ...args) {
  throw new Error(
    `[Immer] minified error nr: ${error}. Full error at: https://bit.ly/3cXEKWf`
  );
}
var getPrototypeOf$1 = Object.getPrototypeOf;
function isDraft(value) {
  return !!value && !!value[DRAFT_STATE];
}
function isDraftable(value) {
  var _a2;
  if (!value)
    return false;
  return isPlainObject$1(value) || Array.isArray(value) || !!value[DRAFTABLE] || !!((_a2 = value.constructor) == null ? void 0 : _a2[DRAFTABLE]) || isMap(value) || isSet(value);
}
var objectCtorString = Object.prototype.constructor.toString();
var cachedCtorStrings = /* @__PURE__ */ new WeakMap();
function isPlainObject$1(value) {
  if (!value || typeof value !== "object")
    return false;
  const proto = Object.getPrototypeOf(value);
  if (proto === null || proto === Object.prototype)
    return true;
  const Ctor = Object.hasOwnProperty.call(proto, "constructor") && proto.constructor;
  if (Ctor === Object)
    return true;
  if (typeof Ctor !== "function")
    return false;
  let ctorString = cachedCtorStrings.get(Ctor);
  if (ctorString === void 0) {
    ctorString = Function.toString.call(Ctor);
    cachedCtorStrings.set(Ctor, ctorString);
  }
  return ctorString === objectCtorString;
}
function each(obj, iter, strict = true) {
  if (getArchtype(obj) === 0) {
    const keys = strict ? Reflect.ownKeys(obj) : Object.keys(obj);
    keys.forEach((key2) => {
      iter(key2, obj[key2], obj);
    });
  } else {
    obj.forEach((entry, index) => iter(index, entry, obj));
  }
}
function getArchtype(thing) {
  const state = thing[DRAFT_STATE];
  return state ? state.type_ : Array.isArray(thing) ? 1 : isMap(thing) ? 2 : isSet(thing) ? 3 : 0;
}
function has(thing, prop) {
  return getArchtype(thing) === 2 ? thing.has(prop) : Object.prototype.hasOwnProperty.call(thing, prop);
}
function set(thing, propOrOldValue, value) {
  const t = getArchtype(thing);
  if (t === 2)
    thing.set(propOrOldValue, value);
  else if (t === 3) {
    thing.add(value);
  } else
    thing[propOrOldValue] = value;
}
function is(x, y) {
  if (x === y) {
    return x !== 0 || 1 / x === 1 / y;
  } else {
    return x !== x && y !== y;
  }
}
function isMap(target) {
  return target instanceof Map;
}
function isSet(target) {
  return target instanceof Set;
}
function latest(state) {
  return state.copy_ || state.base_;
}
function shallowCopy(base, strict) {
  if (isMap(base)) {
    return new Map(base);
  }
  if (isSet(base)) {
    return new Set(base);
  }
  if (Array.isArray(base))
    return Array.prototype.slice.call(base);
  const isPlain = isPlainObject$1(base);
  if (strict === true || strict === "class_only" && !isPlain) {
    const descriptors = Object.getOwnPropertyDescriptors(base);
    delete descriptors[DRAFT_STATE];
    let keys = Reflect.ownKeys(descriptors);
    for (let i = 0; i < keys.length; i++) {
      const key2 = keys[i];
      const desc = descriptors[key2];
      if (desc.writable === false) {
        desc.writable = true;
        desc.configurable = true;
      }
      if (desc.get || desc.set)
        descriptors[key2] = {
          configurable: true,
          writable: true,
          // could live with !!desc.set as well here...
          enumerable: desc.enumerable,
          value: base[key2]
        };
    }
    return Object.create(getPrototypeOf$1(base), descriptors);
  } else {
    const proto = getPrototypeOf$1(base);
    if (proto !== null && isPlain) {
      return { ...base };
    }
    const obj = Object.create(proto);
    return Object.assign(obj, base);
  }
}
function freeze(obj, deep = false) {
  if (isFrozen(obj) || isDraft(obj) || !isDraftable(obj))
    return obj;
  if (getArchtype(obj) > 1) {
    Object.defineProperties(obj, {
      set: dontMutateMethodOverride,
      add: dontMutateMethodOverride,
      clear: dontMutateMethodOverride,
      delete: dontMutateMethodOverride
    });
  }
  Object.freeze(obj);
  if (deep)
    Object.values(obj).forEach((value) => freeze(value, true));
  return obj;
}
function dontMutateFrozenCollections() {
  die$1(2);
}
var dontMutateMethodOverride = {
  value: dontMutateFrozenCollections
};
function isFrozen(obj) {
  if (obj === null || typeof obj !== "object")
    return true;
  return Object.isFrozen(obj);
}
var plugins = {};
function getPlugin(pluginKey) {
  const plugin = plugins[pluginKey];
  if (!plugin) {
    die$1(0, pluginKey);
  }
  return plugin;
}
var currentScope;
function getCurrentScope() {
  return currentScope;
}
function createScope(parent_, immer_) {
  return {
    drafts_: [],
    parent_,
    immer_,
    // Whenever the modified draft contains a draft from another scope, we
    // need to prevent auto-freezing so the unowned draft can be finalized.
    canAutoFreeze_: true,
    unfinalizedDrafts_: 0
  };
}
function usePatchesInScope(scope, patchListener) {
  if (patchListener) {
    getPlugin("Patches");
    scope.patches_ = [];
    scope.inversePatches_ = [];
    scope.patchListener_ = patchListener;
  }
}
function revokeScope(scope) {
  leaveScope(scope);
  scope.drafts_.forEach(revokeDraft);
  scope.drafts_ = null;
}
function leaveScope(scope) {
  if (scope === currentScope) {
    currentScope = scope.parent_;
  }
}
function enterScope(immer2) {
  return currentScope = createScope(currentScope, immer2);
}
function revokeDraft(draft) {
  const state = draft[DRAFT_STATE];
  if (state.type_ === 0 || state.type_ === 1)
    state.revoke_();
  else
    state.revoked_ = true;
}
function processResult(result, scope) {
  scope.unfinalizedDrafts_ = scope.drafts_.length;
  const baseDraft = scope.drafts_[0];
  const isReplaced = result !== void 0 && result !== baseDraft;
  if (isReplaced) {
    if (baseDraft[DRAFT_STATE].modified_) {
      revokeScope(scope);
      die$1(4);
    }
    if (isDraftable(result)) {
      result = finalize(scope, result);
      if (!scope.parent_)
        maybeFreeze(scope, result);
    }
    if (scope.patches_) {
      getPlugin("Patches").generateReplacementPatches_(
        baseDraft[DRAFT_STATE].base_,
        result,
        scope.patches_,
        scope.inversePatches_
      );
    }
  } else {
    result = finalize(scope, baseDraft, []);
  }
  revokeScope(scope);
  if (scope.patches_) {
    scope.patchListener_(scope.patches_, scope.inversePatches_);
  }
  return result !== NOTHING ? result : void 0;
}
function finalize(rootScope, value, path) {
  if (isFrozen(value))
    return value;
  const useStrictIteration = rootScope.immer_.shouldUseStrictIteration();
  const state = value[DRAFT_STATE];
  if (!state) {
    each(
      value,
      (key2, childValue) => finalizeProperty(rootScope, state, value, key2, childValue, path),
      useStrictIteration
    );
    return value;
  }
  if (state.scope_ !== rootScope)
    return value;
  if (!state.modified_) {
    maybeFreeze(rootScope, state.base_, true);
    return state.base_;
  }
  if (!state.finalized_) {
    state.finalized_ = true;
    state.scope_.unfinalizedDrafts_--;
    const result = state.copy_;
    let resultEach = result;
    let isSet2 = false;
    if (state.type_ === 3) {
      resultEach = new Set(result);
      result.clear();
      isSet2 = true;
    }
    each(
      resultEach,
      (key2, childValue) => finalizeProperty(
        rootScope,
        state,
        result,
        key2,
        childValue,
        path,
        isSet2
      ),
      useStrictIteration
    );
    maybeFreeze(rootScope, result, false);
    if (path && rootScope.patches_) {
      getPlugin("Patches").generatePatches_(
        state,
        path,
        rootScope.patches_,
        rootScope.inversePatches_
      );
    }
  }
  return state.copy_;
}
function finalizeProperty(rootScope, parentState, targetObject, prop, childValue, rootPath, targetIsSet) {
  if (childValue == null) {
    return;
  }
  if (typeof childValue !== "object" && !targetIsSet) {
    return;
  }
  const childIsFrozen = isFrozen(childValue);
  if (childIsFrozen && !targetIsSet) {
    return;
  }
  if (isDraft(childValue)) {
    const path = rootPath && parentState && parentState.type_ !== 3 && // Set objects are atomic since they have no keys.
    !has(parentState.assigned_, prop) ? rootPath.concat(prop) : void 0;
    const res = finalize(rootScope, childValue, path);
    set(targetObject, prop, res);
    if (isDraft(res)) {
      rootScope.canAutoFreeze_ = false;
    } else
      return;
  } else if (targetIsSet) {
    targetObject.add(childValue);
  }
  if (isDraftable(childValue) && !childIsFrozen) {
    if (!rootScope.immer_.autoFreeze_ && rootScope.unfinalizedDrafts_ < 1) {
      return;
    }
    if (parentState && parentState.base_ && parentState.base_[prop] === childValue && childIsFrozen) {
      return;
    }
    finalize(rootScope, childValue);
    if ((!parentState || !parentState.scope_.parent_) && typeof prop !== "symbol" && (isMap(targetObject) ? targetObject.has(prop) : Object.prototype.propertyIsEnumerable.call(targetObject, prop)))
      maybeFreeze(rootScope, childValue);
  }
}
function maybeFreeze(scope, value, deep = false) {
  if (!scope.parent_ && scope.immer_.autoFreeze_ && scope.canAutoFreeze_) {
    freeze(value, deep);
  }
}
function createProxyProxy(base, parent) {
  const isArray2 = Array.isArray(base);
  const state = {
    type_: isArray2 ? 1 : 0,
    // Track which produce call this is associated with.
    scope_: parent ? parent.scope_ : getCurrentScope(),
    // True for both shallow and deep changes.
    modified_: false,
    // Used during finalization.
    finalized_: false,
    // Track which properties have been assigned (true) or deleted (false).
    assigned_: {},
    // The parent draft state.
    parent_: parent,
    // The base state.
    base_: base,
    // The base proxy.
    draft_: null,
    // set below
    // The base copy with any updated values.
    copy_: null,
    // Called by the `produce` function.
    revoke_: null,
    isManual_: false
  };
  let target = state;
  let traps = objectTraps;
  if (isArray2) {
    target = [state];
    traps = arrayTraps;
  }
  const { revoke, proxy } = Proxy.revocable(target, traps);
  state.draft_ = proxy;
  state.revoke_ = revoke;
  return proxy;
}
var objectTraps = {
  get(state, prop) {
    if (prop === DRAFT_STATE)
      return state;
    const source = latest(state);
    if (!has(source, prop)) {
      return readPropFromProto(state, source, prop);
    }
    const value = source[prop];
    if (state.finalized_ || !isDraftable(value)) {
      return value;
    }
    if (value === peek(state.base_, prop)) {
      prepareCopy(state);
      return state.copy_[prop] = createProxy(value, state);
    }
    return value;
  },
  has(state, prop) {
    return prop in latest(state);
  },
  ownKeys(state) {
    return Reflect.ownKeys(latest(state));
  },
  set(state, prop, value) {
    const desc = getDescriptorFromProto(latest(state), prop);
    if (desc == null ? void 0 : desc.set) {
      desc.set.call(state.draft_, value);
      return true;
    }
    if (!state.modified_) {
      const current2 = peek(latest(state), prop);
      const currentState = current2 == null ? void 0 : current2[DRAFT_STATE];
      if (currentState && currentState.base_ === value) {
        state.copy_[prop] = value;
        state.assigned_[prop] = false;
        return true;
      }
      if (is(value, current2) && (value !== void 0 || has(state.base_, prop)))
        return true;
      prepareCopy(state);
      markChanged(state);
    }
    if (state.copy_[prop] === value && // special case: handle new props with value 'undefined'
    (value !== void 0 || prop in state.copy_) || // special case: NaN
    Number.isNaN(value) && Number.isNaN(state.copy_[prop]))
      return true;
    state.copy_[prop] = value;
    state.assigned_[prop] = true;
    return true;
  },
  deleteProperty(state, prop) {
    if (peek(state.base_, prop) !== void 0 || prop in state.base_) {
      state.assigned_[prop] = false;
      prepareCopy(state);
      markChanged(state);
    } else {
      delete state.assigned_[prop];
    }
    if (state.copy_) {
      delete state.copy_[prop];
    }
    return true;
  },
  // Note: We never coerce `desc.value` into an Immer draft, because we can't make
  // the same guarantee in ES5 mode.
  getOwnPropertyDescriptor(state, prop) {
    const owner = latest(state);
    const desc = Reflect.getOwnPropertyDescriptor(owner, prop);
    if (!desc)
      return desc;
    return {
      writable: true,
      configurable: state.type_ !== 1 || prop !== "length",
      enumerable: desc.enumerable,
      value: owner[prop]
    };
  },
  defineProperty() {
    die$1(11);
  },
  getPrototypeOf(state) {
    return getPrototypeOf$1(state.base_);
  },
  setPrototypeOf() {
    die$1(12);
  }
};
var arrayTraps = {};
each(objectTraps, (key2, fn) => {
  arrayTraps[key2] = function() {
    arguments[0] = arguments[0][0];
    return fn.apply(this, arguments);
  };
});
arrayTraps.deleteProperty = function(state, prop) {
  return arrayTraps.set.call(this, state, prop, void 0);
};
arrayTraps.set = function(state, prop, value) {
  return objectTraps.set.call(this, state[0], prop, value, state[0]);
};
function peek(draft, prop) {
  const state = draft[DRAFT_STATE];
  const source = state ? latest(state) : draft;
  return source[prop];
}
function readPropFromProto(state, source, prop) {
  var _a2;
  const desc = getDescriptorFromProto(source, prop);
  return desc ? `value` in desc ? desc.value : (
    // This is a very special case, if the prop is a getter defined by the
    // prototype, we should invoke it with the draft as context!
    (_a2 = desc.get) == null ? void 0 : _a2.call(state.draft_)
  ) : void 0;
}
function getDescriptorFromProto(source, prop) {
  if (!(prop in source))
    return void 0;
  let proto = getPrototypeOf$1(source);
  while (proto) {
    const desc = Object.getOwnPropertyDescriptor(proto, prop);
    if (desc)
      return desc;
    proto = getPrototypeOf$1(proto);
  }
  return void 0;
}
function markChanged(state) {
  if (!state.modified_) {
    state.modified_ = true;
    if (state.parent_) {
      markChanged(state.parent_);
    }
  }
}
function prepareCopy(state) {
  if (!state.copy_) {
    state.copy_ = shallowCopy(
      state.base_,
      state.scope_.immer_.useStrictShallowCopy_
    );
  }
}
var Immer2 = class {
  constructor(config2) {
    this.autoFreeze_ = true;
    this.useStrictShallowCopy_ = false;
    this.useStrictIteration_ = true;
    this.produce = (base, recipe, patchListener) => {
      if (typeof base === "function" && typeof recipe !== "function") {
        const defaultBase = recipe;
        recipe = base;
        const self2 = this;
        return function curriedProduce(base2 = defaultBase, ...args) {
          return self2.produce(base2, (draft) => recipe.call(this, draft, ...args));
        };
      }
      if (typeof recipe !== "function")
        die$1(6);
      if (patchListener !== void 0 && typeof patchListener !== "function")
        die$1(7);
      let result;
      if (isDraftable(base)) {
        const scope = enterScope(this);
        const proxy = createProxy(base, void 0);
        let hasError = true;
        try {
          result = recipe(proxy);
          hasError = false;
        } finally {
          if (hasError)
            revokeScope(scope);
          else
            leaveScope(scope);
        }
        usePatchesInScope(scope, patchListener);
        return processResult(result, scope);
      } else if (!base || typeof base !== "object") {
        result = recipe(base);
        if (result === void 0)
          result = base;
        if (result === NOTHING)
          result = void 0;
        if (this.autoFreeze_)
          freeze(result, true);
        if (patchListener) {
          const p = [];
          const ip2 = [];
          getPlugin("Patches").generateReplacementPatches_(base, result, p, ip2);
          patchListener(p, ip2);
        }
        return result;
      } else
        die$1(1, base);
    };
    this.produceWithPatches = (base, recipe) => {
      if (typeof base === "function") {
        return (state, ...args) => this.produceWithPatches(state, (draft) => base(draft, ...args));
      }
      let patches, inversePatches;
      const result = this.produce(base, recipe, (p, ip2) => {
        patches = p;
        inversePatches = ip2;
      });
      return [result, patches, inversePatches];
    };
    if (typeof (config2 == null ? void 0 : config2.autoFreeze) === "boolean")
      this.setAutoFreeze(config2.autoFreeze);
    if (typeof (config2 == null ? void 0 : config2.useStrictShallowCopy) === "boolean")
      this.setUseStrictShallowCopy(config2.useStrictShallowCopy);
    if (typeof (config2 == null ? void 0 : config2.useStrictIteration) === "boolean")
      this.setUseStrictIteration(config2.useStrictIteration);
  }
  createDraft(base) {
    if (!isDraftable(base))
      die$1(8);
    if (isDraft(base))
      base = current(base);
    const scope = enterScope(this);
    const proxy = createProxy(base, void 0);
    proxy[DRAFT_STATE].isManual_ = true;
    leaveScope(scope);
    return proxy;
  }
  finishDraft(draft, patchListener) {
    const state = draft && draft[DRAFT_STATE];
    if (!state || !state.isManual_)
      die$1(9);
    const { scope_: scope } = state;
    usePatchesInScope(scope, patchListener);
    return processResult(void 0, scope);
  }
  /**
   * Pass true to automatically freeze all copies created by Immer.
   *
   * By default, auto-freezing is enabled.
   */
  setAutoFreeze(value) {
    this.autoFreeze_ = value;
  }
  /**
   * Pass true to enable strict shallow copy.
   *
   * By default, immer does not copy the object descriptors such as getter, setter and non-enumrable properties.
   */
  setUseStrictShallowCopy(value) {
    this.useStrictShallowCopy_ = value;
  }
  /**
   * Pass false to use faster iteration that skips non-enumerable properties
   * but still handles symbols for compatibility.
   *
   * By default, strict iteration is enabled (includes all own properties).
   */
  setUseStrictIteration(value) {
    this.useStrictIteration_ = value;
  }
  shouldUseStrictIteration() {
    return this.useStrictIteration_;
  }
  applyPatches(base, patches) {
    let i;
    for (i = patches.length - 1; i >= 0; i--) {
      const patch = patches[i];
      if (patch.path.length === 0 && patch.op === "replace") {
        base = patch.value;
        break;
      }
    }
    if (i > -1) {
      patches = patches.slice(i + 1);
    }
    const applyPatchesImpl = getPlugin("Patches").applyPatches_;
    if (isDraft(base)) {
      return applyPatchesImpl(base, patches);
    }
    return this.produce(
      base,
      (draft) => applyPatchesImpl(draft, patches)
    );
  }
};
function createProxy(value, parent) {
  const draft = isMap(value) ? getPlugin("MapSet").proxyMap_(value, parent) : isSet(value) ? getPlugin("MapSet").proxySet_(value, parent) : createProxyProxy(value, parent);
  const scope = parent ? parent.scope_ : getCurrentScope();
  scope.drafts_.push(draft);
  return draft;
}
function current(value) {
  if (!isDraft(value))
    die$1(10, value);
  return currentImpl(value);
}
function currentImpl(value) {
  if (!isDraftable(value) || isFrozen(value))
    return value;
  const state = value[DRAFT_STATE];
  let copy;
  let strict = true;
  if (state) {
    if (!state.modified_)
      return state.base_;
    state.finalized_ = true;
    copy = shallowCopy(value, state.scope_.immer_.useStrictShallowCopy_);
    strict = state.scope_.immer_.shouldUseStrictIteration();
  } else {
    copy = shallowCopy(value, true);
  }
  each(
    copy,
    (key2, childValue) => {
      set(copy, key2, currentImpl(childValue));
    },
    strict
  );
  if (state) {
    state.finalized_ = false;
  }
  return copy;
}
var immer = new Immer2();
var produce = immer.produce;
function createThunkMiddleware(extraArgument) {
  const middleware = ({ dispatch, getState }) => (next) => (action) => {
    if (typeof action === "function") {
      return action(dispatch, getState, extraArgument);
    }
    return next(action);
  };
  return middleware;
}
var thunk = createThunkMiddleware();
var withExtraArgument = createThunkMiddleware;
var composeWithDevTools = typeof window !== "undefined" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
  if (arguments.length === 0) return void 0;
  if (typeof arguments[0] === "object") return compose;
  return compose.apply(null, arguments);
};
var hasMatchFunction = (v) => {
  return v && typeof v.match === "function";
};
function createAction(type, prepareAction) {
  function actionCreator(...args) {
    if (prepareAction) {
      let prepared = prepareAction(...args);
      if (!prepared) {
        throw new Error(formatProdErrorMessage(0));
      }
      return {
        type,
        payload: prepared.payload,
        ..."meta" in prepared && {
          meta: prepared.meta
        },
        ..."error" in prepared && {
          error: prepared.error
        }
      };
    }
    return {
      type,
      payload: args[0]
    };
  }
  actionCreator.toString = () => `${type}`;
  actionCreator.type = type;
  actionCreator.match = (action) => isAction(action) && action.type === type;
  return actionCreator;
}
var Tuple = class _Tuple extends Array {
  constructor(...items) {
    super(...items);
    Object.setPrototypeOf(this, _Tuple.prototype);
  }
  static get [Symbol.species]() {
    return _Tuple;
  }
  concat(...arr) {
    return super.concat.apply(this, arr);
  }
  prepend(...arr) {
    if (arr.length === 1 && Array.isArray(arr[0])) {
      return new _Tuple(...arr[0].concat(this));
    }
    return new _Tuple(...arr.concat(this));
  }
};
function freezeDraftable(val) {
  return isDraftable(val) ? produce(val, () => {
  }) : val;
}
function getOrInsertComputed(map2, key2, compute) {
  if (map2.has(key2)) return map2.get(key2);
  return map2.set(key2, compute(key2)).get(key2);
}
function isBoolean$1(x) {
  return typeof x === "boolean";
}
var buildGetDefaultMiddleware = () => function getDefaultMiddleware(options) {
  const {
    thunk: thunk$1 = true,
    immutableCheck = true,
    serializableCheck = true,
    actionCreatorCheck = true
  } = options ?? {};
  let middlewareArray = new Tuple();
  if (thunk$1) {
    if (isBoolean$1(thunk$1)) {
      middlewareArray.push(thunk);
    } else {
      middlewareArray.push(withExtraArgument(thunk$1.extraArgument));
    }
  }
  return middlewareArray;
};
var SHOULD_AUTOBATCH = "RTK_autoBatch";
var createQueueWithTimer = (timeout) => {
  return (notify2) => {
    setTimeout(notify2, timeout);
  };
};
var autoBatchEnhancer = (options = {
  type: "raf"
}) => (next) => (...args) => {
  const store = next(...args);
  let notifying = true;
  let shouldNotifyAtEndOfTick = false;
  let notificationQueued = false;
  const listeners = /* @__PURE__ */ new Set();
  const queueCallback = options.type === "tick" ? queueMicrotask : options.type === "raf" ? (
    // requestAnimationFrame won't exist in SSR environments. Fall back to a vague approximation just to keep from erroring.
    typeof window !== "undefined" && window.requestAnimationFrame ? window.requestAnimationFrame : createQueueWithTimer(10)
  ) : options.type === "callback" ? options.queueNotification : createQueueWithTimer(options.timeout);
  const notifyListeners = () => {
    notificationQueued = false;
    if (shouldNotifyAtEndOfTick) {
      shouldNotifyAtEndOfTick = false;
      listeners.forEach((l) => l());
    }
  };
  return Object.assign({}, store, {
    // Override the base `store.subscribe` method to keep original listeners
    // from running if we're delaying notifications
    subscribe(listener2) {
      const wrappedListener = () => notifying && listener2();
      const unsubscribe = store.subscribe(wrappedListener);
      listeners.add(listener2);
      return () => {
        unsubscribe();
        listeners.delete(listener2);
      };
    },
    // Override the base `store.dispatch` method so that we can check actions
    // for the `shouldAutoBatch` flag and determine if batching is active
    dispatch(action) {
      var _a2;
      try {
        notifying = !((_a2 = action == null ? void 0 : action.meta) == null ? void 0 : _a2[SHOULD_AUTOBATCH]);
        shouldNotifyAtEndOfTick = !notifying;
        if (shouldNotifyAtEndOfTick) {
          if (!notificationQueued) {
            notificationQueued = true;
            queueCallback(notifyListeners);
          }
        }
        return store.dispatch(action);
      } finally {
        notifying = true;
      }
    }
  });
};
var buildGetDefaultEnhancers = (middlewareEnhancer) => function getDefaultEnhancers(options) {
  const {
    autoBatch = true
  } = options ?? {};
  let enhancerArray = new Tuple(middlewareEnhancer);
  if (autoBatch) {
    enhancerArray.push(autoBatchEnhancer(typeof autoBatch === "object" ? autoBatch : void 0));
  }
  return enhancerArray;
};
function configureStore(options) {
  const getDefaultMiddleware = buildGetDefaultMiddleware();
  const {
    reducer = void 0,
    middleware,
    devTools = true,
    preloadedState = void 0,
    enhancers = void 0
  } = options || {};
  let rootReducer;
  if (typeof reducer === "function") {
    rootReducer = reducer;
  } else if (isPlainObject$2(reducer)) {
    rootReducer = combineReducers(reducer);
  } else {
    throw new Error(formatProdErrorMessage(1));
  }
  let finalMiddleware;
  if (typeof middleware === "function") {
    finalMiddleware = middleware(getDefaultMiddleware);
  } else {
    finalMiddleware = getDefaultMiddleware();
  }
  let finalCompose = compose;
  if (devTools) {
    finalCompose = composeWithDevTools({
      // Enable capture of stack traces for dispatched Redux actions
      trace: false,
      ...typeof devTools === "object" && devTools
    });
  }
  const middlewareEnhancer = applyMiddleware(...finalMiddleware);
  const getDefaultEnhancers = buildGetDefaultEnhancers(middlewareEnhancer);
  let storeEnhancers = typeof enhancers === "function" ? enhancers(getDefaultEnhancers) : getDefaultEnhancers();
  const composedEnhancer = finalCompose(...storeEnhancers);
  return createStore(rootReducer, preloadedState, composedEnhancer);
}
function executeReducerBuilderCallback(builderCallback) {
  const actionsMap = {};
  const actionMatchers = [];
  let defaultCaseReducer;
  const builder = {
    addCase(typeOrActionCreator, reducer) {
      const type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type;
      if (!type) {
        throw new Error(formatProdErrorMessage(28));
      }
      if (type in actionsMap) {
        throw new Error(formatProdErrorMessage(29));
      }
      actionsMap[type] = reducer;
      return builder;
    },
    addMatcher(matcher, reducer) {
      actionMatchers.push({
        matcher,
        reducer
      });
      return builder;
    },
    addDefaultCase(reducer) {
      defaultCaseReducer = reducer;
      return builder;
    }
  };
  builderCallback(builder);
  return [actionsMap, actionMatchers, defaultCaseReducer];
}
function isStateFunction(x) {
  return typeof x === "function";
}
function createReducer(initialState2, mapOrBuilderCallback) {
  let [actionsMap, finalActionMatchers, finalDefaultCaseReducer] = executeReducerBuilderCallback(mapOrBuilderCallback);
  let getInitialState;
  if (isStateFunction(initialState2)) {
    getInitialState = () => freezeDraftable(initialState2());
  } else {
    const frozenInitialState = freezeDraftable(initialState2);
    getInitialState = () => frozenInitialState;
  }
  function reducer(state = getInitialState(), action) {
    let caseReducers = [actionsMap[action.type], ...finalActionMatchers.filter(({
      matcher
    }) => matcher(action)).map(({
      reducer: reducer2
    }) => reducer2)];
    if (caseReducers.filter((cr) => !!cr).length === 0) {
      caseReducers = [finalDefaultCaseReducer];
    }
    return caseReducers.reduce((previousState, caseReducer) => {
      if (caseReducer) {
        if (isDraft(previousState)) {
          const draft = previousState;
          const result = caseReducer(draft, action);
          if (result === void 0) {
            return previousState;
          }
          return result;
        } else if (!isDraftable(previousState)) {
          const result = caseReducer(previousState, action);
          if (result === void 0) {
            if (previousState === null) {
              return previousState;
            }
            throw Error("A case reducer on a non-draftable value must not return undefined");
          }
          return result;
        } else {
          return produce(previousState, (draft) => {
            return caseReducer(draft, action);
          });
        }
      }
      return previousState;
    }, state);
  }
  reducer.getInitialState = getInitialState;
  return reducer;
}
var matches = (matcher, action) => {
  if (hasMatchFunction(matcher)) {
    return matcher.match(action);
  } else {
    return matcher(action);
  }
};
function isAnyOf(...matchers) {
  return (action) => {
    return matchers.some((matcher) => matches(matcher, action));
  };
}
var urlAlphabet = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW";
var nanoid = (size = 21) => {
  let id2 = "";
  let i = size;
  while (i--) {
    id2 += urlAlphabet[Math.random() * 64 | 0];
  }
  return id2;
};
var commonProperties = ["name", "message", "stack", "code"];
var RejectWithValue = class {
  constructor(payload, meta) {
    /*
    type-only property to distinguish between RejectWithValue and FulfillWithMeta
    does not exist at runtime
    */
    __publicField(this, "_type");
    this.payload = payload;
    this.meta = meta;
  }
};
var FulfillWithMeta = class {
  constructor(payload, meta) {
    /*
    type-only property to distinguish between RejectWithValue and FulfillWithMeta
    does not exist at runtime
    */
    __publicField(this, "_type");
    this.payload = payload;
    this.meta = meta;
  }
};
var miniSerializeError = (value) => {
  if (typeof value === "object" && value !== null) {
    const simpleError = {};
    for (const property of commonProperties) {
      if (typeof value[property] === "string") {
        simpleError[property] = value[property];
      }
    }
    return simpleError;
  }
  return {
    message: String(value)
  };
};
var createAsyncThunk = /* @__PURE__ */ (() => {
  function createAsyncThunk2(typePrefix, payloadCreator, options) {
    const fulfilled = createAction(typePrefix + "/fulfilled", (payload, requestId, arg, meta) => ({
      payload,
      meta: {
        ...meta || {},
        arg,
        requestId,
        requestStatus: "fulfilled"
      }
    }));
    const pending = createAction(typePrefix + "/pending", (requestId, arg, meta) => ({
      payload: void 0,
      meta: {
        ...meta || {},
        arg,
        requestId,
        requestStatus: "pending"
      }
    }));
    const rejected = createAction(typePrefix + "/rejected", (error, requestId, arg, payload, meta) => ({
      payload,
      error: (options && options.serializeError || miniSerializeError)(error || "Rejected"),
      meta: {
        ...meta || {},
        arg,
        requestId,
        rejectedWithValue: !!payload,
        requestStatus: "rejected",
        aborted: (error == null ? void 0 : error.name) === "AbortError",
        condition: (error == null ? void 0 : error.name) === "ConditionError"
      }
    }));
    function actionCreator(arg) {
      return (dispatch, getState, extra) => {
        const requestId = (options == null ? void 0 : options.idGenerator) ? options.idGenerator(arg) : nanoid();
        const abortController = new AbortController();
        let abortHandler;
        let abortReason;
        function abort(reason) {
          abortReason = reason;
          abortController.abort();
        }
        const promise = (async function() {
          var _a2, _b2;
          let finalAction;
          try {
            let conditionResult = (_a2 = options == null ? void 0 : options.condition) == null ? void 0 : _a2.call(options, arg, {
              getState,
              extra
            });
            if (isThenable$1(conditionResult)) {
              conditionResult = await conditionResult;
            }
            if (conditionResult === false || abortController.signal.aborted) {
              throw {
                name: "ConditionError",
                message: "Aborted due to condition callback returning false."
              };
            }
            const abortedPromise = new Promise((_, reject) => {
              abortHandler = () => {
                reject({
                  name: "AbortError",
                  message: abortReason || "Aborted"
                });
              };
              abortController.signal.addEventListener("abort", abortHandler);
            });
            dispatch(pending(requestId, arg, (_b2 = options == null ? void 0 : options.getPendingMeta) == null ? void 0 : _b2.call(options, {
              requestId,
              arg
            }, {
              getState,
              extra
            })));
            finalAction = await Promise.race([abortedPromise, Promise.resolve(payloadCreator(arg, {
              dispatch,
              getState,
              extra,
              requestId,
              signal: abortController.signal,
              abort,
              rejectWithValue: (value, meta) => {
                return new RejectWithValue(value, meta);
              },
              fulfillWithValue: (value, meta) => {
                return new FulfillWithMeta(value, meta);
              }
            })).then((result) => {
              if (result instanceof RejectWithValue) {
                throw result;
              }
              if (result instanceof FulfillWithMeta) {
                return fulfilled(result.payload, requestId, arg, result.meta);
              }
              return fulfilled(result, requestId, arg);
            })]);
          } catch (err) {
            finalAction = err instanceof RejectWithValue ? rejected(null, requestId, arg, err.payload, err.meta) : rejected(err, requestId, arg);
          } finally {
            if (abortHandler) {
              abortController.signal.removeEventListener("abort", abortHandler);
            }
          }
          const skipDispatch = options && !options.dispatchConditionRejection && rejected.match(finalAction) && finalAction.meta.condition;
          if (!skipDispatch) {
            dispatch(finalAction);
          }
          return finalAction;
        })();
        return Object.assign(promise, {
          abort,
          requestId,
          arg,
          unwrap() {
            return promise.then(unwrapResult);
          }
        });
      };
    }
    return Object.assign(actionCreator, {
      pending,
      rejected,
      fulfilled,
      settled: isAnyOf(rejected, fulfilled),
      typePrefix
    });
  }
  createAsyncThunk2.withTypes = () => createAsyncThunk2;
  return createAsyncThunk2;
})();
function unwrapResult(action) {
  if (action.meta && action.meta.rejectedWithValue) {
    throw action.payload;
  }
  if (action.error) {
    throw action.error;
  }
  return action.payload;
}
function isThenable$1(value) {
  return value !== null && typeof value === "object" && typeof value.then === "function";
}
var asyncThunkSymbol = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
function getType(slice, actionKey) {
  return `${slice}/${actionKey}`;
}
function buildCreateSlice({
  creators
} = {}) {
  var _a2;
  const cAT = (_a2 = creators == null ? void 0 : creators.asyncThunk) == null ? void 0 : _a2[asyncThunkSymbol];
  return function createSlice2(options) {
    const {
      name,
      reducerPath = name
    } = options;
    if (!name) {
      throw new Error(formatProdErrorMessage(11));
    }
    const reducers = (typeof options.reducers === "function" ? options.reducers(buildReducerCreators()) : options.reducers) || {};
    const reducerNames = Object.keys(reducers);
    const context = {
      sliceCaseReducersByName: {},
      sliceCaseReducersByType: {},
      actionCreators: {},
      sliceMatchers: []
    };
    const contextMethods = {
      addCase(typeOrActionCreator, reducer2) {
        const type = typeof typeOrActionCreator === "string" ? typeOrActionCreator : typeOrActionCreator.type;
        if (!type) {
          throw new Error(formatProdErrorMessage(12));
        }
        if (type in context.sliceCaseReducersByType) {
          throw new Error(formatProdErrorMessage(13));
        }
        context.sliceCaseReducersByType[type] = reducer2;
        return contextMethods;
      },
      addMatcher(matcher, reducer2) {
        context.sliceMatchers.push({
          matcher,
          reducer: reducer2
        });
        return contextMethods;
      },
      exposeAction(name2, actionCreator) {
        context.actionCreators[name2] = actionCreator;
        return contextMethods;
      },
      exposeCaseReducer(name2, reducer2) {
        context.sliceCaseReducersByName[name2] = reducer2;
        return contextMethods;
      }
    };
    reducerNames.forEach((reducerName) => {
      const reducerDefinition = reducers[reducerName];
      const reducerDetails = {
        reducerName,
        type: getType(name, reducerName),
        createNotation: typeof options.reducers === "function"
      };
      if (isAsyncThunkSliceReducerDefinition(reducerDefinition)) {
        handleThunkCaseReducerDefinition(reducerDetails, reducerDefinition, contextMethods, cAT);
      } else {
        handleNormalReducerDefinition(reducerDetails, reducerDefinition, contextMethods);
      }
    });
    function buildReducer() {
      const [extraReducers = {}, actionMatchers = [], defaultCaseReducer = void 0] = typeof options.extraReducers === "function" ? executeReducerBuilderCallback(options.extraReducers) : [options.extraReducers];
      const finalCaseReducers = {
        ...extraReducers,
        ...context.sliceCaseReducersByType
      };
      return createReducer(options.initialState, (builder) => {
        for (let key2 in finalCaseReducers) {
          builder.addCase(key2, finalCaseReducers[key2]);
        }
        for (let sM2 of context.sliceMatchers) {
          builder.addMatcher(sM2.matcher, sM2.reducer);
        }
        for (let m of actionMatchers) {
          builder.addMatcher(m.matcher, m.reducer);
        }
        if (defaultCaseReducer) {
          builder.addDefaultCase(defaultCaseReducer);
        }
      });
    }
    const selectSelf = (state) => state;
    const injectedSelectorCache = /* @__PURE__ */ new Map();
    let _reducer;
    function reducer(state, action) {
      if (!_reducer) _reducer = buildReducer();
      return _reducer(state, action);
    }
    function getInitialState() {
      if (!_reducer) _reducer = buildReducer();
      return _reducer.getInitialState();
    }
    function makeSelectorProps(reducerPath2, injected = false) {
      function selectSlice(state) {
        let sliceState = state[reducerPath2];
        if (typeof sliceState === "undefined") {
          if (injected) {
            sliceState = getInitialState();
          }
        }
        return sliceState;
      }
      function getSelectors(selectState = selectSelf) {
        const selectorCache = getOrInsertComputed(injectedSelectorCache, injected, () => /* @__PURE__ */ new WeakMap());
        return getOrInsertComputed(selectorCache, selectState, () => {
          const map2 = {};
          for (const [name2, selector] of Object.entries(options.selectors ?? {})) {
            map2[name2] = wrapSelector(selector, selectState, getInitialState, injected);
          }
          return map2;
        });
      }
      return {
        reducerPath: reducerPath2,
        getSelectors,
        get selectors() {
          return getSelectors(selectSlice);
        },
        selectSlice
      };
    }
    const slice = {
      name,
      reducer,
      actions: context.actionCreators,
      caseReducers: context.sliceCaseReducersByName,
      getInitialState,
      ...makeSelectorProps(reducerPath),
      injectInto(injectable, {
        reducerPath: pathOpt,
        ...config2
      } = {}) {
        const newReducerPath = pathOpt ?? reducerPath;
        injectable.inject({
          reducerPath: newReducerPath,
          reducer
        }, config2);
        return {
          ...slice,
          ...makeSelectorProps(newReducerPath, true)
        };
      }
    };
    return slice;
  };
}
function wrapSelector(selector, selectState, getInitialState, injected) {
  function wrapper(rootState, ...args) {
    let sliceState = selectState(rootState);
    if (typeof sliceState === "undefined") {
      if (injected) {
        sliceState = getInitialState();
      }
    }
    return selector(sliceState, ...args);
  }
  wrapper.unwrapped = selector;
  return wrapper;
}
var createSlice = /* @__PURE__ */ buildCreateSlice();
function buildReducerCreators() {
  function asyncThunk(payloadCreator, config2) {
    return {
      _reducerDefinitionType: "asyncThunk",
      payloadCreator,
      ...config2
    };
  }
  asyncThunk.withTypes = () => asyncThunk;
  return {
    reducer(caseReducer) {
      return Object.assign({
        // hack so the wrapping function has the same name as the original
        // we need to create a wrapper so the `reducerDefinitionType` is not assigned to the original
        [caseReducer.name](...args) {
          return caseReducer(...args);
        }
      }[caseReducer.name], {
        _reducerDefinitionType: "reducer"
        /* reducer */
      });
    },
    preparedReducer(prepare, reducer) {
      return {
        _reducerDefinitionType: "reducerWithPrepare",
        prepare,
        reducer
      };
    },
    asyncThunk
  };
}
function handleNormalReducerDefinition({
  type,
  reducerName,
  createNotation
}, maybeReducerWithPrepare, context) {
  let caseReducer;
  let prepareCallback;
  if ("reducer" in maybeReducerWithPrepare) {
    if (createNotation && !isCaseReducerWithPrepareDefinition(maybeReducerWithPrepare)) {
      throw new Error(formatProdErrorMessage(17));
    }
    caseReducer = maybeReducerWithPrepare.reducer;
    prepareCallback = maybeReducerWithPrepare.prepare;
  } else {
    caseReducer = maybeReducerWithPrepare;
  }
  context.addCase(type, caseReducer).exposeCaseReducer(reducerName, caseReducer).exposeAction(reducerName, prepareCallback ? createAction(type, prepareCallback) : createAction(type));
}
function isAsyncThunkSliceReducerDefinition(reducerDefinition) {
  return reducerDefinition._reducerDefinitionType === "asyncThunk";
}
function isCaseReducerWithPrepareDefinition(reducerDefinition) {
  return reducerDefinition._reducerDefinitionType === "reducerWithPrepare";
}
function handleThunkCaseReducerDefinition({
  type,
  reducerName
}, reducerDefinition, context, cAT) {
  if (!cAT) {
    throw new Error(formatProdErrorMessage(18));
  }
  const {
    payloadCreator,
    fulfilled,
    pending,
    rejected,
    settled,
    options
  } = reducerDefinition;
  const thunk2 = cAT(type, payloadCreator, options);
  context.exposeAction(reducerName, thunk2);
  if (fulfilled) {
    context.addCase(thunk2.fulfilled, fulfilled);
  }
  if (pending) {
    context.addCase(thunk2.pending, pending);
  }
  if (rejected) {
    context.addCase(thunk2.rejected, rejected);
  }
  if (settled) {
    context.addMatcher(thunk2.settled, settled);
  }
  context.exposeCaseReducer(reducerName, {
    fulfilled: fulfilled || noop$2,
    pending: pending || noop$2,
    rejected: rejected || noop$2,
    settled: settled || noop$2
  });
}
function noop$2() {
}
function formatProdErrorMessage(code) {
  return `Minified Redux Toolkit error #${code}; visit https://redux-toolkit.js.org/Errors?code=${code} for the full message or use the non-minified dev environment for full errors. `;
}
var define_process_env_default = {};
var rC = Object.defineProperty;
var oC = (e10, t, n) => t in e10 ? rC(e10, t, { enumerable: true, configurable: true, writable: true, value: n }) : e10[t] = n;
var vo = (e10, t, n) => oC(e10, typeof t != "symbol" ? t + "" : t, n);
const mC = "align-items-baseline_id", vC = "align-items-center_vy", yC = "align-items-end_vG", xC = "align-items-start_YQ", _C = "align-items-stretch_zq", wC = "align-content-center_Ko", TC = "align-content-end_Df", kC = "align-content-start_Vg", EC = "align-content-around_zs", CC = "align-content-between_J7", SC = "align-content-stretch_-O", AC = "align-self-baseline_GM", PC = "align-self-center_ZC", RC = "align-self-end_pJ", IC = "align-self-start_FR", MC = "align-self-stretch_Xf", OC = "justify-content-start_OQ", DC = "justify-content-end_5e", FC = "justify-content-center_zU", NC = "justify-content-between_cV", LC = "justify-content-around_NJ", BC = "justify-content-evenly_Tn", zC = "text-align-start_oP", WC = "text-align-end_JX", UC = "text-align-center_t9", HC = "text-align-justify_6O", $C = "col-auto_hu", VC = "col-1_6S", GC = "col-2_Ev", YC = "col-3_Xf", XC = "col-4_AY", ZC = "col-5_qC", KC = "col-6_qP", JC = "col-7_hX", QC = "col-8_eI", jC = "col-9_aK", qC = "col-10_-G", eS = "col-11_N0", tS = "col-12_M2", nS = "d-flex_LP", rS = "d-block_jm", oS = "d-grid_Rn", iS = "d-inline_tb", aS = "d-inline-block_8P", sS = "d-inline-flex_GI", lS = "d-inline-grid_IQ", uS = "d-flex-column_eP", cS = "d-flex-column-reverse_HN", dS = "d-flex-row_b9", fS = "d-flex-row-reverse_Qx", hS = "flex-grow-1_So", pS = "flex-grow-2_SA", bS = "flex-grow-3_dW", gS = "flex-grow-4_kP", mS = "flex-grow-5_Wq", vS = "flex-nowrap_Cv", yS = "flex-wrap_F-", xS = "flex-wrap-reverse_ds", _S = "flex-shrink-1_KR", wS = "flex-shrink-2_sH", TS = "flex-shrink-3_xS", kS = "flex-shrink-4_G9", ES = "flex-shrink-5_yo", CS = "offset-auto_3K", SS = "offset-1_zp", AS = "offset-2_gv", PS = "offset-3_zC", RS = "offset-4_Ny", IS = "offset-5_zt", MS = "offset-6_S2", OS = "offset-7_h9", DS = "offset-8_QS", FS = "offset-9_xQ", NS = "offset-10_8W", LS = "offset-11_YX", BS = "offset-12_9H", zS = "position-absolute_yo", WS = "position-fixed_cs", US = "position-relative_gN", HS = "position-static_NR", $S = "position-sticky_Iv", VS = "m-0_PN", GS = "m-1_-B", YS = "m-2_Sk", XS = "m-3_tT", ZS = "m-4_Q0", KS = "m-5_we", JS = "m-6_V4", QS = "m-7_5s", jS = "m-8_fw", qS = "m-9_Ml", e8 = "p-0_tA", t8 = "p-1_nR", n8 = "p-2_40", r8 = "p-3_4Y", o8 = "p-4_Ql", i8 = "p-5_-D", a8 = "p-6_uV", s8 = "p-7_tw", l8 = "p-8_Nu", u8 = "p-9_bY", c8 = "gap-0_3j", d8 = "gap-1_fd", f8 = "gap-2_Wy", h8 = "gap-3_8t", p8 = "gap-4_sr", b8 = "gap-5_x-", g8 = "gap-6_mL", m8 = "gap-7_t3", v8 = "gap-8_pF", y8 = "gap-9_4U", x8 = "mt-0_6x", _8 = "mr-0_3g", w8 = "mb-0_xG", T8 = "ml-0_XH", k8 = "mt-1_Yq", E8 = "mr-1_N8", C8 = "mb-1_61", S8 = "ml-1_AP", A8 = "mt-2_a8", P8 = "mr-2_tD", R8 = "mb-2_BS", I8 = "ml-2_E7", M8 = "mt-3_0E", O8 = "mr-3_7H", D8 = "mb-3_uF", F8 = "ml-3_3k", N8 = "mt-4_ff", L8 = "mr-4_XE", B8 = "mb-4_DE", z8 = "ml-4_GR", W8 = "mt-5_Cl", U8 = "mr-5_aa", H8 = "mb-5_0l", $8 = "ml-5_2R", V8 = "mt-6_8b", G8 = "mr-6_U1", Y8 = "mb-6_GN", X8 = "ml-6_2i", Z8 = "mt-7_uK", K8 = "mr-7_7b", J8 = "mb-7_qc", Q8 = "ml-7_QN", j8 = "mt-8_vp", q8 = "mr-8_M6", e9 = "mb-8_2U", t9 = "ml-8_9-", n9 = "mt-9_3B", r9 = "mr-9_mb", o9 = "mb-9_bW", i9 = "ml-9_uz", a9 = "pt-0_Sz", s9 = "pr-0_wS", l9 = "pb-0_HE", u9 = "pl-0_sQ", c9 = "pt-1_Do", d9 = "pr-1_sf", f9 = "pb-1_kn", h9 = "pl-1_LY", p9 = "pt-2_6R", b9 = "pr-2_PY", g9 = "pb-2_bK", m9 = "pl-2_4f", v9 = "pt-3_DH", y9 = "pr-3_PY", x9 = "pb-3_w-", _9 = "pl-3_1j", w9 = "pt-4_OL", T9 = "pr-4_81", k9 = "pb-4_59", E9 = "pl-4_2p", C9 = "pt-5_Yx", S9 = "pr-5_ju", A9 = "pb-5_j1", P9 = "pl-5_cy", R9 = "pt-6_HZ", I9 = "pr-6_w4", M9 = "pb-6_05", O9 = "pl-6_a-", D9 = "pt-7_1q", F9 = "pr-7_G4", N9 = "pb-7_U7", L9 = "pl-7_R5", B9 = "pt-8_3v", z9 = "pr-8_fK", W9 = "pb-8_Tw", U9 = "pl-8_-3", H9 = "pt-9_B0", $9 = "pr-9_t0", V9 = "pb-9_jS", G9 = "pl-9_zW", Y9 = "w-0_nt", X9 = "w-25_JH", Z9 = "w-50_DD", K9 = "w-75_H6", J9 = "w-100_g2", Q9 = "vw-0_Fo", j9 = "vw-25_dZ", q9 = "vw-50_is", e7 = "vw-75_p7", t7 = "vw-100_2C", n7 = "h-0_kq", r7 = "h-25_0E", o7 = "h-50_Cy", i7 = "h-75_XR", a7 = "h-100_wc", s7 = "vh-0_PO", l7 = "vh-25_i1", u7 = "vh-50_YX", c7 = "vh-75_Yr", d7 = "vh-100_eL", f7 = "mx-0_ui", h7 = "mx-1_Ln", p7 = "mx-2_m7", b7 = "mx-3_8P", g7 = "mx-4_u0", m7 = "mx-5_XL", v7 = "mx-6_vl", y7 = "mx-7_i-", x7 = "mx-8_At", _7 = "mx-9_xk", w7 = "my-0_fj", T7 = "my-1_9J", k7 = "my-2_Oa", E7 = "my-3_Wb", C7 = "my-4_Xl", S7 = "my-5_Iq", A7 = "my-6_Nx", P7 = "my-7_AS", R7 = "my-8_FY", I7 = "my-9_0q", M7 = "px-0_PA", O7 = "px-1_bP", D7 = "px-2_88", F7 = "px-3_aX", N7 = "px-4_1V", L7 = "px-5_yB", B7 = "px-6_d2", z7 = "px-7_sK", W7 = "px-8_ta", U7 = "px-9_N1", H7 = "py-0_TB", $7 = "py-1_U4", V7 = "py-2_eV", G7 = "py-3_Ow", Y7 = "py-4_XX", X7 = "py-5_p3", Z7 = "py-6_cs", K7 = "py-7_RF", J7 = "py-8_cJ", Q7 = "py-9_XQ", j7 = "align-items-mobile-baseline_A7", q7 = "align-items-mobile-center_ou", eA = "align-items-mobile-end_9e", tA = "align-items-mobile-start_If", nA = "align-items-mobile-stretch_zm", rA = "align-content-mobile-center_he", oA = "align-content-mobile-end_N7", iA = "align-content-mobile-start_Uw", aA = "align-content-mobile-around_Xd", sA = "align-content-mobile-between_w3", lA = "align-content-mobile-stretch_2y", uA = "align-self-mobile-baseline_Da", cA = "align-self-mobile-center_Wx", dA = "align-self-mobile-end_3n", fA = "align-self-mobile-start_OE", hA = "align-self-mobile-stretch_MF", pA = "justify-content-mobile-start_XS", bA = "justify-content-mobile-end_bs", gA = "justify-content-mobile-center_ZR", mA = "justify-content-mobile-between_vv", vA = "justify-content-mobile-around_lw", yA = "justify-content-mobile-evenly_r9", xA = "text-align-mobile-start_0s", _A = "text-align-mobile-end_wG", wA = "text-align-mobile-center_nw", TA = "text-align-mobile-justify_E5", kA = "col-mobile-auto_bi", EA = "col-mobile-1_nX", CA = "col-mobile-2_Br", SA = "col-mobile-3_oT", AA = "col-mobile-4_8e", PA = "col-mobile-5_W-", RA = "col-mobile-6_dN", IA = "col-mobile-7_Ft", MA = "col-mobile-8_ZV", OA = "col-mobile-9_qw", DA = "col-mobile-10_eG", FA = "col-mobile-11_yE", NA = "col-mobile-12_3f", LA = "d-mobile-flex_QK", BA = "d-mobile-block_Je", zA = "d-mobile-grid_kE", WA = "d-mobile-inline_ZO", UA = "d-mobile-inline-block_X1", HA = "d-mobile-inline-flex_OI", $A = "d-mobile-inline-grid_pE", VA = "d-flex-mobile-column_Vl", GA = "d-flex-mobile-column-reverse_gx", YA = "d-flex-mobile-row_Y0", XA = "d-flex-mobile-row-reverse_HP", ZA = "flex-mobile-grow-1_Hb", KA = "flex-mobile-grow-2_Yb", JA = "flex-mobile-grow-3_aK", QA = "flex-mobile-grow-4_fI", jA = "flex-mobile-grow-5_ge", qA = "flex-mobile-nowrap_yU", eP = "flex-mobile-wrap_Kn", tP = "flex-mobile-wrap-reverse_Dw", nP = "flex-mobile-shrink-1_Jj", rP = "flex-mobile-shrink-2_9h", oP = "flex-mobile-shrink-3_GF", iP = "flex-mobile-shrink-4_1S", aP = "flex-mobile-shrink-5_tH", sP = "offset-mobile-auto_2M", lP = "offset-mobile-1_Pr", uP = "offset-mobile-2_rq", cP = "offset-mobile-3_No", dP = "offset-mobile-4_6N", fP = "offset-mobile-5_MI", hP = "offset-mobile-6_ai", pP = "offset-mobile-7_Fr", bP = "offset-mobile-8_93", gP = "offset-mobile-9_DL", mP = "offset-mobile-10_64", vP = "offset-mobile-11_Gj", yP = "offset-mobile-12_rx", xP = "position-mobile-absolute_Me", _P = "position-mobile-fixed_7J", wP = "position-mobile-relative_0O", TP = "position-mobile-static_ih", kP = "position-mobile-sticky_Lc", EP = "m-mobile-0_KW", CP = "m-mobile-1_Xu", SP = "m-mobile-2_9a", AP = "m-mobile-3_aa", PP = "m-mobile-4_tK", RP = "m-mobile-5_H8", IP = "m-mobile-6_fx", MP = "m-mobile-7_tC", OP = "m-mobile-8_5S", DP = "m-mobile-9_XK", FP = "p-mobile-0_gj", NP = "p-mobile-1_XR", LP = "p-mobile-2_CC", BP = "p-mobile-3_1H", zP = "p-mobile-4_Bs", WP = "p-mobile-5_Zi", UP = "p-mobile-6_3X", HP = "p-mobile-7_Vk", $P = "p-mobile-8_Ly", VP = "p-mobile-9_4Z", GP = "gap-mobile-0_5o", YP = "gap-mobile-1_yn", XP = "gap-mobile-2_j0", ZP = "gap-mobile-3_hU", KP = "gap-mobile-4_Ff", JP = "gap-mobile-5_Mr", QP = "gap-mobile-6_RS", jP = "gap-mobile-7_P6", qP = "gap-mobile-8_Zk", eR = "gap-mobile-9_Vy", tR = "mt-mobile-0_Mk", nR = "mr-mobile-0_rn", rR = "mb-mobile-0_wF", oR = "ml-mobile-0_4m", iR = "mt-mobile-1_Au", aR = "mr-mobile-1_69", sR = "mb-mobile-1_F9", lR = "ml-mobile-1_Fj", uR = "mt-mobile-2_sj", cR = "mr-mobile-2_Az", dR = "mb-mobile-2_XN", fR = "ml-mobile-2_eM", hR = "mt-mobile-3_-n", pR = "mr-mobile-3_5o", bR = "mb-mobile-3_BU", gR = "ml-mobile-3_K8", mR = "mt-mobile-4_py", vR = "mr-mobile-4_jH", yR = "mb-mobile-4_YV", xR = "ml-mobile-4_jz", _R = "mt-mobile-5_Fp", wR = "mr-mobile-5_d4", TR = "mb-mobile-5_cy", kR = "ml-mobile-5_Vm", ER = "mt-mobile-6_c1", CR = "mr-mobile-6_HM", SR = "mb-mobile-6_WI", AR = "ml-mobile-6_xu", PR = "mt-mobile-7_Z4", RR = "mr-mobile-7_oW", IR = "mb-mobile-7_TE", MR = "ml-mobile-7_NU", OR = "mt-mobile-8_TL", DR = "mr-mobile-8_yj", FR = "mb-mobile-8_Bt", NR = "ml-mobile-8_ut", LR = "mt-mobile-9_eq", BR = "mr-mobile-9_hI", zR = "mb-mobile-9_UU", WR = "ml-mobile-9_hS", UR = "pt-mobile-0_RJ", HR = "pr-mobile-0_N-", $R = "pb-mobile-0_Mv", VR = "pl-mobile-0_o3", GR = "pt-mobile-1_rS", YR = "pr-mobile-1_MB", XR = "pb-mobile-1_yG", ZR = "pl-mobile-1_LW", KR = "pt-mobile-2_Hp", JR = "pr-mobile-2_6A", QR = "pb-mobile-2_fX", jR = "pl-mobile-2_zZ", qR = "pt-mobile-3_1q", eI = "pr-mobile-3_Jf", tI = "pb-mobile-3_r-", nI = "pl-mobile-3_LT", rI = "pt-mobile-4_zp", oI = "pr-mobile-4_N4", iI = "pb-mobile-4_BR", aI = "pl-mobile-4_x0", sI = "pt-mobile-5_KA", lI = "pr-mobile-5_fb", uI = "pb-mobile-5_oH", cI = "pl-mobile-5_NR", dI = "pt-mobile-6_6u", fI = "pr-mobile-6_Kp", hI = "pb-mobile-6_9W", pI = "pl-mobile-6_Uy", bI = "pt-mobile-7_TN", gI = "pr-mobile-7_Hf", mI = "pb-mobile-7_S1", vI = "pl-mobile-7_Of", yI = "pt-mobile-8_6Z", xI = "pr-mobile-8_Yl", _I = "pb-mobile-8_Xv", wI = "pl-mobile-8_n0", TI = "pt-mobile-9_ej", kI = "pr-mobile-9_RI", EI = "pb-mobile-9_oD", CI = "pl-mobile-9_vF", SI = "w-mobile-0_zL", AI = "w-mobile-25_7R", PI = "w-mobile-50_zP", RI = "w-mobile-75_EL", II = "w-mobile-100_P7", MI = "vw-mobile-0_HN", OI = "vw-mobile-25_Ul", DI = "vw-mobile-50_k5", FI = "vw-mobile-75_HK", NI = "vw-mobile-100_Vg", LI = "h-mobile-0_4u", BI = "h-mobile-25_-C", zI = "h-mobile-50_ug", WI = "h-mobile-75_ZF", UI = "h-mobile-100_nK", HI = "vh-mobile-0_Vs", $I = "vh-mobile-25_9O", VI = "vh-mobile-50_nO", GI = "vh-mobile-75_rC", YI = "vh-mobile-100_Vy", XI = "mx-mobile-0_o-", ZI = "mx-mobile-1_Mi", KI = "mx-mobile-2_PJ", JI = "mx-mobile-3_SE", QI = "mx-mobile-4_zC", jI = "mx-mobile-5_2L", qI = "mx-mobile-6_NO", eM = "mx-mobile-7_c-", tM = "mx-mobile-8_gI", nM = "mx-mobile-9_GI", rM = "my-mobile-0_2o", oM = "my-mobile-1_Hx", iM = "my-mobile-2_M-", aM = "my-mobile-3_Lw", sM = "my-mobile-4_90", lM = "my-mobile-5_pZ", uM = "my-mobile-6_TK", cM = "my-mobile-7_EF", dM = "my-mobile-8_VZ", fM = "my-mobile-9_rU", hM = "px-mobile-0_74", pM = "px-mobile-1_53", bM = "px-mobile-2_1U", gM = "px-mobile-3_HP", mM = "px-mobile-4_sN", vM = "px-mobile-5_hx", yM = "px-mobile-6_ns", xM = "px-mobile-7_WZ", _M = "px-mobile-8_sY", wM = "px-mobile-9_-8", TM = "py-mobile-0_1O", kM = "py-mobile-1_Oo", EM = "py-mobile-2_FT", CM = "py-mobile-3_Jv", SM = "py-mobile-4_XJ", AM = "py-mobile-5_yN", PM = "py-mobile-6_kD", RM = "py-mobile-7_mk", IM = "py-mobile-8_ET", MM = "py-mobile-9_06", OM = "align-items-tablet-baseline_2Z", DM = "align-items-tablet-center_1p", FM = "align-items-tablet-end_FM", NM = "align-items-tablet-start_18", LM = "align-items-tablet-stretch_5C", BM = "align-content-tablet-center_-A", zM = "align-content-tablet-end_GG", WM = "align-content-tablet-start_NZ", UM = "align-content-tablet-around_-o", HM = "align-content-tablet-between_R8", $M = "align-content-tablet-stretch_gV", VM = "align-self-tablet-baseline_jQ", GM = "align-self-tablet-center_IM", YM = "align-self-tablet-end_1d", XM = "align-self-tablet-start_Ko", ZM = "align-self-tablet-stretch_9C", KM = "justify-content-tablet-start_5Y", JM = "justify-content-tablet-end_aA", QM = "justify-content-tablet-center_rZ", jM = "justify-content-tablet-between_xz", qM = "justify-content-tablet-around_ji", eO = "justify-content-tablet-evenly_xp", tO = "text-align-tablet-start_gw", nO = "text-align-tablet-end_rY", rO = "text-align-tablet-center_Ry", oO = "text-align-tablet-justify_VQ", iO = "col-tablet-auto_KO", aO = "col-tablet-1_9o", sO = "col-tablet-2_f-", lO = "col-tablet-3_EU", uO = "col-tablet-4_bw", cO = "col-tablet-5_gG", dO = "col-tablet-6_bw", fO = "col-tablet-7_h-", hO = "col-tablet-8_yX", pO = "col-tablet-9_Jl", bO = "col-tablet-10_Qy", gO = "col-tablet-11_4j", mO = "col-tablet-12_AQ", vO = "d-tablet-flex_aw", yO = "d-tablet-block_6q", xO = "d-tablet-grid_qG", _O = "d-tablet-inline_Lf", wO = "d-tablet-inline-block_KD", TO = "d-tablet-inline-flex_G7", kO = "d-tablet-inline-grid_XP", EO = "d-flex-tablet-column_BF", CO = "d-flex-tablet-column-reverse_FJ", SO = "d-flex-tablet-row_fC", AO = "d-flex-tablet-row-reverse_--", PO = "flex-tablet-grow-1_7Q", RO = "flex-tablet-grow-2_vG", IO = "flex-tablet-grow-3_JC", MO = "flex-tablet-grow-4_bR", OO = "flex-tablet-grow-5_y7", DO = "flex-tablet-nowrap_gf", FO = "flex-tablet-wrap_HG", NO = "flex-tablet-wrap-reverse_dj", LO = "flex-tablet-shrink-1_vM", BO = "flex-tablet-shrink-2_tY", zO = "flex-tablet-shrink-3_bl", WO = "flex-tablet-shrink-4_ny", UO = "flex-tablet-shrink-5_ND", HO = "offset-tablet-auto_LD", $O = "offset-tablet-1_xX", VO = "offset-tablet-2_4D", GO = "offset-tablet-3_Dv", YO = "offset-tablet-4_kT", XO = "offset-tablet-5_1h", ZO = "offset-tablet-6_CY", KO = "offset-tablet-7_OE", JO = "offset-tablet-8_KW", QO = "offset-tablet-9_BF", jO = "offset-tablet-10_iZ", qO = "offset-tablet-11_o7", eD = "offset-tablet-12_1w", tD = "position-tablet-absolute_FS", nD = "position-tablet-fixed_u1", rD = "position-tablet-relative_-n", oD = "position-tablet-static_ZP", iD = "position-tablet-sticky_WO", aD = "m-tablet-0_Eg", sD = "m-tablet-1_oq", lD = "m-tablet-2_fG", uD = "m-tablet-3_Qy", cD = "m-tablet-4_d6", dD = "m-tablet-5_cq", fD = "m-tablet-6_kp", hD = "m-tablet-7_2Y", pD = "m-tablet-8_D-", bD = "m-tablet-9_1n", gD = "p-tablet-0_gH", mD = "p-tablet-1_wK", vD = "p-tablet-2_9H", yD = "p-tablet-3_yN", xD = "p-tablet-4_Ng", _D = "p-tablet-5_Za", wD = "p-tablet-6_Fr", TD = "p-tablet-7_Yt", kD = "p-tablet-8_UM", ED = "p-tablet-9_WZ", CD = "gap-tablet-0_r9", SD = "gap-tablet-1_ID", AD = "gap-tablet-2_t-", PD = "gap-tablet-3_DC", RD = "gap-tablet-4_N2", ID = "gap-tablet-5_n4", MD = "gap-tablet-6_5n", OD = "gap-tablet-7_eb", DD = "gap-tablet-8_20", FD = "gap-tablet-9_ZG", ND = "mt-tablet-0_P-", LD = "mr-tablet-0_G-", BD = "mb-tablet-0_pp", zD = "ml-tablet-0_9H", WD = "mt-tablet-1_S7", UD = "mr-tablet-1_P5", HD = "mb-tablet-1_Er", $D = "ml-tablet-1_BV", VD = "mt-tablet-2_Rj", GD = "mr-tablet-2_S3", YD = "mb-tablet-2_q-", XD = "ml-tablet-2_k3", ZD = "mt-tablet-3_vZ", KD = "mr-tablet-3_5Y", JD = "mb-tablet-3_Bn", QD = "ml-tablet-3_UC", jD = "mt-tablet-4_23", qD = "mr-tablet-4_lQ", eF = "mb-tablet-4_s2", tF = "ml-tablet-4_9E", nF = "mt-tablet-5_mz", rF = "mr-tablet-5_W4", oF = "mb-tablet-5_iH", iF = "ml-tablet-5_De", aF = "mt-tablet-6_iC", sF = "mr-tablet-6_Vy", lF = "mb-tablet-6_Tm", uF = "ml-tablet-6_z9", cF = "mt-tablet-7_C1", dF = "mr-tablet-7_8X", fF = "mb-tablet-7_b6", hF = "ml-tablet-7_XQ", pF = "mt-tablet-8_fu", bF = "mr-tablet-8_cq", gF = "mb-tablet-8_qY", mF = "ml-tablet-8_df", vF = "mt-tablet-9_4B", yF = "mr-tablet-9_6T", xF = "mb-tablet-9_68", _F = "ml-tablet-9_wS", wF = "pt-tablet-0_50", TF = "pr-tablet-0_6f", kF = "pb-tablet-0_-B", EF = "pl-tablet-0_7Q", CF = "pt-tablet-1_Vg", SF = "pr-tablet-1_Wx", AF = "pb-tablet-1_zb", PF = "pl-tablet-1_e8", RF = "pt-tablet-2_if", IF = "pr-tablet-2_kh", MF = "pb-tablet-2_VX", OF = "pl-tablet-2_Fr", DF = "pt-tablet-3_tT", FF = "pr-tablet-3_rv", NF = "pb-tablet-3_g7", LF = "pl-tablet-3_Vd", BF = "pt-tablet-4_-4", zF = "pr-tablet-4_2y", WF = "pb-tablet-4_XT", UF = "pl-tablet-4_gD", HF = "pt-tablet-5_h2", $F = "pr-tablet-5_tE", VF = "pb-tablet-5_38", GF = "pl-tablet-5_ls", YF = "pt-tablet-6_Yx", XF = "pr-tablet-6_OO", ZF = "pb-tablet-6_8o", KF = "pl-tablet-6_nY", JF = "pt-tablet-7_D-", QF = "pr-tablet-7_dr", jF = "pb-tablet-7_ry", qF = "pl-tablet-7_L3", eN = "pt-tablet-8_Rq", tN = "pr-tablet-8_JR", nN = "pb-tablet-8_Oe", rN = "pl-tablet-8_mt", oN = "pt-tablet-9_Eb", iN = "pr-tablet-9_As", aN = "pb-tablet-9_Og", sN = "pl-tablet-9_ZX", lN = "w-tablet-0_gV", uN = "w-tablet-25_tF", cN = "w-tablet-50_Z6", dN = "w-tablet-75_g4", fN = "w-tablet-100_FP", hN = "vw-tablet-0_zF", pN = "vw-tablet-25_-D", bN = "vw-tablet-50_0c", gN = "vw-tablet-75_-g", mN = "vw-tablet-100_wK", vN = "h-tablet-0_UV", yN = "h-tablet-25_Da", xN = "h-tablet-50_d2", _N = "h-tablet-75_ad", wN = "h-tablet-100_u2", TN = "vh-tablet-0_ku", kN = "vh-tablet-25_Th", EN = "vh-tablet-50_A3", CN = "vh-tablet-75_V4", SN = "vh-tablet-100_pK", AN = "mx-tablet-0_OJ", PN = "mx-tablet-1_Yw", RN = "mx-tablet-2_Ob", IN = "mx-tablet-3_08", MN = "mx-tablet-4_78", ON = "mx-tablet-5_X7", DN = "mx-tablet-6_Bo", FN = "mx-tablet-7_72", NN = "mx-tablet-8_-q", LN = "mx-tablet-9_nA", BN = "my-tablet-0_os", zN = "my-tablet-1_cq", WN = "my-tablet-2_6N", UN = "my-tablet-3_o9", HN = "my-tablet-4_Rf", $N = "my-tablet-5_hD", VN = "my-tablet-6_MN", GN = "my-tablet-7_7v", YN = "my-tablet-8_qD", XN = "my-tablet-9_3J", ZN = "px-tablet-0_tg", KN = "px-tablet-1_-q", JN = "px-tablet-2_-I", QN = "px-tablet-3_0k", jN = "px-tablet-4_87", qN = "px-tablet-5_Vc", eL = "px-tablet-6_LF", tL = "px-tablet-7_8f", nL = "px-tablet-8_39", rL = "px-tablet-9_kz", oL = "py-tablet-0_gs", iL = "py-tablet-1_nM", aL = "py-tablet-2_sd", sL = "py-tablet-3_QK", lL = "py-tablet-4_Gp", uL = "py-tablet-5_Ki", cL = "py-tablet-6_X9", dL = "py-tablet-7_9x", fL = "py-tablet-8_lR", hL = "py-tablet-9_qq", pL = "align-items-desktop-baseline_29", bL = "align-items-desktop-center_61", gL = "align-items-desktop-end_oR", mL = "align-items-desktop-start_1N", vL = "align-items-desktop-stretch_X1", yL = "align-content-desktop-center_3s", xL = "align-content-desktop-end_wd", _L = "align-content-desktop-start_1c", wL = "align-content-desktop-around_oC", TL = "align-content-desktop-between_LH", kL = "align-content-desktop-stretch_9n", EL = "align-self-desktop-baseline_Y-", CL = "align-self-desktop-center_Dq", SL = "align-self-desktop-end_1m", AL = "align-self-desktop-start_cn", PL = "align-self-desktop-stretch_Eh", RL = "justify-content-desktop-start_ku", IL = "justify-content-desktop-end_aq", ML = "justify-content-desktop-center_-3", OL = "justify-content-desktop-between_O7", DL = "justify-content-desktop-around_t1", FL = "justify-content-desktop-evenly_iS", NL = "text-align-desktop-start_Q6", LL = "text-align-desktop-end_B1", BL = "text-align-desktop-center_X6", zL = "text-align-desktop-justify_6a", WL = "col-desktop-auto_Ax", UL = "col-desktop-1_Of", HL = "col-desktop-2_4q", $L = "col-desktop-3_No", VL = "col-desktop-4_Kf", GL = "col-desktop-5_zS", YL = "col-desktop-6_42", XL = "col-desktop-7_IF", ZL = "col-desktop-8_6F", KL = "col-desktop-9_xp", JL = "col-desktop-10_yG", QL = "col-desktop-11_y7", jL = "col-desktop-12_kf", qL = "d-desktop-flex_eR", eB = "d-desktop-block_qZ", tB = "d-desktop-grid_9h", nB = "d-desktop-inline_ro", rB = "d-desktop-inline-block_cb", oB = "d-desktop-inline-flex_4I", iB = "d-desktop-inline-grid_NK", aB = "d-flex-desktop-column_m5", sB = "d-flex-desktop-column-reverse_je", lB = "d-flex-desktop-row_WJ", uB = "d-flex-desktop-row-reverse_2g", cB = "flex-desktop-grow-1_7-", dB = "flex-desktop-grow-2_KF", fB = "flex-desktop-grow-3_7E", hB = "flex-desktop-grow-4_-7", pB = "flex-desktop-grow-5_YR", bB = "flex-desktop-nowrap_RO", gB = "flex-desktop-wrap_Gk", mB = "flex-desktop-wrap-reverse_3J", vB = "flex-desktop-shrink-1_NS", yB = "flex-desktop-shrink-2_uq", xB = "flex-desktop-shrink-3_J2", _B = "flex-desktop-shrink-4_Nb", wB = "flex-desktop-shrink-5_hv", TB = "offset-desktop-auto_3O", kB = "offset-desktop-1_Yu", EB = "offset-desktop-2_8R", CB = "offset-desktop-3_pd", SB = "offset-desktop-4_FW", AB = "offset-desktop-5_l-", PB = "offset-desktop-6_-1", RB = "offset-desktop-7_ID", IB = "offset-desktop-8_Ya", MB = "offset-desktop-9_Rg", OB = "offset-desktop-10_Xm", DB = "offset-desktop-11_IK", FB = "offset-desktop-12_7Q", NB = "position-desktop-absolute_Ee", LB = "position-desktop-fixed_jB", BB = "position-desktop-relative_VK", zB = "position-desktop-static_Fa", WB = "position-desktop-sticky_ak", UB = "m-desktop-0_wE", HB = "m-desktop-1_1u", $B = "m-desktop-2_jT", VB = "m-desktop-3_kp", GB = "m-desktop-4_5j", YB = "m-desktop-5_Vv", XB = "m-desktop-6_17", ZB = "m-desktop-7_MW", KB = "m-desktop-8_S9", JB = "m-desktop-9_gm", QB = "p-desktop-0_UJ", jB = "p-desktop-1_mw", qB = "p-desktop-2_ZZ", ez = "p-desktop-3_Kw", tz = "p-desktop-4_hU", nz = "p-desktop-5_Mx", rz = "p-desktop-6_VN", oz = "p-desktop-7_va", iz = "p-desktop-8_S-", az = "p-desktop-9_ci", sz = "gap-desktop-0_6M", lz = "gap-desktop-1_Sj", uz = "gap-desktop-2_Ya", cz = "gap-desktop-3_ni", dz = "gap-desktop-4_uI", fz = "gap-desktop-5_5w", hz = "gap-desktop-6_s2", pz = "gap-desktop-7_H1", bz = "gap-desktop-8_jj", gz = "gap-desktop-9_BB", mz = "mt-desktop-0_82", vz = "mr-desktop-0_AW", yz = "mb-desktop-0_Qj", xz = "ml-desktop-0_W0", _z = "mt-desktop-1_Ry", wz = "mr-desktop-1_vU", Tz = "mb-desktop-1_SA", kz = "ml-desktop-1_aX", Ez = "mt-desktop-2_qx", Cz = "mr-desktop-2_dp", Sz = "mb-desktop-2_-9", Az = "ml-desktop-2_V4", Pz = "mt-desktop-3_QT", Rz = "mr-desktop-3_ax", Iz = "mb-desktop-3_OI", Mz = "ml-desktop-3_3q", Oz = "mt-desktop-4_Iu", Dz = "mr-desktop-4_Ad", Fz = "mb-desktop-4_8O", Nz = "ml-desktop-4_Sv", Lz = "mt-desktop-5_0Q", Bz = "mr-desktop-5_Wj", zz = "mb-desktop-5_Km", Wz = "ml-desktop-5_Az", Uz = "mt-desktop-6_FT", Hz = "mr-desktop-6_nZ", $z = "mb-desktop-6_9M", Vz = "ml-desktop-6_Fg", Gz = "mt-desktop-7_rl", Yz = "mr-desktop-7_5t", Xz = "mb-desktop-7_HO", Zz = "ml-desktop-7_9j", Kz = "mt-desktop-8_pg", Jz = "mr-desktop-8_4F", Qz = "mb-desktop-8_mk", jz = "ml-desktop-8_-r", qz = "mt-desktop-9_5m", eW = "mr-desktop-9_Oa", tW = "mb-desktop-9_uj", nW = "ml-desktop-9_O-", rW = "pt-desktop-0_7P", oW = "pr-desktop-0_FT", iW = "pb-desktop-0_Rf", aW = "pl-desktop-0_ks", sW = "pt-desktop-1_qH", lW = "pr-desktop-1_Yo", uW = "pb-desktop-1_fZ", cW = "pl-desktop-1_O8", dW = "pt-desktop-2_iU", fW = "pr-desktop-2_-n", hW = "pb-desktop-2_Aw", pW = "pl-desktop-2_y-", bW = "pt-desktop-3_jJ", gW = "pr-desktop-3_JI", mW = "pb-desktop-3_wg", vW = "pl-desktop-3_Me", yW = "pt-desktop-4_64", xW = "pr-desktop-4_bJ", _W = "pb-desktop-4_zH", wW = "pl-desktop-4_9m", TW = "pt-desktop-5_HQ", kW = "pr-desktop-5_GA", EW = "pb-desktop-5_v1", CW = "pl-desktop-5_a8", SW = "pt-desktop-6_an", AW = "pr-desktop-6_so", PW = "pb-desktop-6_Hq", RW = "pl-desktop-6_-F", IW = "pt-desktop-7_-u", MW = "pr-desktop-7_z5", OW = "pb-desktop-7_qb", DW = "pl-desktop-7_fL", FW = "pt-desktop-8_Kv", NW = "pr-desktop-8_5B", LW = "pb-desktop-8_md", BW = "pl-desktop-8_-S", zW = "pt-desktop-9_9S", WW = "pr-desktop-9_kk", UW = "pb-desktop-9_8x", HW = "pl-desktop-9_Z2", $W = "w-desktop-0_-N", VW = "w-desktop-25_C9", GW = "w-desktop-50_l5", YW = "w-desktop-75_L3", XW = "w-desktop-100_P-", ZW = "vw-desktop-0_n-", KW = "vw-desktop-25_V2", JW = "vw-desktop-50_u4", QW = "vw-desktop-75_N5", jW = "vw-desktop-100_9F", qW = "h-desktop-0_A8", eU = "h-desktop-25_7I", tU = "h-desktop-50_bJ", nU = "h-desktop-75_1C", rU = "h-desktop-100_4F", oU = "vh-desktop-0_Q1", iU = "vh-desktop-25_31", aU = "vh-desktop-50_Cf", sU = "vh-desktop-75_1-", lU = "vh-desktop-100_5S", uU = "mx-desktop-0_t9", cU = "mx-desktop-1_C-", dU = "mx-desktop-2_uk", fU = "mx-desktop-3_Qs", hU = "mx-desktop-4_2K", pU = "mx-desktop-5_uX", bU = "mx-desktop-6_TH", gU = "mx-desktop-7_24", mU = "mx-desktop-8_n7", vU = "mx-desktop-9_-S", yU = "my-desktop-0_uR", xU = "my-desktop-1_Xh", _U = "my-desktop-2_Ea", wU = "my-desktop-3_XP", TU = "my-desktop-4_ym", kU = "my-desktop-5_Hs", EU = "my-desktop-6_8k", CU = "my-desktop-7_sd", SU = "my-desktop-8_AO", AU = "my-desktop-9_Bp", PU = "px-desktop-0_tb", RU = "px-desktop-1_bU", IU = "px-desktop-2_W4", MU = "px-desktop-3_Ir", OU = "px-desktop-4_-t", DU = "px-desktop-5_P8", FU = "px-desktop-6_3y", NU = "px-desktop-7_E-", LU = "px-desktop-8_-4", BU = "px-desktop-9_ab", zU = "py-desktop-0_O0", WU = "py-desktop-1_d4", UU = "py-desktop-2_fa", HU = "py-desktop-3_0u", $U = "py-desktop-4_UX", VU = "py-desktop-5_aQ", GU = "py-desktop-6_qc", YU = "py-desktop-7_Xk", XU = "py-desktop-8_OX", ZU = "py-desktop-9_4-", KU = "cursor-pointer_2M", JU = "row_-X", he = {
  alignItemsBaseline: mC,
  alignItemsCenter: vC,
  alignItemsEnd: yC,
  alignItemsStart: xC,
  alignItemsStretch: _C,
  alignContentCenter: wC,
  alignContentEnd: TC,
  alignContentStart: kC,
  alignContentAround: EC,
  alignContentBetween: CC,
  alignContentStretch: SC,
  alignSelfBaseline: AC,
  alignSelfCenter: PC,
  alignSelfEnd: RC,
  alignSelfStart: IC,
  alignSelfStretch: MC,
  justifyContentStart: OC,
  justifyContentEnd: DC,
  justifyContentCenter: FC,
  justifyContentBetween: NC,
  justifyContentAround: LC,
  justifyContentEvenly: BC,
  textAlignStart: zC,
  textAlignEnd: WC,
  textAlignCenter: UC,
  textAlignJustify: HC,
  colAuto: $C,
  col1: VC,
  col2: GC,
  col3: YC,
  col4: XC,
  col5: ZC,
  col6: KC,
  col7: JC,
  col8: QC,
  col9: jC,
  col10: qC,
  col11: eS,
  col12: tS,
  dFlex: nS,
  dBlock: rS,
  dGrid: oS,
  dInline: iS,
  dInlineBlock: aS,
  dInlineFlex: sS,
  dInlineGrid: lS,
  dFlexColumn: uS,
  dFlexColumnReverse: cS,
  dFlexRow: dS,
  dFlexRowReverse: fS,
  flexGrow1: hS,
  flexGrow2: pS,
  flexGrow3: bS,
  flexGrow4: gS,
  flexGrow5: mS,
  flexNowrap: vS,
  flexWrap: yS,
  flexWrapReverse: xS,
  flexShrink1: _S,
  flexShrink2: wS,
  flexShrink3: TS,
  flexShrink4: kS,
  flexShrink5: ES,
  offsetAuto: CS,
  offset1: SS,
  offset2: AS,
  offset3: PS,
  offset4: RS,
  offset5: IS,
  offset6: MS,
  offset7: OS,
  offset8: DS,
  offset9: FS,
  offset10: NS,
  offset11: LS,
  offset12: BS,
  positionAbsolute: zS,
  positionFixed: WS,
  positionRelative: US,
  positionStatic: HS,
  positionSticky: $S,
  m0: VS,
  "m-0_125": "m-0_125_3k",
  "m-0_25": "m-0_25_sU",
  "m-0_5": "m-0_5_2P",
  m1: GS,
  "m-1_5": "m-1_5_nu",
  "m-1_75": "m-1_75_98",
  m2: YS,
  "m-2_5": "m-2_5_Q0",
  m3: XS,
  m4: ZS,
  m5: KS,
  m6: JS,
  m7: QS,
  m8: jS,
  m9: qS,
  p0: e8,
  "p-0_125": "p-0_125_-9",
  "p-0_25": "p-0_25_dY",
  "p-0_5": "p-0_5_7E",
  p1: t8,
  "p-1_5": "p-1_5_8D",
  "p-1_75": "p-1_75_V9",
  p2: n8,
  "p-2_5": "p-2_5_KA",
  p3: r8,
  p4: o8,
  p5: i8,
  p6: a8,
  p7: s8,
  p8: l8,
  p9: u8,
  gap0: c8,
  "gap-0_125": "gap-0_125_hB",
  "gap-0_25": "gap-0_25_S-",
  "gap-0_5": "gap-0_5_GE",
  gap1: d8,
  "gap-1_5": "gap-1_5_QL",
  "gap-1_75": "gap-1_75_ol",
  gap2: f8,
  "gap-2_5": "gap-2_5_ry",
  gap3: h8,
  gap4: p8,
  gap5: b8,
  gap6: g8,
  gap7: m8,
  gap8: v8,
  gap9: y8,
  mt0: x8,
  mr0: _8,
  mb0: w8,
  ml0: T8,
  "mt-0_125": "mt-0_125_3O",
  "mr-0_125": "mr-0_125_NK",
  "mb-0_125": "mb-0_125_Hl",
  "ml-0_125": "ml-0_125_AF",
  "mt-0_25": "mt-0_25_yG",
  "mr-0_25": "mr-0_25_-n",
  "mb-0_25": "mb-0_25_VI",
  "ml-0_25": "ml-0_25_xR",
  "mt-0_5": "mt-0_5_WM",
  "mr-0_5": "mr-0_5_ZM",
  "mb-0_5": "mb-0_5_3L",
  "ml-0_5": "ml-0_5_ve",
  mt1: k8,
  mr1: E8,
  mb1: C8,
  ml1: S8,
  "mt-1_5": "mt-1_5_Eo",
  "mr-1_5": "mr-1_5_cX",
  "mb-1_5": "mb-1_5_8e",
  "ml-1_5": "ml-1_5_6W",
  "mt-1_75": "mt-1_75_3g",
  "mr-1_75": "mr-1_75_2J",
  "mb-1_75": "mb-1_75_CK",
  "ml-1_75": "ml-1_75_cB",
  mt2: A8,
  mr2: P8,
  mb2: R8,
  ml2: I8,
  "mt-2_5": "mt-2_5_bZ",
  "mr-2_5": "mr-2_5_fc",
  "mb-2_5": "mb-2_5_Fy",
  "ml-2_5": "ml-2_5_vI",
  mt3: M8,
  mr3: O8,
  mb3: D8,
  ml3: F8,
  mt4: N8,
  mr4: L8,
  mb4: B8,
  ml4: z8,
  mt5: W8,
  mr5: U8,
  mb5: H8,
  ml5: $8,
  mt6: V8,
  mr6: G8,
  mb6: Y8,
  ml6: X8,
  mt7: Z8,
  mr7: K8,
  mb7: J8,
  ml7: Q8,
  mt8: j8,
  mr8: q8,
  mb8: e9,
  ml8: t9,
  mt9: n9,
  mr9: r9,
  mb9: o9,
  ml9: i9,
  pt0: a9,
  pr0: s9,
  pb0: l9,
  pl0: u9,
  "pt-0_125": "pt-0_125_c0",
  "pr-0_125": "pr-0_125_A8",
  "pb-0_125": "pb-0_125_7k",
  "pl-0_125": "pl-0_125_y3",
  "pt-0_25": "pt-0_25_ZT",
  "pr-0_25": "pr-0_25_Xt",
  "pb-0_25": "pb-0_25_Vp",
  "pl-0_25": "pl-0_25_Qy",
  "pt-0_5": "pt-0_5_R1",
  "pr-0_5": "pr-0_5_JZ",
  "pb-0_5": "pb-0_5_wp",
  "pl-0_5": "pl-0_5_aN",
  pt1: c9,
  pr1: d9,
  pb1: f9,
  pl1: h9,
  "pt-1_5": "pt-1_5_ek",
  "pr-1_5": "pr-1_5_1r",
  "pb-1_5": "pb-1_5_eU",
  "pl-1_5": "pl-1_5_br",
  "pt-1_75": "pt-1_75_yt",
  "pr-1_75": "pr-1_75_rI",
  "pb-1_75": "pb-1_75_-a",
  "pl-1_75": "pl-1_75_a8",
  pt2: p9,
  pr2: b9,
  pb2: g9,
  pl2: m9,
  "pt-2_5": "pt-2_5_Sy",
  "pr-2_5": "pr-2_5_RN",
  "pb-2_5": "pb-2_5_lN",
  "pl-2_5": "pl-2_5_q8",
  pt3: v9,
  pr3: y9,
  pb3: x9,
  pl3: _9,
  pt4: w9,
  pr4: T9,
  pb4: k9,
  pl4: E9,
  pt5: C9,
  pr5: S9,
  pb5: A9,
  pl5: P9,
  pt6: R9,
  pr6: I9,
  pb6: M9,
  pl6: O9,
  pt7: D9,
  pr7: F9,
  pb7: N9,
  pl7: L9,
  pt8: B9,
  pr8: z9,
  pb8: W9,
  pl8: U9,
  pt9: H9,
  pr9: $9,
  pb9: V9,
  pl9: G9,
  w0: Y9,
  w25: X9,
  w50: Z9,
  w75: K9,
  w100: J9,
  vw0: Q9,
  vw25: j9,
  vw50: q9,
  vw75: e7,
  vw100: t7,
  h0: n7,
  h25: r7,
  h50: o7,
  h75: i7,
  h100: a7,
  vh0: s7,
  vh25: l7,
  vh50: u7,
  vh75: c7,
  vh100: d7,
  mx0: f7,
  "mx-0_125": "mx-0_125_ZC",
  "mx-0_25": "mx-0_25_6r",
  "mx-0_5": "mx-0_5_5i",
  mx1: h7,
  "mx-1_5": "mx-1_5_ZM",
  "mx-1_75": "mx-1_75_Up",
  mx2: p7,
  "mx-2_5": "mx-2_5_PT",
  mx3: b7,
  mx4: g7,
  mx5: m7,
  mx6: v7,
  mx7: y7,
  mx8: x7,
  mx9: _7,
  my0: w7,
  "my-0_125": "my-0_125_Qx",
  "my-0_25": "my-0_25_l8",
  "my-0_5": "my-0_5_UK",
  my1: T7,
  "my-1_5": "my-1_5_1I",
  "my-1_75": "my-1_75_md",
  my2: k7,
  "my-2_5": "my-2_5_2D",
  my3: E7,
  my4: C7,
  my5: S7,
  my6: A7,
  my7: P7,
  my8: R7,
  my9: I7,
  px0: M7,
  "px-0_125": "px-0_125_Tb",
  "px-0_25": "px-0_25_ST",
  "px-0_5": "px-0_5_lm",
  px1: O7,
  "px-1_5": "px-1_5_8G",
  "px-1_75": "px-1_75_MD",
  px2: D7,
  "px-2_5": "px-2_5_V4",
  px3: F7,
  px4: N7,
  px5: L7,
  px6: B7,
  px7: z7,
  px8: W7,
  px9: U7,
  py0: H7,
  "py-0_125": "py-0_125_E3",
  "py-0_25": "py-0_25_I3",
  "py-0_5": "py-0_5_xl",
  py1: $7,
  "py-1_5": "py-1_5_UU",
  "py-1_75": "py-1_75_u2",
  py2: V7,
  "py-2_5": "py-2_5_rz",
  py3: G7,
  py4: Y7,
  py5: X7,
  py6: Z7,
  py7: K7,
  py8: J7,
  py9: Q7,
  alignItemsMobileBaseline: j7,
  alignItemsMobileCenter: q7,
  alignItemsMobileEnd: eA,
  alignItemsMobileStart: tA,
  alignItemsMobileStretch: nA,
  alignContentMobileCenter: rA,
  alignContentMobileEnd: oA,
  alignContentMobileStart: iA,
  alignContentMobileAround: aA,
  alignContentMobileBetween: sA,
  alignContentMobileStretch: lA,
  alignSelfMobileBaseline: uA,
  alignSelfMobileCenter: cA,
  alignSelfMobileEnd: dA,
  alignSelfMobileStart: fA,
  alignSelfMobileStretch: hA,
  justifyContentMobileStart: pA,
  justifyContentMobileEnd: bA,
  justifyContentMobileCenter: gA,
  justifyContentMobileBetween: mA,
  justifyContentMobileAround: vA,
  justifyContentMobileEvenly: yA,
  textAlignMobileStart: xA,
  textAlignMobileEnd: _A,
  textAlignMobileCenter: wA,
  textAlignMobileJustify: TA,
  colMobileAuto: kA,
  colMobile1: EA,
  colMobile2: CA,
  colMobile3: SA,
  colMobile4: AA,
  colMobile5: PA,
  colMobile6: RA,
  colMobile7: IA,
  colMobile8: MA,
  colMobile9: OA,
  colMobile10: DA,
  colMobile11: FA,
  colMobile12: NA,
  dMobileFlex: LA,
  dMobileBlock: BA,
  dMobileGrid: zA,
  dMobileInline: WA,
  dMobileInlineBlock: UA,
  dMobileInlineFlex: HA,
  dMobileInlineGrid: $A,
  dFlexMobileColumn: VA,
  dFlexMobileColumnReverse: GA,
  dFlexMobileRow: YA,
  dFlexMobileRowReverse: XA,
  flexMobileGrow1: ZA,
  flexMobileGrow2: KA,
  flexMobileGrow3: JA,
  flexMobileGrow4: QA,
  flexMobileGrow5: jA,
  flexMobileNowrap: qA,
  flexMobileWrap: eP,
  flexMobileWrapReverse: tP,
  flexMobileShrink1: nP,
  flexMobileShrink2: rP,
  flexMobileShrink3: oP,
  flexMobileShrink4: iP,
  flexMobileShrink5: aP,
  offsetMobileAuto: sP,
  offsetMobile1: lP,
  offsetMobile2: uP,
  offsetMobile3: cP,
  offsetMobile4: dP,
  offsetMobile5: fP,
  offsetMobile6: hP,
  offsetMobile7: pP,
  offsetMobile8: bP,
  offsetMobile9: gP,
  offsetMobile10: mP,
  offsetMobile11: vP,
  offsetMobile12: yP,
  positionMobileAbsolute: xP,
  positionMobileFixed: _P,
  positionMobileRelative: wP,
  positionMobileStatic: TP,
  positionMobileSticky: kP,
  mMobile0: EP,
  "m-mobile-0_125": "m-mobile-0_125_S1",
  "m-mobile-0_25": "m-mobile-0_25_tP",
  "m-mobile-0_5": "m-mobile-0_5_ur",
  mMobile1: CP,
  "m-mobile-1_5": "m-mobile-1_5_ts",
  "m-mobile-1_75": "m-mobile-1_75_nH",
  mMobile2: SP,
  "m-mobile-2_5": "m-mobile-2_5_oY",
  mMobile3: AP,
  mMobile4: PP,
  mMobile5: RP,
  mMobile6: IP,
  mMobile7: MP,
  mMobile8: OP,
  mMobile9: DP,
  pMobile0: FP,
  "p-mobile-0_125": "p-mobile-0_125_fy",
  "p-mobile-0_25": "p-mobile-0_25_-C",
  "p-mobile-0_5": "p-mobile-0_5_hf",
  pMobile1: NP,
  "p-mobile-1_5": "p-mobile-1_5_U-",
  "p-mobile-1_75": "p-mobile-1_75_Vn",
  pMobile2: LP,
  "p-mobile-2_5": "p-mobile-2_5_dE",
  pMobile3: BP,
  pMobile4: zP,
  pMobile5: WP,
  pMobile6: UP,
  pMobile7: HP,
  pMobile8: $P,
  pMobile9: VP,
  gapMobile0: GP,
  "gap-mobile-0_125": "gap-mobile-0_125_7I",
  "gap-mobile-0_25": "gap-mobile-0_25_Ea",
  "gap-mobile-0_5": "gap-mobile-0_5_Io",
  gapMobile1: YP,
  "gap-mobile-1_5": "gap-mobile-1_5_v4",
  "gap-mobile-1_75": "gap-mobile-1_75_ct",
  gapMobile2: XP,
  "gap-mobile-2_5": "gap-mobile-2_5_6A",
  gapMobile3: ZP,
  gapMobile4: KP,
  gapMobile5: JP,
  gapMobile6: QP,
  gapMobile7: jP,
  gapMobile8: qP,
  gapMobile9: eR,
  mtMobile0: tR,
  mrMobile0: nR,
  mbMobile0: rR,
  mlMobile0: oR,
  "mt-mobile-0_125": "mt-mobile-0_125_cJ",
  "mr-mobile-0_125": "mr-mobile-0_125_Ty",
  "mb-mobile-0_125": "mb-mobile-0_125_5K",
  "ml-mobile-0_125": "ml-mobile-0_125_F2",
  "mt-mobile-0_25": "mt-mobile-0_25_7L",
  "mr-mobile-0_25": "mr-mobile-0_25_OQ",
  "mb-mobile-0_25": "mb-mobile-0_25_YP",
  "ml-mobile-0_25": "ml-mobile-0_25_Rb",
  "mt-mobile-0_5": "mt-mobile-0_5_tb",
  "mr-mobile-0_5": "mr-mobile-0_5_Xn",
  "mb-mobile-0_5": "mb-mobile-0_5_Tp",
  "ml-mobile-0_5": "ml-mobile-0_5_Qv",
  mtMobile1: iR,
  mrMobile1: aR,
  mbMobile1: sR,
  mlMobile1: lR,
  "mt-mobile-1_5": "mt-mobile-1_5_2G",
  "mr-mobile-1_5": "mr-mobile-1_5_Lp",
  "mb-mobile-1_5": "mb-mobile-1_5_ni",
  "ml-mobile-1_5": "ml-mobile-1_5_Pu",
  "mt-mobile-1_75": "mt-mobile-1_75_sX",
  "mr-mobile-1_75": "mr-mobile-1_75_Sw",
  "mb-mobile-1_75": "mb-mobile-1_75_P9",
  "ml-mobile-1_75": "ml-mobile-1_75_Rl",
  mtMobile2: uR,
  mrMobile2: cR,
  mbMobile2: dR,
  mlMobile2: fR,
  "mt-mobile-2_5": "mt-mobile-2_5_F4",
  "mr-mobile-2_5": "mr-mobile-2_5_JQ",
  "mb-mobile-2_5": "mb-mobile-2_5_-V",
  "ml-mobile-2_5": "ml-mobile-2_5_4o",
  mtMobile3: hR,
  mrMobile3: pR,
  mbMobile3: bR,
  mlMobile3: gR,
  mtMobile4: mR,
  mrMobile4: vR,
  mbMobile4: yR,
  mlMobile4: xR,
  mtMobile5: _R,
  mrMobile5: wR,
  mbMobile5: TR,
  mlMobile5: kR,
  mtMobile6: ER,
  mrMobile6: CR,
  mbMobile6: SR,
  mlMobile6: AR,
  mtMobile7: PR,
  mrMobile7: RR,
  mbMobile7: IR,
  mlMobile7: MR,
  mtMobile8: OR,
  mrMobile8: DR,
  mbMobile8: FR,
  mlMobile8: NR,
  mtMobile9: LR,
  mrMobile9: BR,
  mbMobile9: zR,
  mlMobile9: WR,
  ptMobile0: UR,
  prMobile0: HR,
  pbMobile0: $R,
  plMobile0: VR,
  "pt-mobile-0_125": "pt-mobile-0_125_3l",
  "pr-mobile-0_125": "pr-mobile-0_125_to",
  "pb-mobile-0_125": "pb-mobile-0_125_by",
  "pl-mobile-0_125": "pl-mobile-0_125_DE",
  "pt-mobile-0_25": "pt-mobile-0_25_-t",
  "pr-mobile-0_25": "pr-mobile-0_25_qC",
  "pb-mobile-0_25": "pb-mobile-0_25_z6",
  "pl-mobile-0_25": "pl-mobile-0_25_XI",
  "pt-mobile-0_5": "pt-mobile-0_5_X7",
  "pr-mobile-0_5": "pr-mobile-0_5_kA",
  "pb-mobile-0_5": "pb-mobile-0_5_Qi",
  "pl-mobile-0_5": "pl-mobile-0_5_B3",
  ptMobile1: GR,
  prMobile1: YR,
  pbMobile1: XR,
  plMobile1: ZR,
  "pt-mobile-1_5": "pt-mobile-1_5_U4",
  "pr-mobile-1_5": "pr-mobile-1_5_p6",
  "pb-mobile-1_5": "pb-mobile-1_5_NG",
  "pl-mobile-1_5": "pl-mobile-1_5_iF",
  "pt-mobile-1_75": "pt-mobile-1_75_-U",
  "pr-mobile-1_75": "pr-mobile-1_75_Uj",
  "pb-mobile-1_75": "pb-mobile-1_75_TI",
  "pl-mobile-1_75": "pl-mobile-1_75_M9",
  ptMobile2: KR,
  prMobile2: JR,
  pbMobile2: QR,
  plMobile2: jR,
  "pt-mobile-2_5": "pt-mobile-2_5_WJ",
  "pr-mobile-2_5": "pr-mobile-2_5_6d",
  "pb-mobile-2_5": "pb-mobile-2_5_9N",
  "pl-mobile-2_5": "pl-mobile-2_5_1a",
  ptMobile3: qR,
  prMobile3: eI,
  pbMobile3: tI,
  plMobile3: nI,
  ptMobile4: rI,
  prMobile4: oI,
  pbMobile4: iI,
  plMobile4: aI,
  ptMobile5: sI,
  prMobile5: lI,
  pbMobile5: uI,
  plMobile5: cI,
  ptMobile6: dI,
  prMobile6: fI,
  pbMobile6: hI,
  plMobile6: pI,
  ptMobile7: bI,
  prMobile7: gI,
  pbMobile7: mI,
  plMobile7: vI,
  ptMobile8: yI,
  prMobile8: xI,
  pbMobile8: _I,
  plMobile8: wI,
  ptMobile9: TI,
  prMobile9: kI,
  pbMobile9: EI,
  plMobile9: CI,
  wMobile0: SI,
  wMobile25: AI,
  wMobile50: PI,
  wMobile75: RI,
  wMobile100: II,
  vwMobile0: MI,
  vwMobile25: OI,
  vwMobile50: DI,
  vwMobile75: FI,
  vwMobile100: NI,
  hMobile0: LI,
  hMobile25: BI,
  hMobile50: zI,
  hMobile75: WI,
  hMobile100: UI,
  vhMobile0: HI,
  vhMobile25: $I,
  vhMobile50: VI,
  vhMobile75: GI,
  vhMobile100: YI,
  mxMobile0: XI,
  "mx-mobile-0_125": "mx-mobile-0_125_ZN",
  "mx-mobile-0_25": "mx-mobile-0_25_lC",
  "mx-mobile-0_5": "mx-mobile-0_5_VQ",
  mxMobile1: ZI,
  "mx-mobile-1_5": "mx-mobile-1_5_EV",
  "mx-mobile-1_75": "mx-mobile-1_75_1g",
  mxMobile2: KI,
  "mx-mobile-2_5": "mx-mobile-2_5_ou",
  mxMobile3: JI,
  mxMobile4: QI,
  mxMobile5: jI,
  mxMobile6: qI,
  mxMobile7: eM,
  mxMobile8: tM,
  mxMobile9: nM,
  myMobile0: rM,
  "my-mobile-0_125": "my-mobile-0_125_Pw",
  "my-mobile-0_25": "my-mobile-0_25_d4",
  "my-mobile-0_5": "my-mobile-0_5_-Z",
  myMobile1: oM,
  "my-mobile-1_5": "my-mobile-1_5_u9",
  "my-mobile-1_75": "my-mobile-1_75_Xi",
  myMobile2: iM,
  "my-mobile-2_5": "my-mobile-2_5_DS",
  myMobile3: aM,
  myMobile4: sM,
  myMobile5: lM,
  myMobile6: uM,
  myMobile7: cM,
  myMobile8: dM,
  myMobile9: fM,
  pxMobile0: hM,
  "px-mobile-0_125": "px-mobile-0_125_TI",
  "px-mobile-0_25": "px-mobile-0_25_VE",
  "px-mobile-0_5": "px-mobile-0_5_jV",
  pxMobile1: pM,
  "px-mobile-1_5": "px-mobile-1_5_LF",
  "px-mobile-1_75": "px-mobile-1_75_6E",
  pxMobile2: bM,
  "px-mobile-2_5": "px-mobile-2_5_zP",
  pxMobile3: gM,
  pxMobile4: mM,
  pxMobile5: vM,
  pxMobile6: yM,
  pxMobile7: xM,
  pxMobile8: _M,
  pxMobile9: wM,
  pyMobile0: TM,
  "py-mobile-0_125": "py-mobile-0_125_TC",
  "py-mobile-0_25": "py-mobile-0_25_lc",
  "py-mobile-0_5": "py-mobile-0_5_ct",
  pyMobile1: kM,
  "py-mobile-1_5": "py-mobile-1_5_3R",
  "py-mobile-1_75": "py-mobile-1_75_Uq",
  pyMobile2: EM,
  "py-mobile-2_5": "py-mobile-2_5_zW",
  pyMobile3: CM,
  pyMobile4: SM,
  pyMobile5: AM,
  pyMobile6: PM,
  pyMobile7: RM,
  pyMobile8: IM,
  pyMobile9: MM,
  alignItemsTabletBaseline: OM,
  alignItemsTabletCenter: DM,
  alignItemsTabletEnd: FM,
  alignItemsTabletStart: NM,
  alignItemsTabletStretch: LM,
  alignContentTabletCenter: BM,
  alignContentTabletEnd: zM,
  alignContentTabletStart: WM,
  alignContentTabletAround: UM,
  alignContentTabletBetween: HM,
  alignContentTabletStretch: $M,
  alignSelfTabletBaseline: VM,
  alignSelfTabletCenter: GM,
  alignSelfTabletEnd: YM,
  alignSelfTabletStart: XM,
  alignSelfTabletStretch: ZM,
  justifyContentTabletStart: KM,
  justifyContentTabletEnd: JM,
  justifyContentTabletCenter: QM,
  justifyContentTabletBetween: jM,
  justifyContentTabletAround: qM,
  justifyContentTabletEvenly: eO,
  textAlignTabletStart: tO,
  textAlignTabletEnd: nO,
  textAlignTabletCenter: rO,
  textAlignTabletJustify: oO,
  colTabletAuto: iO,
  colTablet1: aO,
  colTablet2: sO,
  colTablet3: lO,
  colTablet4: uO,
  colTablet5: cO,
  colTablet6: dO,
  colTablet7: fO,
  colTablet8: hO,
  colTablet9: pO,
  colTablet10: bO,
  colTablet11: gO,
  colTablet12: mO,
  dTabletFlex: vO,
  dTabletBlock: yO,
  dTabletGrid: xO,
  dTabletInline: _O,
  dTabletInlineBlock: wO,
  dTabletInlineFlex: TO,
  dTabletInlineGrid: kO,
  dFlexTabletColumn: EO,
  dFlexTabletColumnReverse: CO,
  dFlexTabletRow: SO,
  dFlexTabletRowReverse: AO,
  flexTabletGrow1: PO,
  flexTabletGrow2: RO,
  flexTabletGrow3: IO,
  flexTabletGrow4: MO,
  flexTabletGrow5: OO,
  flexTabletNowrap: DO,
  flexTabletWrap: FO,
  flexTabletWrapReverse: NO,
  flexTabletShrink1: LO,
  flexTabletShrink2: BO,
  flexTabletShrink3: zO,
  flexTabletShrink4: WO,
  flexTabletShrink5: UO,
  offsetTabletAuto: HO,
  offsetTablet1: $O,
  offsetTablet2: VO,
  offsetTablet3: GO,
  offsetTablet4: YO,
  offsetTablet5: XO,
  offsetTablet6: ZO,
  offsetTablet7: KO,
  offsetTablet8: JO,
  offsetTablet9: QO,
  offsetTablet10: jO,
  offsetTablet11: qO,
  offsetTablet12: eD,
  positionTabletAbsolute: tD,
  positionTabletFixed: nD,
  positionTabletRelative: rD,
  positionTabletStatic: oD,
  positionTabletSticky: iD,
  mTablet0: aD,
  "m-tablet-0_125": "m-tablet-0_125_Qx",
  "m-tablet-0_25": "m-tablet-0_25_Q5",
  "m-tablet-0_5": "m-tablet-0_5_-1",
  mTablet1: sD,
  "m-tablet-1_5": "m-tablet-1_5_hE",
  "m-tablet-1_75": "m-tablet-1_75_ae",
  mTablet2: lD,
  "m-tablet-2_5": "m-tablet-2_5_Tv",
  mTablet3: uD,
  mTablet4: cD,
  mTablet5: dD,
  mTablet6: fD,
  mTablet7: hD,
  mTablet8: pD,
  mTablet9: bD,
  pTablet0: gD,
  "p-tablet-0_125": "p-tablet-0_125_VA",
  "p-tablet-0_25": "p-tablet-0_25_Gh",
  "p-tablet-0_5": "p-tablet-0_5_Y5",
  pTablet1: mD,
  "p-tablet-1_5": "p-tablet-1_5_fD",
  "p-tablet-1_75": "p-tablet-1_75_yq",
  pTablet2: vD,
  "p-tablet-2_5": "p-tablet-2_5_6z",
  pTablet3: yD,
  pTablet4: xD,
  pTablet5: _D,
  pTablet6: wD,
  pTablet7: TD,
  pTablet8: kD,
  pTablet9: ED,
  gapTablet0: CD,
  "gap-tablet-0_125": "gap-tablet-0_125_RY",
  "gap-tablet-0_25": "gap-tablet-0_25_mE",
  "gap-tablet-0_5": "gap-tablet-0_5_Vu",
  gapTablet1: SD,
  "gap-tablet-1_5": "gap-tablet-1_5_90",
  "gap-tablet-1_75": "gap-tablet-1_75_EJ",
  gapTablet2: AD,
  "gap-tablet-2_5": "gap-tablet-2_5_eU",
  gapTablet3: PD,
  gapTablet4: RD,
  gapTablet5: ID,
  gapTablet6: MD,
  gapTablet7: OD,
  gapTablet8: DD,
  gapTablet9: FD,
  mtTablet0: ND,
  mrTablet0: LD,
  mbTablet0: BD,
  mlTablet0: zD,
  "mt-tablet-0_125": "mt-tablet-0_125_1u",
  "mr-tablet-0_125": "mr-tablet-0_125_NR",
  "mb-tablet-0_125": "mb-tablet-0_125_gQ",
  "ml-tablet-0_125": "ml-tablet-0_125_qW",
  "mt-tablet-0_25": "mt-tablet-0_25_iA",
  "mr-tablet-0_25": "mr-tablet-0_25_CH",
  "mb-tablet-0_25": "mb-tablet-0_25_6e",
  "ml-tablet-0_25": "ml-tablet-0_25_Jf",
  "mt-tablet-0_5": "mt-tablet-0_5_-n",
  "mr-tablet-0_5": "mr-tablet-0_5_5L",
  "mb-tablet-0_5": "mb-tablet-0_5_X3",
  "ml-tablet-0_5": "ml-tablet-0_5_ly",
  mtTablet1: WD,
  mrTablet1: UD,
  mbTablet1: HD,
  mlTablet1: $D,
  "mt-tablet-1_5": "mt-tablet-1_5_7d",
  "mr-tablet-1_5": "mr-tablet-1_5_3Q",
  "mb-tablet-1_5": "mb-tablet-1_5_tV",
  "ml-tablet-1_5": "ml-tablet-1_5_pM",
  "mt-tablet-1_75": "mt-tablet-1_75_Ge",
  "mr-tablet-1_75": "mr-tablet-1_75_Y9",
  "mb-tablet-1_75": "mb-tablet-1_75_xF",
  "ml-tablet-1_75": "ml-tablet-1_75_iq",
  mtTablet2: VD,
  mrTablet2: GD,
  mbTablet2: YD,
  mlTablet2: XD,
  "mt-tablet-2_5": "mt-tablet-2_5_Y3",
  "mr-tablet-2_5": "mr-tablet-2_5_hJ",
  "mb-tablet-2_5": "mb-tablet-2_5_yC",
  "ml-tablet-2_5": "ml-tablet-2_5_ZK",
  mtTablet3: ZD,
  mrTablet3: KD,
  mbTablet3: JD,
  mlTablet3: QD,
  mtTablet4: jD,
  mrTablet4: qD,
  mbTablet4: eF,
  mlTablet4: tF,
  mtTablet5: nF,
  mrTablet5: rF,
  mbTablet5: oF,
  mlTablet5: iF,
  mtTablet6: aF,
  mrTablet6: sF,
  mbTablet6: lF,
  mlTablet6: uF,
  mtTablet7: cF,
  mrTablet7: dF,
  mbTablet7: fF,
  mlTablet7: hF,
  mtTablet8: pF,
  mrTablet8: bF,
  mbTablet8: gF,
  mlTablet8: mF,
  mtTablet9: vF,
  mrTablet9: yF,
  mbTablet9: xF,
  mlTablet9: _F,
  ptTablet0: wF,
  prTablet0: TF,
  pbTablet0: kF,
  plTablet0: EF,
  "pt-tablet-0_125": "pt-tablet-0_125_ug",
  "pr-tablet-0_125": "pr-tablet-0_125_H-",
  "pb-tablet-0_125": "pb-tablet-0_125_Ib",
  "pl-tablet-0_125": "pl-tablet-0_125_In",
  "pt-tablet-0_25": "pt-tablet-0_25_ci",
  "pr-tablet-0_25": "pr-tablet-0_25_bg",
  "pb-tablet-0_25": "pb-tablet-0_25_92",
  "pl-tablet-0_25": "pl-tablet-0_25_-k",
  "pt-tablet-0_5": "pt-tablet-0_5_n5",
  "pr-tablet-0_5": "pr-tablet-0_5_IV",
  "pb-tablet-0_5": "pb-tablet-0_5_y8",
  "pl-tablet-0_5": "pl-tablet-0_5_9O",
  ptTablet1: CF,
  prTablet1: SF,
  pbTablet1: AF,
  plTablet1: PF,
  "pt-tablet-1_5": "pt-tablet-1_5_SB",
  "pr-tablet-1_5": "pr-tablet-1_5_4N",
  "pb-tablet-1_5": "pb-tablet-1_5_YK",
  "pl-tablet-1_5": "pl-tablet-1_5_YV",
  "pt-tablet-1_75": "pt-tablet-1_75_q8",
  "pr-tablet-1_75": "pr-tablet-1_75_f6",
  "pb-tablet-1_75": "pb-tablet-1_75_-D",
  "pl-tablet-1_75": "pl-tablet-1_75_JR",
  ptTablet2: RF,
  prTablet2: IF,
  pbTablet2: MF,
  plTablet2: OF,
  "pt-tablet-2_5": "pt-tablet-2_5_Ja",
  "pr-tablet-2_5": "pr-tablet-2_5_s6",
  "pb-tablet-2_5": "pb-tablet-2_5_Bd",
  "pl-tablet-2_5": "pl-tablet-2_5_rG",
  ptTablet3: DF,
  prTablet3: FF,
  pbTablet3: NF,
  plTablet3: LF,
  ptTablet4: BF,
  prTablet4: zF,
  pbTablet4: WF,
  plTablet4: UF,
  ptTablet5: HF,
  prTablet5: $F,
  pbTablet5: VF,
  plTablet5: GF,
  ptTablet6: YF,
  prTablet6: XF,
  pbTablet6: ZF,
  plTablet6: KF,
  ptTablet7: JF,
  prTablet7: QF,
  pbTablet7: jF,
  plTablet7: qF,
  ptTablet8: eN,
  prTablet8: tN,
  pbTablet8: nN,
  plTablet8: rN,
  ptTablet9: oN,
  prTablet9: iN,
  pbTablet9: aN,
  plTablet9: sN,
  wTablet0: lN,
  wTablet25: uN,
  wTablet50: cN,
  wTablet75: dN,
  wTablet100: fN,
  vwTablet0: hN,
  vwTablet25: pN,
  vwTablet50: bN,
  vwTablet75: gN,
  vwTablet100: mN,
  hTablet0: vN,
  hTablet25: yN,
  hTablet50: xN,
  hTablet75: _N,
  hTablet100: wN,
  vhTablet0: TN,
  vhTablet25: kN,
  vhTablet50: EN,
  vhTablet75: CN,
  vhTablet100: SN,
  mxTablet0: AN,
  "mx-tablet-0_125": "mx-tablet-0_125_hv",
  "mx-tablet-0_25": "mx-tablet-0_25_Sv",
  "mx-tablet-0_5": "mx-tablet-0_5_7L",
  mxTablet1: PN,
  "mx-tablet-1_5": "mx-tablet-1_5_Sp",
  "mx-tablet-1_75": "mx-tablet-1_75_1P",
  mxTablet2: RN,
  "mx-tablet-2_5": "mx-tablet-2_5_rg",
  mxTablet3: IN,
  mxTablet4: MN,
  mxTablet5: ON,
  mxTablet6: DN,
  mxTablet7: FN,
  mxTablet8: NN,
  mxTablet9: LN,
  myTablet0: BN,
  "my-tablet-0_125": "my-tablet-0_125_Ql",
  "my-tablet-0_25": "my-tablet-0_25_VW",
  "my-tablet-0_5": "my-tablet-0_5_Z-",
  myTablet1: zN,
  "my-tablet-1_5": "my-tablet-1_5_Ia",
  "my-tablet-1_75": "my-tablet-1_75_sx",
  myTablet2: WN,
  "my-tablet-2_5": "my-tablet-2_5_Si",
  myTablet3: UN,
  myTablet4: HN,
  myTablet5: $N,
  myTablet6: VN,
  myTablet7: GN,
  myTablet8: YN,
  myTablet9: XN,
  pxTablet0: ZN,
  "px-tablet-0_125": "px-tablet-0_125_jC",
  "px-tablet-0_25": "px-tablet-0_25_Na",
  "px-tablet-0_5": "px-tablet-0_5_-a",
  pxTablet1: KN,
  "px-tablet-1_5": "px-tablet-1_5_l3",
  "px-tablet-1_75": "px-tablet-1_75_b9",
  pxTablet2: JN,
  "px-tablet-2_5": "px-tablet-2_5_Tc",
  pxTablet3: QN,
  pxTablet4: jN,
  pxTablet5: qN,
  pxTablet6: eL,
  pxTablet7: tL,
  pxTablet8: nL,
  pxTablet9: rL,
  pyTablet0: oL,
  "py-tablet-0_125": "py-tablet-0_125_me",
  "py-tablet-0_25": "py-tablet-0_25_v3",
  "py-tablet-0_5": "py-tablet-0_5_JN",
  pyTablet1: iL,
  "py-tablet-1_5": "py-tablet-1_5_wl",
  "py-tablet-1_75": "py-tablet-1_75_KZ",
  pyTablet2: aL,
  "py-tablet-2_5": "py-tablet-2_5_38",
  pyTablet3: sL,
  pyTablet4: lL,
  pyTablet5: uL,
  pyTablet6: cL,
  pyTablet7: dL,
  pyTablet8: fL,
  pyTablet9: hL,
  alignItemsDesktopBaseline: pL,
  alignItemsDesktopCenter: bL,
  alignItemsDesktopEnd: gL,
  alignItemsDesktopStart: mL,
  alignItemsDesktopStretch: vL,
  alignContentDesktopCenter: yL,
  alignContentDesktopEnd: xL,
  alignContentDesktopStart: _L,
  alignContentDesktopAround: wL,
  alignContentDesktopBetween: TL,
  alignContentDesktopStretch: kL,
  alignSelfDesktopBaseline: EL,
  alignSelfDesktopCenter: CL,
  alignSelfDesktopEnd: SL,
  alignSelfDesktopStart: AL,
  alignSelfDesktopStretch: PL,
  justifyContentDesktopStart: RL,
  justifyContentDesktopEnd: IL,
  justifyContentDesktopCenter: ML,
  justifyContentDesktopBetween: OL,
  justifyContentDesktopAround: DL,
  justifyContentDesktopEvenly: FL,
  textAlignDesktopStart: NL,
  textAlignDesktopEnd: LL,
  textAlignDesktopCenter: BL,
  textAlignDesktopJustify: zL,
  colDesktopAuto: WL,
  colDesktop1: UL,
  colDesktop2: HL,
  colDesktop3: $L,
  colDesktop4: VL,
  colDesktop5: GL,
  colDesktop6: YL,
  colDesktop7: XL,
  colDesktop8: ZL,
  colDesktop9: KL,
  colDesktop10: JL,
  colDesktop11: QL,
  colDesktop12: jL,
  dDesktopFlex: qL,
  dDesktopBlock: eB,
  dDesktopGrid: tB,
  dDesktopInline: nB,
  dDesktopInlineBlock: rB,
  dDesktopInlineFlex: oB,
  dDesktopInlineGrid: iB,
  dFlexDesktopColumn: aB,
  dFlexDesktopColumnReverse: sB,
  dFlexDesktopRow: lB,
  dFlexDesktopRowReverse: uB,
  flexDesktopGrow1: cB,
  flexDesktopGrow2: dB,
  flexDesktopGrow3: fB,
  flexDesktopGrow4: hB,
  flexDesktopGrow5: pB,
  flexDesktopNowrap: bB,
  flexDesktopWrap: gB,
  flexDesktopWrapReverse: mB,
  flexDesktopShrink1: vB,
  flexDesktopShrink2: yB,
  flexDesktopShrink3: xB,
  flexDesktopShrink4: _B,
  flexDesktopShrink5: wB,
  offsetDesktopAuto: TB,
  offsetDesktop1: kB,
  offsetDesktop2: EB,
  offsetDesktop3: CB,
  offsetDesktop4: SB,
  offsetDesktop5: AB,
  offsetDesktop6: PB,
  offsetDesktop7: RB,
  offsetDesktop8: IB,
  offsetDesktop9: MB,
  offsetDesktop10: OB,
  offsetDesktop11: DB,
  offsetDesktop12: FB,
  positionDesktopAbsolute: NB,
  positionDesktopFixed: LB,
  positionDesktopRelative: BB,
  positionDesktopStatic: zB,
  positionDesktopSticky: WB,
  mDesktop0: UB,
  "m-desktop-0_125": "m-desktop-0_125_6X",
  "m-desktop-0_25": "m-desktop-0_25_97",
  "m-desktop-0_5": "m-desktop-0_5_Ye",
  mDesktop1: HB,
  "m-desktop-1_5": "m-desktop-1_5_Cm",
  "m-desktop-1_75": "m-desktop-1_75_lp",
  mDesktop2: $B,
  "m-desktop-2_5": "m-desktop-2_5_fs",
  mDesktop3: VB,
  mDesktop4: GB,
  mDesktop5: YB,
  mDesktop6: XB,
  mDesktop7: ZB,
  mDesktop8: KB,
  mDesktop9: JB,
  pDesktop0: QB,
  "p-desktop-0_125": "p-desktop-0_125_9V",
  "p-desktop-0_25": "p-desktop-0_25_-C",
  "p-desktop-0_5": "p-desktop-0_5_4i",
  pDesktop1: jB,
  "p-desktop-1_5": "p-desktop-1_5_iM",
  "p-desktop-1_75": "p-desktop-1_75_E0",
  pDesktop2: qB,
  "p-desktop-2_5": "p-desktop-2_5_go",
  pDesktop3: ez,
  pDesktop4: tz,
  pDesktop5: nz,
  pDesktop6: rz,
  pDesktop7: oz,
  pDesktop8: iz,
  pDesktop9: az,
  gapDesktop0: sz,
  "gap-desktop-0_125": "gap-desktop-0_125_ja",
  "gap-desktop-0_25": "gap-desktop-0_25_wZ",
  "gap-desktop-0_5": "gap-desktop-0_5_6V",
  gapDesktop1: lz,
  "gap-desktop-1_5": "gap-desktop-1_5_vv",
  "gap-desktop-1_75": "gap-desktop-1_75_hR",
  gapDesktop2: uz,
  "gap-desktop-2_5": "gap-desktop-2_5_gG",
  gapDesktop3: cz,
  gapDesktop4: dz,
  gapDesktop5: fz,
  gapDesktop6: hz,
  gapDesktop7: pz,
  gapDesktop8: bz,
  gapDesktop9: gz,
  mtDesktop0: mz,
  mrDesktop0: vz,
  mbDesktop0: yz,
  mlDesktop0: xz,
  "mt-desktop-0_125": "mt-desktop-0_125_rL",
  "mr-desktop-0_125": "mr-desktop-0_125_um",
  "mb-desktop-0_125": "mb-desktop-0_125_rv",
  "ml-desktop-0_125": "ml-desktop-0_125_zK",
  "mt-desktop-0_25": "mt-desktop-0_25_T0",
  "mr-desktop-0_25": "mr-desktop-0_25_-N",
  "mb-desktop-0_25": "mb-desktop-0_25_-6",
  "ml-desktop-0_25": "ml-desktop-0_25_y0",
  "mt-desktop-0_5": "mt-desktop-0_5_HC",
  "mr-desktop-0_5": "mr-desktop-0_5_kt",
  "mb-desktop-0_5": "mb-desktop-0_5_mx",
  "ml-desktop-0_5": "ml-desktop-0_5_dD",
  mtDesktop1: _z,
  mrDesktop1: wz,
  mbDesktop1: Tz,
  mlDesktop1: kz,
  "mt-desktop-1_5": "mt-desktop-1_5_53",
  "mr-desktop-1_5": "mr-desktop-1_5_dn",
  "mb-desktop-1_5": "mb-desktop-1_5_sS",
  "ml-desktop-1_5": "ml-desktop-1_5_-K",
  "mt-desktop-1_75": "mt-desktop-1_75_4u",
  "mr-desktop-1_75": "mr-desktop-1_75_II",
  "mb-desktop-1_75": "mb-desktop-1_75_OY",
  "ml-desktop-1_75": "ml-desktop-1_75_T8",
  mtDesktop2: Ez,
  mrDesktop2: Cz,
  mbDesktop2: Sz,
  mlDesktop2: Az,
  "mt-desktop-2_5": "mt-desktop-2_5_1z",
  "mr-desktop-2_5": "mr-desktop-2_5_tF",
  "mb-desktop-2_5": "mb-desktop-2_5_-N",
  "ml-desktop-2_5": "ml-desktop-2_5_yy",
  mtDesktop3: Pz,
  mrDesktop3: Rz,
  mbDesktop3: Iz,
  mlDesktop3: Mz,
  mtDesktop4: Oz,
  mrDesktop4: Dz,
  mbDesktop4: Fz,
  mlDesktop4: Nz,
  mtDesktop5: Lz,
  mrDesktop5: Bz,
  mbDesktop5: zz,
  mlDesktop5: Wz,
  mtDesktop6: Uz,
  mrDesktop6: Hz,
  mbDesktop6: $z,
  mlDesktop6: Vz,
  mtDesktop7: Gz,
  mrDesktop7: Yz,
  mbDesktop7: Xz,
  mlDesktop7: Zz,
  mtDesktop8: Kz,
  mrDesktop8: Jz,
  mbDesktop8: Qz,
  mlDesktop8: jz,
  mtDesktop9: qz,
  mrDesktop9: eW,
  mbDesktop9: tW,
  mlDesktop9: nW,
  ptDesktop0: rW,
  prDesktop0: oW,
  pbDesktop0: iW,
  plDesktop0: aW,
  "pt-desktop-0_125": "pt-desktop-0_125_gi",
  "pr-desktop-0_125": "pr-desktop-0_125_BX",
  "pb-desktop-0_125": "pb-desktop-0_125_4k",
  "pl-desktop-0_125": "pl-desktop-0_125_fG",
  "pt-desktop-0_25": "pt-desktop-0_25_rD",
  "pr-desktop-0_25": "pr-desktop-0_25_9I",
  "pb-desktop-0_25": "pb-desktop-0_25_ky",
  "pl-desktop-0_25": "pl-desktop-0_25_BB",
  "pt-desktop-0_5": "pt-desktop-0_5_-n",
  "pr-desktop-0_5": "pr-desktop-0_5_tH",
  "pb-desktop-0_5": "pb-desktop-0_5_mj",
  "pl-desktop-0_5": "pl-desktop-0_5_A0",
  ptDesktop1: sW,
  prDesktop1: lW,
  pbDesktop1: uW,
  plDesktop1: cW,
  "pt-desktop-1_5": "pt-desktop-1_5_VY",
  "pr-desktop-1_5": "pr-desktop-1_5_RK",
  "pb-desktop-1_5": "pb-desktop-1_5_Id",
  "pl-desktop-1_5": "pl-desktop-1_5_pq",
  "pt-desktop-1_75": "pt-desktop-1_75_t-",
  "pr-desktop-1_75": "pr-desktop-1_75_iT",
  "pb-desktop-1_75": "pb-desktop-1_75_wJ",
  "pl-desktop-1_75": "pl-desktop-1_75_Wu",
  ptDesktop2: dW,
  prDesktop2: fW,
  pbDesktop2: hW,
  plDesktop2: pW,
  "pt-desktop-2_5": "pt-desktop-2_5_VN",
  "pr-desktop-2_5": "pr-desktop-2_5_go",
  "pb-desktop-2_5": "pb-desktop-2_5_gD",
  "pl-desktop-2_5": "pl-desktop-2_5_ON",
  ptDesktop3: bW,
  prDesktop3: gW,
  pbDesktop3: mW,
  plDesktop3: vW,
  ptDesktop4: yW,
  prDesktop4: xW,
  pbDesktop4: _W,
  plDesktop4: wW,
  ptDesktop5: TW,
  prDesktop5: kW,
  pbDesktop5: EW,
  plDesktop5: CW,
  ptDesktop6: SW,
  prDesktop6: AW,
  pbDesktop6: PW,
  plDesktop6: RW,
  ptDesktop7: IW,
  prDesktop7: MW,
  pbDesktop7: OW,
  plDesktop7: DW,
  ptDesktop8: FW,
  prDesktop8: NW,
  pbDesktop8: LW,
  plDesktop8: BW,
  ptDesktop9: zW,
  prDesktop9: WW,
  pbDesktop9: UW,
  plDesktop9: HW,
  wDesktop0: $W,
  wDesktop25: VW,
  wDesktop50: GW,
  wDesktop75: YW,
  wDesktop100: XW,
  vwDesktop0: ZW,
  vwDesktop25: KW,
  vwDesktop50: JW,
  vwDesktop75: QW,
  vwDesktop100: jW,
  hDesktop0: qW,
  hDesktop25: eU,
  hDesktop50: tU,
  hDesktop75: nU,
  hDesktop100: rU,
  vhDesktop0: oU,
  vhDesktop25: iU,
  vhDesktop50: aU,
  vhDesktop75: sU,
  vhDesktop100: lU,
  mxDesktop0: uU,
  "mx-desktop-0_125": "mx-desktop-0_125_iY",
  "mx-desktop-0_25": "mx-desktop-0_25_FM",
  "mx-desktop-0_5": "mx-desktop-0_5_We",
  mxDesktop1: cU,
  "mx-desktop-1_5": "mx-desktop-1_5_4m",
  "mx-desktop-1_75": "mx-desktop-1_75_eE",
  mxDesktop2: dU,
  "mx-desktop-2_5": "mx-desktop-2_5_Af",
  mxDesktop3: fU,
  mxDesktop4: hU,
  mxDesktop5: pU,
  mxDesktop6: bU,
  mxDesktop7: gU,
  mxDesktop8: mU,
  mxDesktop9: vU,
  myDesktop0: yU,
  "my-desktop-0_125": "my-desktop-0_125_fD",
  "my-desktop-0_25": "my-desktop-0_25_51",
  "my-desktop-0_5": "my-desktop-0_5_DJ",
  myDesktop1: xU,
  "my-desktop-1_5": "my-desktop-1_5_wu",
  "my-desktop-1_75": "my-desktop-1_75_3v",
  myDesktop2: _U,
  "my-desktop-2_5": "my-desktop-2_5_ta",
  myDesktop3: wU,
  myDesktop4: TU,
  myDesktop5: kU,
  myDesktop6: EU,
  myDesktop7: CU,
  myDesktop8: SU,
  myDesktop9: AU,
  pxDesktop0: PU,
  "px-desktop-0_125": "px-desktop-0_125_oh",
  "px-desktop-0_25": "px-desktop-0_25_rz",
  "px-desktop-0_5": "px-desktop-0_5_qF",
  pxDesktop1: RU,
  "px-desktop-1_5": "px-desktop-1_5_-i",
  "px-desktop-1_75": "px-desktop-1_75_Up",
  pxDesktop2: IU,
  "px-desktop-2_5": "px-desktop-2_5_m7",
  pxDesktop3: MU,
  pxDesktop4: OU,
  pxDesktop5: DU,
  pxDesktop6: FU,
  pxDesktop7: NU,
  pxDesktop8: LU,
  pxDesktop9: BU,
  pyDesktop0: zU,
  "py-desktop-0_125": "py-desktop-0_125_YY",
  "py-desktop-0_25": "py-desktop-0_25_o9",
  "py-desktop-0_5": "py-desktop-0_5_tS",
  pyDesktop1: WU,
  "py-desktop-1_5": "py-desktop-1_5_Ac",
  "py-desktop-1_75": "py-desktop-1_75_UJ",
  pyDesktop2: UU,
  "py-desktop-2_5": "py-desktop-2_5_gR",
  pyDesktop3: HU,
  pyDesktop4: $U,
  pyDesktop5: VU,
  pyDesktop6: GU,
  pyDesktop7: YU,
  pyDesktop8: XU,
  pyDesktop9: ZU,
  cursorPointer: KU,
  row: JU
}, {
  alignContentAround: QU,
  alignContentBetween: jU,
  alignContentCenter: qU,
  alignContentDesktopAround: eH,
  alignContentDesktopBetween: tH,
  alignContentDesktopCenter: nH,
  alignContentDesktopEnd: rH,
  alignContentDesktopStart: oH,
  alignContentDesktopStretch: iH,
  alignContentEnd: aH,
  alignContentMobileAround: sH,
  alignContentMobileBetween: lH,
  alignContentMobileCenter: uH,
  alignContentMobileEnd: cH,
  alignContentMobileStart: dH,
  alignContentMobileStretch: fH,
  alignContentStart: hH,
  alignContentStretch: pH,
  alignContentTabletAround: bH,
  alignContentTabletBetween: gH,
  alignContentTabletCenter: mH,
  alignContentTabletEnd: vH,
  alignContentTabletStart: yH,
  alignContentTabletStretch: xH,
  alignItemsBaseline: _H,
  alignItemsCenter: Bp,
  alignItemsDesktopBaseline: wH,
  alignItemsDesktopCenter: TH,
  alignItemsDesktopEnd: kH,
  alignItemsDesktopStart: EH,
  alignItemsDesktopStretch: CH,
  alignItemsEnd: SH,
  alignItemsMobileBaseline: AH,
  alignItemsMobileCenter: PH,
  alignItemsMobileEnd: RH,
  alignItemsMobileStart: IH,
  alignItemsMobileStretch: MH,
  alignItemsStart: FT,
  alignItemsStretch: OH,
  alignItemsTabletBaseline: DH,
  alignItemsTabletCenter: FH,
  alignItemsTabletEnd: NH,
  alignItemsTabletStart: LH,
  alignItemsTabletStretch: BH,
  alignSelfBaseline: zH,
  alignSelfCenter: WH,
  alignSelfDesktopBaseline: UH,
  alignSelfDesktopCenter: HH,
  alignSelfDesktopEnd: $H,
  alignSelfDesktopStart: VH,
  alignSelfDesktopStretch: GH,
  alignSelfEnd: YH,
  alignSelfMobileBaseline: XH,
  alignSelfMobileCenter: ZH,
  alignSelfMobileEnd: KH,
  alignSelfMobileStart: JH,
  alignSelfMobileStretch: QH,
  alignSelfStart: jH,
  alignSelfStretch: qH,
  alignSelfTabletBaseline: e$,
  alignSelfTabletCenter: t$,
  alignSelfTabletEnd: n$,
  alignSelfTabletStart: r$,
  alignSelfTabletStretch: o$,
  col1: i$,
  col10: a$,
  col11: s$,
  col12: l$,
  col2: u$,
  col3: c$,
  col4: d$,
  col5: f$,
  col6: h$,
  col7: p$,
  col8: b$,
  col9: g$,
  colAuto: m$,
  colDesktop1: v$,
  colDesktop10: y$,
  colDesktop11: x$,
  colDesktop12: _$,
  colDesktop2: w$,
  colDesktop3: T$,
  colDesktop4: k$,
  colDesktop5: E$,
  colDesktop6: C$,
  colDesktop7: S$,
  colDesktop8: A$,
  colDesktop9: P$,
  colDesktopAuto: R$,
  colMobile1: I$,
  colMobile10: M$,
  colMobile11: O$,
  colMobile12: D$,
  colMobile2: F$,
  colMobile3: N$,
  colMobile4: L$,
  colMobile5: B$,
  colMobile6: z$,
  colMobile7: W$,
  colMobile8: U$,
  colMobile9: H$,
  colMobileAuto: $$,
  colTablet1: V$,
  colTablet10: G$,
  colTablet11: Y$,
  colTablet12: X$,
  colTablet2: Z$,
  colTablet3: K$,
  colTablet4: J$,
  colTablet5: Q$,
  colTablet6: j$,
  colTablet7: q$,
  colTablet8: eV,
  colTablet9: tV,
  colTabletAuto: nV,
  cursorPointer: rV,
  dBlock: oV,
  dDesktopBlock: iV,
  dDesktopFlex: aV,
  dDesktopGrid: sV,
  dDesktopInline: lV,
  dDesktopInlineBlock: uV,
  dDesktopInlineFlex: cV,
  dDesktopInlineGrid: dV,
  dFlex: vh,
  dGrid: fV,
  dInline: hV,
  dInlineBlock: pV,
  dInlineFlex: bV,
  dInlineGrid: gV,
  dMobileBlock: mV,
  dMobileFlex: vV,
  dMobileGrid: yV,
  dMobileInline: xV,
  dMobileInlineBlock: _V,
  dMobileInlineFlex: wV,
  dMobileInlineGrid: TV,
  dTabletBlock: kV,
  dTabletFlex: EV,
  dTabletGrid: CV,
  dTabletInline: SV,
  dTabletInlineBlock: AV,
  dTabletInlineFlex: PV,
  dTabletInlineGrid: RV,
  dFlexColumn: _b,
  dFlexColumnReverse: IV,
  dFlexDesktopColumn: MV,
  dFlexDesktopColumnReverse: OV,
  flexDesktopGrow1: DV,
  flexDesktopGrow2: FV,
  flexDesktopGrow3: NV,
  flexDesktopGrow4: LV,
  flexDesktopGrow5: BV,
  flexDesktopNowrap: zV,
  dFlexDesktopRow: WV,
  dFlexDesktopRowReverse: UV,
  flexDesktopShrink1: HV,
  flexDesktopShrink2: $V,
  flexDesktopShrink3: VV,
  flexDesktopShrink4: GV,
  flexDesktopShrink5: YV,
  flexDesktopWrap: XV,
  flexDesktopWrapReverse: ZV,
  flexGrow1: KV,
  flexGrow2: JV,
  flexGrow3: QV,
  flexGrow4: jV,
  flexGrow5: qV,
  dFlexMobileColumn: eG,
  dFlexMobileColumnReverse: tG,
  flexMobileGrow1: nG,
  flexMobileGrow2: rG,
  flexMobileGrow3: oG,
  flexMobileGrow4: iG,
  flexMobileGrow5: aG,
  flexMobileNowrap: sG,
  dFlexMobileRow: lG,
  dFlexMobileRowReverse: uG,
  flexMobileShrink1: cG,
  flexMobileShrink2: dG,
  flexMobileShrink3: fG,
  flexMobileShrink4: hG,
  flexMobileShrink5: pG,
  flexMobileWrap: bG,
  flexMobileWrapReverse: gG,
  flexNowrap: mG,
  dFlexRow: NT,
  dFlexRowReverse: vG,
  flexShrink1: yG,
  flexShrink2: xG,
  flexShrink3: _G,
  flexShrink4: wG,
  flexShrink5: TG,
  dFlexTabletColumn: kG,
  dFlexTabletColumnReverse: EG,
  flexTabletGrow1: CG,
  flexTabletGrow2: SG,
  flexTabletGrow3: AG,
  flexTabletGrow4: PG,
  flexTabletGrow5: RG,
  flexTabletNowrap: IG,
  dFlexTabletRow: MG,
  dFlexTabletRowReverse: OG,
  flexTabletShrink1: DG,
  flexTabletShrink2: FG,
  flexTabletShrink3: NG,
  flexTabletShrink4: LG,
  flexTabletShrink5: BG,
  flexTabletWrap: zG,
  flexTabletWrapReverse: WG,
  flexWrap: LT,
  flexWrapReverse: UG,
  gap0: HG,
  gap1: zp,
  gap2: $G,
  gap3: VG,
  gap4: GG,
  gap5: YG,
  gap6: XG,
  gap7: ZG,
  gap8: KG,
  gap9: JG,
  gapDesktop0: QG,
  gapDesktop1: jG,
  gapDesktop2: qG,
  gapDesktop3: eY,
  gapDesktop4: tY,
  gapDesktop5: nY,
  gapDesktop6: rY,
  gapDesktop7: oY,
  gapDesktop8: iY,
  gapDesktop9: aY,
  gapMobile0: sY,
  gapMobile1: lY,
  gapMobile2: uY,
  gapMobile3: cY,
  gapMobile4: dY,
  gapMobile5: fY,
  gapMobile6: hY,
  gapMobile7: pY,
  gapMobile8: bY,
  gapMobile9: gY,
  gapTablet0: mY,
  gapTablet1: vY,
  gapTablet2: yY,
  gapTablet3: xY,
  gapTablet4: _Y,
  gapTablet5: wY,
  gapTablet6: TY,
  gapTablet7: kY,
  gapTablet8: EY,
  gapTablet9: CY,
  h0: SY,
  h100: AY,
  h25: PY,
  h50: RY,
  h75: IY,
  hDesktop0: MY,
  hDesktop100: OY,
  hDesktop25: DY,
  hDesktop50: FY,
  hDesktop75: NY,
  hMobile0: LY,
  hMobile100: BY,
  hMobile25: zY,
  hMobile50: WY,
  hMobile75: UY,
  hTablet0: HY,
  hTablet100: $Y,
  hTablet25: VY,
  hTablet50: GY,
  hTablet75: YY,
  justifyContentAround: XY,
  justifyContentBetween: e2,
  justifyContentCenter: fg,
  justifyContentDesktopAround: ZY,
  justifyContentDesktopBetween: KY,
  justifyContentDesktopCenter: JY,
  justifyContentDesktopEnd: QY,
  justifyContentDesktopEvenly: jY,
  justifyContentDesktopStart: qY,
  justifyContentEnd: M1,
  justifyContentEvenly: eX,
  justifyContentMobileAround: tX,
  justifyContentMobileBetween: nX,
  justifyContentMobileCenter: rX,
  justifyContentMobileEnd: oX,
  justifyContentMobileEvenly: iX,
  justifyContentMobileStart: aX,
  justifyContentStart: t2,
  justifyContentTabletAround: sX,
  justifyContentTabletBetween: lX,
  justifyContentTabletCenter: uX,
  justifyContentTabletEnd: cX,
  justifyContentTabletEvenly: dX,
  justifyContentTabletStart: fX,
  m0: hX,
  m1: pX,
  m2: bX,
  m3: gX,
  m4: mX,
  m5: vX,
  m6: yX,
  m7: xX,
  m8: _X,
  m9: wX,
  mDesktop0: TX,
  mDesktop1: kX,
  mDesktop2: EX,
  mDesktop3: CX,
  mDesktop4: SX,
  mDesktop5: AX,
  mDesktop6: PX,
  mDesktop7: RX,
  mDesktop8: IX,
  mDesktop9: MX,
  mMobile0: OX,
  mMobile1: DX,
  mMobile2: FX,
  mMobile3: NX,
  mMobile4: LX,
  mMobile5: BX,
  mMobile6: zX,
  mMobile7: WX,
  mMobile8: UX,
  mMobile9: HX,
  mTablet0: $X,
  mTablet1: VX,
  mTablet2: GX,
  mTablet3: YX,
  mTablet4: XX,
  mTablet5: ZX,
  mTablet6: KX,
  mTablet7: JX,
  mTablet8: QX,
  mTablet9: jX,
  mb0: qX,
  mb1: eZ,
  mb2: BT,
  mb3: O1,
  mb4: tZ,
  mb5: zT,
  mb6: nZ,
  mb7: rZ,
  mb8: oZ,
  mb9: iZ,
  mbDesktop0: aZ,
  mbDesktop1: sZ,
  mbDesktop2: lZ,
  mbDesktop3: uZ,
  mbDesktop4: cZ,
  mbDesktop5: dZ,
  mbDesktop6: fZ,
  mbDesktop7: hZ,
  mbDesktop8: pZ,
  mbDesktop9: bZ,
  mbMobile0: gZ,
  mbMobile1: mZ,
  mbMobile2: vZ,
  mbMobile3: yZ,
  mbMobile4: xZ,
  mbMobile5: _Z,
  mbMobile6: wZ,
  mbMobile7: TZ,
  mbMobile8: kZ,
  mbMobile9: EZ,
  mbTablet0: CZ,
  mbTablet1: SZ,
  mbTablet2: AZ,
  mbTablet3: PZ,
  mbTablet4: RZ,
  mbTablet5: IZ,
  mbTablet6: MZ,
  mbTablet7: OZ,
  mbTablet8: DZ,
  mbTablet9: FZ,
  ml0: NZ,
  ml1: WT,
  ml2: UT,
  ml3: LZ,
  ml4: BZ,
  ml5: zZ,
  ml6: WZ,
  ml7: UZ,
  ml8: HZ,
  ml9: $Z,
  mlDesktop0: VZ,
  mlDesktop1: GZ,
  mlDesktop2: YZ,
  mlDesktop3: XZ,
  mlDesktop4: ZZ,
  mlDesktop5: KZ,
  mlDesktop6: JZ,
  mlDesktop7: QZ,
  mlDesktop8: jZ,
  mlDesktop9: qZ,
  mlMobile0: eK,
  mlMobile1: tK,
  mlMobile2: nK,
  mlMobile3: rK,
  mlMobile4: oK,
  mlMobile5: iK,
  mlMobile6: aK,
  mlMobile7: sK,
  mlMobile8: lK,
  mlMobile9: uK,
  mlTablet0: cK,
  mlTablet1: dK,
  mlTablet2: fK,
  mlTablet3: hK,
  mlTablet4: pK,
  mlTablet5: bK,
  mlTablet6: gK,
  mlTablet7: mK,
  mlTablet8: vK,
  mlTablet9: yK,
  mr0: xK,
  mr1: _K,
  mr2: HT,
  mr3: wK,
  mr4: TK,
  mr5: kK,
  mr6: EK,
  mr7: CK,
  mr8: SK,
  mr9: AK,
  mrDesktop0: PK,
  mrDesktop1: RK,
  mrDesktop2: IK,
  mrDesktop3: MK,
  mrDesktop4: OK,
  mrDesktop5: DK,
  mrDesktop6: FK,
  mrDesktop7: NK,
  mrDesktop8: LK,
  mrDesktop9: BK,
  mrMobile0: zK,
  mrMobile1: WK,
  mrMobile2: UK,
  mrMobile3: HK,
  mrMobile4: $K,
  mrMobile5: VK,
  mrMobile6: GK,
  mrMobile7: YK,
  mrMobile8: XK,
  mrMobile9: ZK,
  mrTablet0: KK,
  mrTablet1: JK,
  mrTablet2: QK,
  mrTablet3: jK,
  mrTablet4: qK,
  mrTablet5: eJ,
  mrTablet6: tJ,
  mrTablet7: nJ,
  mrTablet8: rJ,
  mrTablet9: oJ,
  mt0: iJ,
  mt1: $T,
  mt2: VT,
  mt3: aJ,
  mt4: sJ,
  mt5: GT,
  mt6: lJ,
  mt7: uJ,
  mt8: cJ,
  mt9: dJ,
  mtDesktop0: fJ,
  mtDesktop1: hJ,
  mtDesktop2: pJ,
  mtDesktop3: bJ,
  mtDesktop4: gJ,
  mtDesktop5: mJ,
  mtDesktop6: vJ,
  mtDesktop7: yJ,
  mtDesktop8: xJ,
  mtDesktop9: _J,
  mtMobile0: wJ,
  mtMobile1: TJ,
  mtMobile2: kJ,
  mtMobile3: EJ,
  mtMobile4: CJ,
  mtMobile5: SJ,
  mtMobile6: AJ,
  mtMobile7: PJ,
  mtMobile8: RJ,
  mtMobile9: IJ,
  mtTablet0: MJ,
  mtTablet1: OJ,
  mtTablet2: DJ,
  mtTablet3: FJ,
  mtTablet4: NJ,
  mtTablet5: LJ,
  mtTablet6: BJ,
  mtTablet7: zJ,
  mtTablet8: WJ,
  mtTablet9: UJ,
  mx0: HJ,
  mx1: $J,
  mx2: VJ,
  mx3: GJ,
  mx4: YJ,
  mx5: XJ,
  mx6: ZJ,
  mx7: KJ,
  mx8: JJ,
  mx9: QJ,
  mxDesktop0: jJ,
  mxDesktop1: qJ,
  mxDesktop2: eQ,
  mxDesktop3: tQ,
  mxDesktop4: nQ,
  mxDesktop5: rQ,
  mxDesktop6: oQ,
  mxDesktop7: iQ,
  mxDesktop8: aQ,
  mxDesktop9: sQ,
  mxMobile0: lQ,
  mxMobile1: uQ,
  mxMobile2: cQ,
  mxMobile3: dQ,
  mxMobile4: fQ,
  mxMobile5: hQ,
  mxMobile6: pQ,
  mxMobile7: bQ,
  mxMobile8: gQ,
  mxMobile9: mQ,
  mxTablet0: vQ,
  mxTablet1: yQ,
  mxTablet2: xQ,
  mxTablet3: _Q,
  mxTablet4: wQ,
  mxTablet5: TQ,
  mxTablet6: kQ,
  mxTablet7: EQ,
  mxTablet8: CQ,
  mxTablet9: SQ,
  my0: AQ,
  my1: PQ,
  my2: RQ,
  my3: IQ,
  my4: MQ,
  my5: OQ,
  my6: DQ,
  my7: FQ,
  my8: NQ,
  my9: LQ,
  myDesktop0: BQ,
  myDesktop1: zQ,
  myDesktop2: WQ,
  myDesktop3: UQ,
  myDesktop4: HQ,
  myDesktop5: $Q,
  myDesktop6: VQ,
  myDesktop7: GQ,
  myDesktop8: YQ,
  myDesktop9: XQ,
  myMobile0: ZQ,
  myMobile1: KQ,
  myMobile2: JQ,
  myMobile3: QQ,
  myMobile4: jQ,
  myMobile5: qQ,
  myMobile6: ej,
  myMobile7: tj,
  myMobile8: nj,
  myMobile9: rj,
  myTablet0: oj,
  myTablet1: ij,
  myTablet2: aj,
  myTablet3: sj,
  myTablet4: lj,
  myTablet5: uj,
  myTablet6: cj,
  myTablet7: dj,
  myTablet8: fj,
  myTablet9: hj,
  offset1: pj,
  offset10: bj,
  offset11: gj,
  offset12: mj,
  offset2: vj,
  offset3: yj,
  offset4: xj,
  offset5: _j,
  offset6: wj,
  offset7: Tj,
  offset8: kj,
  offset9: Ej,
  offsetAuto: Cj,
  offsetDesktop1: Sj,
  offsetDesktop10: Aj,
  offsetDesktop11: Pj,
  offsetDesktop12: Rj,
  offsetDesktop2: Ij,
  offsetDesktop3: Mj,
  offsetDesktop4: Oj,
  offsetDesktop5: Dj,
  offsetDesktop6: Fj,
  offsetDesktop7: Nj,
  offsetDesktop8: Lj,
  offsetDesktop9: Bj,
  offsetDesktopAuto: zj,
  offsetMobile1: Wj,
  offsetMobile10: Uj,
  offsetMobile11: Hj,
  offsetMobile12: $j,
  offsetMobile2: Vj,
  offsetMobile3: Gj,
  offsetMobile4: Yj,
  offsetMobile5: Xj,
  offsetMobile6: Zj,
  offsetMobile7: Kj,
  offsetMobile8: Jj,
  offsetMobile9: Qj,
  offsetMobileAuto: jj,
  offsetTablet1: qj,
  offsetTablet10: eq,
  offsetTablet11: tq,
  offsetTablet12: nq,
  offsetTablet2: rq,
  offsetTablet3: oq,
  offsetTablet4: iq,
  offsetTablet5: aq,
  offsetTablet6: sq,
  offsetTablet7: lq,
  offsetTablet8: uq,
  offsetTablet9: cq,
  offsetTabletAuto: dq,
  p0: fq,
  p1: hq,
  p2: YT,
  p3: pq,
  p4: bq,
  p5: gq,
  p6: mq,
  p7: vq,
  p8: yq,
  p9: xq,
  pDesktop0: _q,
  pDesktop1: wq,
  pDesktop2: Tq,
  pDesktop3: kq,
  pDesktop4: Eq,
  pDesktop5: Cq,
  pDesktop6: Sq,
  pDesktop7: Aq,
  pDesktop8: Pq,
  pDesktop9: Rq,
  pMobile0: Iq,
  pMobile1: Mq,
  pMobile2: Oq,
  pMobile3: Dq,
  pMobile4: Fq,
  pMobile5: Nq,
  pMobile6: Lq,
  pMobile7: Bq,
  pMobile8: zq,
  pMobile9: Wq,
  pTablet0: Uq,
  pTablet1: Hq,
  pTablet2: $q,
  pTablet3: Vq,
  pTablet4: Gq,
  pTablet5: Yq,
  pTablet6: Xq,
  pTablet7: Zq,
  pTablet8: Kq,
  pTablet9: Jq,
  pb0: Qq,
  pb1: jq,
  pb2: qq,
  pb3: eee,
  pb4: tee,
  pb5: nee,
  pb6: ree,
  pb7: oee,
  pb8: iee,
  pb9: aee,
  pbDesktop0: see,
  pbDesktop1: lee,
  pbDesktop2: uee,
  pbDesktop3: cee,
  pbDesktop4: dee,
  pbDesktop5: fee,
  pbDesktop6: hee,
  pbDesktop7: pee,
  pbDesktop8: bee,
  pbDesktop9: gee,
  pbMobile0: mee,
  pbMobile1: vee,
  pbMobile2: yee,
  pbMobile3: xee,
  pbMobile4: _ee,
  pbMobile5: wee,
  pbMobile6: Tee,
  pbMobile7: kee,
  pbMobile8: Eee,
  pbMobile9: Cee,
  pbTablet0: See,
  pbTablet1: Aee,
  pbTablet2: Pee,
  pbTablet3: Ree,
  pbTablet4: Iee,
  pbTablet5: Mee,
  pbTablet6: Oee,
  pbTablet7: Dee,
  pbTablet8: Fee,
  pbTablet9: Nee,
  pl0: Lee,
  pl1: Bee,
  pl2: zee,
  pl3: Wee,
  pl4: Uee,
  pl5: Hee,
  pl6: $ee,
  pl7: Vee,
  pl8: Gee,
  pl9: Yee,
  plDesktop0: Xee,
  plDesktop1: Zee,
  plDesktop2: Kee,
  plDesktop3: Jee,
  plDesktop4: Qee,
  plDesktop5: jee,
  plDesktop6: qee,
  plDesktop7: ete,
  plDesktop8: tte,
  plDesktop9: nte,
  plMobile0: rte,
  plMobile1: ote,
  plMobile2: ite,
  plMobile3: ate,
  plMobile4: ste,
  plMobile5: lte,
  plMobile6: ute,
  plMobile7: cte,
  plMobile8: dte,
  plMobile9: fte,
  plTablet0: hte,
  plTablet1: pte,
  plTablet2: bte,
  plTablet3: gte,
  plTablet4: mte,
  plTablet5: vte,
  plTablet6: yte,
  plTablet7: xte,
  plTablet8: _te,
  plTablet9: wte,
  positionAbsolute: Tte,
  positionDesktopAbsolute: kte,
  positionDesktopFixed: Ete,
  positionDesktopRelative: Cte,
  positionDesktopStatic: Ste,
  positionDesktopSticky: Ate,
  positionFixed: Pte,
  positionMobileAbsolute: Rte,
  positionMobileFixed: Ite,
  positionMobileRelative: Mte,
  positionMobileStatic: Ote,
  positionMobileSticky: Dte,
  positionRelative: Fte,
  positionStatic: Nte,
  positionSticky: Lte,
  positionTabletAbsolute: Bte,
  positionTabletFixed: zte,
  positionTabletRelative: Wte,
  positionTabletStatic: Ute,
  positionTabletSticky: Hte,
  pr0: $te,
  pr1: Vte,
  pr2: Gte,
  pr3: Yte,
  pr4: Xte,
  pr5: Zte,
  pr6: Kte,
  pr7: Jte,
  pr8: Qte,
  pr9: jte,
  prDesktop0: qte,
  prDesktop1: ene,
  prDesktop2: tne,
  prDesktop3: nne,
  prDesktop4: rne,
  prDesktop5: one,
  prDesktop6: ine,
  prDesktop7: ane,
  prDesktop8: sne,
  prDesktop9: lne,
  prMobile0: une,
  prMobile1: cne,
  prMobile2: dne,
  prMobile3: fne,
  prMobile4: hne,
  prMobile5: pne,
  prMobile6: bne,
  prMobile7: gne,
  prMobile8: mne,
  prMobile9: vne,
  prTablet0: yne,
  prTablet1: xne,
  prTablet2: _ne,
  prTablet3: wne,
  prTablet4: Tne,
  prTablet5: kne,
  prTablet6: Ene,
  prTablet7: Cne,
  prTablet8: Sne,
  prTablet9: Ane,
  pt0: Pne,
  pt1: Rne,
  pt2: XT,
  pt3: Ine,
  pt4: Mne,
  pt5: One,
  pt6: Dne,
  pt7: Fne,
  pt8: Nne,
  pt9: Lne,
  ptDesktop0: Bne,
  ptDesktop1: zne,
  ptDesktop2: Wne,
  ptDesktop3: Une,
  ptDesktop4: Hne,
  ptDesktop5: $ne,
  ptDesktop6: Vne,
  ptDesktop7: Gne,
  ptDesktop8: Yne,
  ptDesktop9: Xne,
  ptMobile0: Zne,
  ptMobile1: Kne,
  ptMobile2: Jne,
  ptMobile3: Qne,
  ptMobile4: jne,
  ptMobile5: qne,
  ptMobile6: ere,
  ptMobile7: tre,
  ptMobile8: nre,
  ptMobile9: rre,
  ptTablet0: ore,
  ptTablet1: ire,
  ptTablet2: are,
  ptTablet3: sre,
  ptTablet4: lre,
  ptTablet5: ure,
  ptTablet6: cre,
  ptTablet7: dre,
  ptTablet8: fre,
  ptTablet9: hre,
  px0: pre,
  px1: ZT,
  px2: bre,
  px3: gre,
  px4: mre,
  px5: vre,
  px6: yre,
  px7: xre,
  px8: _re,
  px9: wre,
  pxDesktop0: Tre,
  pxDesktop1: kre,
  pxDesktop2: Ere,
  pxDesktop3: Cre,
  pxDesktop4: Sre,
  pxDesktop5: Are,
  pxDesktop6: Pre,
  pxDesktop7: Rre,
  pxDesktop8: Ire,
  pxDesktop9: Mre,
  pxMobile0: Ore,
  pxMobile1: Dre,
  pxMobile2: Fre,
  pxMobile3: Nre,
  pxMobile4: Lre,
  pxMobile5: Bre,
  pxMobile6: zre,
  pxMobile7: Wre,
  pxMobile8: Ure,
  pxMobile9: Hre,
  pxTablet0: $re,
  pxTablet1: Vre,
  pxTablet2: Gre,
  pxTablet3: Yre,
  pxTablet4: Xre,
  pxTablet5: Zre,
  pxTablet6: Kre,
  pxTablet7: Jre,
  pxTablet8: Qre,
  pxTablet9: jre,
  py0: qre,
  py1: eoe,
  py2: toe,
  py3: noe,
  py4: roe,
  py5: ooe,
  py6: ioe,
  py7: aoe,
  py8: soe,
  py9: loe,
  pyDesktop0: uoe,
  pyDesktop1: coe,
  pyDesktop2: doe,
  pyDesktop3: foe,
  pyDesktop4: hoe,
  pyDesktop5: poe,
  pyDesktop6: boe,
  pyDesktop7: goe,
  pyDesktop8: moe,
  pyDesktop9: voe,
  pyMobile0: yoe,
  pyMobile1: xoe,
  pyMobile2: _oe,
  pyMobile3: woe,
  pyMobile4: Toe,
  pyMobile5: koe,
  pyMobile6: Eoe,
  pyMobile7: Coe,
  pyMobile8: Soe,
  pyMobile9: Aoe,
  pyTablet0: Poe,
  pyTablet1: Roe,
  pyTablet2: Ioe,
  pyTablet3: Moe,
  pyTablet4: Ooe,
  pyTablet5: Doe,
  pyTablet6: Foe,
  pyTablet7: Noe,
  pyTablet8: Loe,
  pyTablet9: Boe,
  row: zoe,
  textAlignCenter: Woe,
  textAlignDesktopCenter: Uoe,
  textAlignDesktopEnd: Hoe,
  textAlignDesktopJustify: $oe,
  textAlignDesktopStart: Voe,
  textAlignEnd: Goe,
  textAlignJustify: Yoe,
  textAlignMobileCenter: Xoe,
  textAlignMobileEnd: Zoe,
  textAlignMobileJustify: Koe,
  textAlignMobileStart: Joe,
  textAlignStart: Qoe,
  textAlignTabletCenter: joe,
  textAlignTabletEnd: qoe,
  textAlignTabletJustify: eie,
  textAlignTabletStart: tie,
  vh0: nie,
  vh100: rie,
  vh25: oie,
  vh50: iie,
  vh75: aie,
  vhDesktop0: sie,
  vhDesktop100: lie,
  vhDesktop25: uie,
  vhDesktop50: cie,
  vhDesktop75: die,
  vhMobile0: fie,
  vhMobile100: hie,
  vhMobile25: pie,
  vhMobile50: bie,
  vhMobile75: gie,
  vhTablet0: mie,
  vhTablet100: vie,
  vhTablet25: yie,
  vhTablet50: xie,
  vhTablet75: _ie,
  vw0: wie,
  vw100: Tie,
  vw25: kie,
  vw50: Eie,
  vw75: Cie,
  vwDesktop0: Sie,
  vwDesktop100: Aie,
  vwDesktop25: Pie,
  vwDesktop50: Rie,
  vwDesktop75: Iie,
  vwMobile0: Mie,
  vwMobile100: Oie,
  vwMobile25: Die,
  vwMobile50: Fie,
  vwMobile75: Nie,
  vwTablet0: Lie,
  vwTablet100: Bie,
  vwTablet25: zie,
  vwTablet50: Wie,
  vwTablet75: Uie,
  w0: Hie,
  w100: n2,
  w25: $ie,
  w50: Vie,
  w75: Gie,
  wDesktop0: Yie,
  wDesktop100: Xie,
  wDesktop25: Zie,
  wDesktop50: Kie,
  wDesktop75: Jie,
  wMobile0: Qie,
  wMobile100: jie,
  wMobile25: qie,
  wMobile50: eae,
  wMobile75: tae,
  wTablet0: nae,
  wTablet100: rae,
  wTablet25: oae,
  wTablet50: iae,
  wTablet75: aae
} = he, sae = he["gap-0_125"], lae = he["gap-0_25"], KT = he["gap-0_5"], uae = he["gap-1_5"], cae = he["gap-1_75"], dae = he["gap-2_5"], fae = he["gap-desktop-0_125"], hae = he["gap-desktop-0_25"], pae = he["gap-desktop-0_5"], bae = he["gap-desktop-1_5"], gae = he["gap-desktop-1_75"], mae = he["gap-desktop-2_5"], vae = he["gap-mobile-0_125"], yae = he["gap-mobile-0_25"], xae = he["gap-mobile-0_5"], _ae = he["gap-mobile-1_5"], wae = he["gap-mobile-1_75"], Tae = he["gap-mobile-2_5"], kae = he["gap-tablet-0_125"], Eae = he["gap-tablet-0_25"], Cae = he["gap-tablet-0_5"], Sae = he["gap-tablet-1_5"], Aae = he["gap-tablet-1_75"], Pae = he["gap-tablet-2_5"], Rae = he["m-0_125"], Iae = he["m-0_25"], Mae = he["m-0_5"], Oae = he["m-1_5"], Dae = he["m-1_75"], Fae = he["m-2_5"], Nae = he["m-desktop-0_125"], Lae = he["m-desktop-0_25"], Bae = he["m-desktop-0_5"], zae = he["m-desktop-1_5"], Wae = he["m-desktop-1_75"], Uae = he["m-desktop-2_5"], Hae = he["m-mobile-0_125"], $ae = he["m-mobile-0_25"], Vae = he["m-mobile-0_5"], Gae = he["m-mobile-1_5"], Yae = he["m-mobile-1_75"], Xae = he["m-mobile-2_5"], Zae = he["m-tablet-0_125"], Kae = he["m-tablet-0_25"], Jae = he["m-tablet-0_5"], Qae = he["m-tablet-1_5"], jae = he["m-tablet-1_75"], qae = he["m-tablet-2_5"], ese = he["mb-0_125"], tse = he["mb-0_25"], nse = he["mb-0_5"], rse = he["mb-1_5"], ose = he["mb-1_75"], ise = he["mb-2_5"], ase = he["mb-desktop-0_125"], sse = he["mb-desktop-0_25"], lse = he["mb-desktop-0_5"], use = he["mb-desktop-1_5"], cse = he["mb-desktop-1_75"], dse = he["mb-desktop-2_5"], fse = he["mb-mobile-0_125"], hse = he["mb-mobile-0_25"], pse = he["mb-mobile-0_5"], bse = he["mb-mobile-1_5"], gse = he["mb-mobile-1_75"], mse = he["mb-mobile-2_5"], vse = he["mb-tablet-0_125"], yse = he["mb-tablet-0_25"], xse = he["mb-tablet-0_5"], _se = he["mb-tablet-1_5"], wse = he["mb-tablet-1_75"], Tse = he["mb-tablet-2_5"], kse = he["ml-0_125"], Ese = he["ml-0_25"], Cse = he["ml-0_5"], Sse = he["ml-1_5"], Ase = he["ml-1_75"], Pse = he["ml-2_5"], Rse = he["ml-desktop-0_125"], Ise = he["ml-desktop-0_25"], Mse = he["ml-desktop-0_5"], Ose = he["ml-desktop-1_5"], Dse = he["ml-desktop-1_75"], Fse = he["ml-desktop-2_5"], Nse = he["ml-mobile-0_125"], Lse = he["ml-mobile-0_25"], Bse = he["ml-mobile-0_5"], zse = he["ml-mobile-1_5"], Wse = he["ml-mobile-1_75"], Use = he["ml-mobile-2_5"], Hse = he["ml-tablet-0_125"], $se = he["ml-tablet-0_25"], Vse = he["ml-tablet-0_5"], Gse = he["ml-tablet-1_5"], Yse = he["ml-tablet-1_75"], Xse = he["ml-tablet-2_5"], Zse = he["mr-0_125"], Kse = he["mr-0_25"], Jse = he["mr-0_5"], Qse = he["mr-1_5"], jse = he["mr-1_75"], qse = he["mr-2_5"], ele = he["mr-desktop-0_125"], tle = he["mr-desktop-0_25"], nle = he["mr-desktop-0_5"], rle = he["mr-desktop-1_5"], ole = he["mr-desktop-1_75"], ile = he["mr-desktop-2_5"], ale = he["mr-mobile-0_125"], sle = he["mr-mobile-0_25"], lle = he["mr-mobile-0_5"], ule = he["mr-mobile-1_5"], cle = he["mr-mobile-1_75"], dle = he["mr-mobile-2_5"], fle = he["mr-tablet-0_125"], hle = he["mr-tablet-0_25"], ple = he["mr-tablet-0_5"], ble = he["mr-tablet-1_5"], gle = he["mr-tablet-1_75"], mle = he["mr-tablet-2_5"], vle = he["mt-0_125"], yle = he["mt-0_25"], JT = he["mt-0_5"], xle = he["mt-1_5"], _le = he["mt-1_75"], wle = he["mt-2_5"], Tle = he["mt-desktop-0_125"], kle = he["mt-desktop-0_25"], Ele = he["mt-desktop-0_5"], Cle = he["mt-desktop-1_5"], Sle = he["mt-desktop-1_75"], Ale = he["mt-desktop-2_5"], Ple = he["mt-mobile-0_125"], Rle = he["mt-mobile-0_25"], Ile = he["mt-mobile-0_5"], Mle = he["mt-mobile-1_5"], Ole = he["mt-mobile-1_75"], Dle = he["mt-mobile-2_5"], Fle = he["mt-tablet-0_125"], Nle = he["mt-tablet-0_25"], Lle = he["mt-tablet-0_5"], Ble = he["mt-tablet-1_5"], zle = he["mt-tablet-1_75"], Wle = he["mt-tablet-2_5"], Ule = he["mx-0_125"], Hle = he["mx-0_25"], $le = he["mx-0_5"], Vle = he["mx-1_5"], Gle = he["mx-1_75"], Yle = he["mx-2_5"], Xle = he["mx-desktop-0_125"], Zle = he["mx-desktop-0_25"], Kle = he["mx-desktop-0_5"], Jle = he["mx-desktop-1_5"], Qle = he["mx-desktop-1_75"], jle = he["mx-desktop-2_5"], qle = he["mx-mobile-0_125"], eue = he["mx-mobile-0_25"], tue = he["mx-mobile-0_5"], nue = he["mx-mobile-1_5"], rue = he["mx-mobile-1_75"], oue = he["mx-mobile-2_5"], iue = he["mx-tablet-0_125"], aue = he["mx-tablet-0_25"], sue = he["mx-tablet-0_5"], lue = he["mx-tablet-1_5"], uue = he["mx-tablet-1_75"], cue = he["mx-tablet-2_5"], due = he["my-0_125"], fue = he["my-0_25"], hue = he["my-0_5"], pue = he["my-1_5"], bue = he["my-1_75"], gue = he["my-2_5"], mue = he["my-desktop-0_125"], vue = he["my-desktop-0_25"], yue = he["my-desktop-0_5"], xue = he["my-desktop-1_5"], _ue = he["my-desktop-1_75"], wue = he["my-desktop-2_5"], Tue = he["my-mobile-0_125"], kue = he["my-mobile-0_25"], Eue = he["my-mobile-0_5"], Cue = he["my-mobile-1_5"], Sue = he["my-mobile-1_75"], Aue = he["my-mobile-2_5"], Pue = he["my-tablet-0_125"], Rue = he["my-tablet-0_25"], Iue = he["my-tablet-0_5"], Mue = he["my-tablet-1_5"], Oue = he["my-tablet-1_75"], Due = he["my-tablet-2_5"], Fue = he["p-0_125"], Nue = he["p-0_25"], Lue = he["p-0_5"], Bue = he["p-1_5"], zue = he["p-1_75"], Wue = he["p-2_5"], Uue = he["p-desktop-0_125"], Hue = he["p-desktop-0_25"], $ue = he["p-desktop-0_5"], Vue = he["p-desktop-1_5"], Gue = he["p-desktop-1_75"], Yue = he["p-desktop-2_5"], Xue = he["p-mobile-0_125"], Zue = he["p-mobile-0_25"], Kue = he["p-mobile-0_5"], Jue = he["p-mobile-1_5"], Que = he["p-mobile-1_75"], jue = he["p-mobile-2_5"], que = he["p-tablet-0_125"], ece = he["p-tablet-0_25"], tce = he["p-tablet-0_5"], nce = he["p-tablet-1_5"], rce = he["p-tablet-1_75"], oce = he["p-tablet-2_5"], ice = he["pb-0_125"], ace = he["pb-0_25"], sce = he["pb-0_5"], lce = he["pb-1_5"], uce = he["pb-1_75"], cce = he["pb-2_5"], dce = he["pb-desktop-0_125"], fce = he["pb-desktop-0_25"], hce = he["pb-desktop-0_5"], pce = he["pb-desktop-1_5"], bce = he["pb-desktop-1_75"], gce = he["pb-desktop-2_5"], mce = he["pb-mobile-0_125"], vce = he["pb-mobile-0_25"], yce = he["pb-mobile-0_5"], xce = he["pb-mobile-1_5"], _ce = he["pb-mobile-1_75"], wce = he["pb-mobile-2_5"], Tce = he["pb-tablet-0_125"], kce = he["pb-tablet-0_25"], Ece = he["pb-tablet-0_5"], Cce = he["pb-tablet-1_5"], Sce = he["pb-tablet-1_75"], Ace = he["pb-tablet-2_5"], Pce = he["pl-0_125"], Rce = he["pl-0_25"], Ice = he["pl-0_5"], Mce = he["pl-1_5"], Oce = he["pl-1_75"], Dce = he["pl-2_5"], Fce = he["pl-desktop-0_125"], Nce = he["pl-desktop-0_25"], Lce = he["pl-desktop-0_5"], Bce = he["pl-desktop-1_5"], zce = he["pl-desktop-1_75"], Wce = he["pl-desktop-2_5"], Uce = he["pl-mobile-0_125"], Hce = he["pl-mobile-0_25"], $ce = he["pl-mobile-0_5"], Vce = he["pl-mobile-1_5"], Gce = he["pl-mobile-1_75"], Yce = he["pl-mobile-2_5"], Xce = he["pl-tablet-0_125"], Zce = he["pl-tablet-0_25"], Kce = he["pl-tablet-0_5"], Jce = he["pl-tablet-1_5"], Qce = he["pl-tablet-1_75"], jce = he["pl-tablet-2_5"], qce = he["pr-0_125"], ede = he["pr-0_25"], tde = he["pr-0_5"], nde = he["pr-1_5"], rde = he["pr-1_75"], ode = he["pr-2_5"], ide = he["pr-desktop-0_125"], ade = he["pr-desktop-0_25"], sde = he["pr-desktop-0_5"], lde = he["pr-desktop-1_5"], ude = he["pr-desktop-1_75"], cde = he["pr-desktop-2_5"], dde = he["pr-mobile-0_125"], fde = he["pr-mobile-0_25"], hde = he["pr-mobile-0_5"], pde = he["pr-mobile-1_5"], bde = he["pr-mobile-1_75"], gde = he["pr-mobile-2_5"], mde = he["pr-tablet-0_125"], vde = he["pr-tablet-0_25"], yde = he["pr-tablet-0_5"], xde = he["pr-tablet-1_5"], _de = he["pr-tablet-1_75"], wde = he["pr-tablet-2_5"], Tde = he["pt-0_125"], kde = he["pt-0_25"], Ede = he["pt-0_5"], Cde = he["pt-1_5"], Sde = he["pt-1_75"], Ade = he["pt-2_5"], Pde = he["pt-desktop-0_125"], Rde = he["pt-desktop-0_25"], Ide = he["pt-desktop-0_5"], Mde = he["pt-desktop-1_5"], Ode = he["pt-desktop-1_75"], Dde = he["pt-desktop-2_5"], Fde = he["pt-mobile-0_125"], Nde = he["pt-mobile-0_25"], Lde = he["pt-mobile-0_5"], Bde = he["pt-mobile-1_5"], zde = he["pt-mobile-1_75"], Wde = he["pt-mobile-2_5"], Ude = he["pt-tablet-0_125"], Hde = he["pt-tablet-0_25"], $de = he["pt-tablet-0_5"], Vde = he["pt-tablet-1_5"], Gde = he["pt-tablet-1_75"], Yde = he["pt-tablet-2_5"], Xde = he["px-0_125"], Zde = he["px-0_25"], Kde = he["px-0_5"], Jde = he["px-1_5"], Qde = he["px-1_75"], jde = he["px-2_5"], qde = he["px-desktop-0_125"], efe = he["px-desktop-0_25"], tfe = he["px-desktop-0_5"], nfe = he["px-desktop-1_5"], rfe = he["px-desktop-1_75"], ofe = he["px-desktop-2_5"], ife = he["px-mobile-0_125"], afe = he["px-mobile-0_25"], sfe = he["px-mobile-0_5"], lfe = he["px-mobile-1_5"], ufe = he["px-mobile-1_75"], cfe = he["px-mobile-2_5"], dfe = he["px-tablet-0_125"], ffe = he["px-tablet-0_25"], hfe = he["px-tablet-0_5"], pfe = he["px-tablet-1_5"], bfe = he["px-tablet-1_75"], gfe = he["px-tablet-2_5"], mfe = he["py-0_125"], vfe = he["py-0_25"], yfe = he["py-0_5"], xfe = he["py-1_5"], _fe = he["py-1_75"], wfe = he["py-2_5"], Tfe = he["py-desktop-0_125"], kfe = he["py-desktop-0_25"], Efe = he["py-desktop-0_5"], Cfe = he["py-desktop-1_5"], Sfe = he["py-desktop-1_75"], Afe = he["py-desktop-2_5"], Pfe = he["py-mobile-0_125"], Rfe = he["py-mobile-0_25"], Ife = he["py-mobile-0_5"], Mfe = he["py-mobile-1_5"], Ofe = he["py-mobile-1_75"], Dfe = he["py-mobile-2_5"], Ffe = he["py-tablet-0_125"], Nfe = he["py-tablet-0_25"], Lfe = he["py-tablet-0_5"], Bfe = he["py-tablet-1_5"], zfe = he["py-tablet-1_75"], Wfe = he["py-tablet-2_5"], S8e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, alignContentAround: QU, alignContentBetween: jU, alignContentCenter: qU, alignContentDesktopAround: eH, alignContentDesktopBetween: tH, alignContentDesktopCenter: nH, alignContentDesktopEnd: rH, alignContentDesktopStart: oH, alignContentDesktopStretch: iH, alignContentEnd: aH, alignContentMobileAround: sH, alignContentMobileBetween: lH, alignContentMobileCenter: uH, alignContentMobileEnd: cH, alignContentMobileStart: dH, alignContentMobileStretch: fH, alignContentStart: hH, alignContentStretch: pH, alignContentTabletAround: bH, alignContentTabletBetween: gH, alignContentTabletCenter: mH, alignContentTabletEnd: vH, alignContentTabletStart: yH, alignContentTabletStretch: xH, alignItemsBaseline: _H, alignItemsCenter: Bp, alignItemsDesktopBaseline: wH, alignItemsDesktopCenter: TH, alignItemsDesktopEnd: kH, alignItemsDesktopStart: EH, alignItemsDesktopStretch: CH, alignItemsEnd: SH, alignItemsMobileBaseline: AH, alignItemsMobileCenter: PH, alignItemsMobileEnd: RH, alignItemsMobileStart: IH, alignItemsMobileStretch: MH, alignItemsStart: FT, alignItemsStretch: OH, alignItemsTabletBaseline: DH, alignItemsTabletCenter: FH, alignItemsTabletEnd: NH, alignItemsTabletStart: LH, alignItemsTabletStretch: BH, alignSelfBaseline: zH, alignSelfCenter: WH, alignSelfDesktopBaseline: UH, alignSelfDesktopCenter: HH, alignSelfDesktopEnd: $H, alignSelfDesktopStart: VH, alignSelfDesktopStretch: GH, alignSelfEnd: YH, alignSelfMobileBaseline: XH, alignSelfMobileCenter: ZH, alignSelfMobileEnd: KH, alignSelfMobileStart: JH, alignSelfMobileStretch: QH, alignSelfStart: jH, alignSelfStretch: qH, alignSelfTabletBaseline: e$, alignSelfTabletCenter: t$, alignSelfTabletEnd: n$, alignSelfTabletStart: r$, alignSelfTabletStretch: o$, col1: i$, col10: a$, col11: s$, col12: l$, col2: u$, col3: c$, col4: d$, col5: f$, col6: h$, col7: p$, col8: b$, col9: g$, colAuto: m$, colDesktop1: v$, colDesktop10: y$, colDesktop11: x$, colDesktop12: _$, colDesktop2: w$, colDesktop3: T$, colDesktop4: k$, colDesktop5: E$, colDesktop6: C$, colDesktop7: S$, colDesktop8: A$, colDesktop9: P$, colDesktopAuto: R$, colMobile1: I$, colMobile10: M$, colMobile11: O$, colMobile12: D$, colMobile2: F$, colMobile3: N$, colMobile4: L$, colMobile5: B$, colMobile6: z$, colMobile7: W$, colMobile8: U$, colMobile9: H$, colMobileAuto: $$, colTablet1: V$, colTablet10: G$, colTablet11: Y$, colTablet12: X$, colTablet2: Z$, colTablet3: K$, colTablet4: J$, colTablet5: Q$, colTablet6: j$, colTablet7: q$, colTablet8: eV, colTablet9: tV, colTabletAuto: nV, cursorPointer: rV, dBlock: oV, dDesktopBlock: iV, dDesktopFlex: aV, dDesktopGrid: sV, dDesktopInline: lV, dDesktopInlineBlock: uV, dDesktopInlineFlex: cV, dDesktopInlineGrid: dV, dFlex: vh, dFlexColumn: _b, dFlexColumnReverse: IV, dFlexDesktopColumn: MV, dFlexDesktopColumnReverse: OV, dFlexDesktopRow: WV, dFlexDesktopRowReverse: UV, dFlexMobileColumn: eG, dFlexMobileColumnReverse: tG, dFlexMobileRow: lG, dFlexMobileRowReverse: uG, dFlexRow: NT, dFlexRowReverse: vG, dFlexTabletColumn: kG, dFlexTabletColumnReverse: EG, dFlexTabletRow: MG, dFlexTabletRowReverse: OG, dGrid: fV, dInline: hV, dInlineBlock: pV, dInlineFlex: bV, dInlineGrid: gV, dMobileBlock: mV, dMobileFlex: vV, dMobileGrid: yV, dMobileInline: xV, dMobileInlineBlock: _V, dMobileInlineFlex: wV, dMobileInlineGrid: TV, dTabletBlock: kV, dTabletFlex: EV, dTabletGrid: CV, dTabletInline: SV, dTabletInlineBlock: AV, dTabletInlineFlex: PV, dTabletInlineGrid: RV, flexDesktopGrow1: DV, flexDesktopGrow2: FV, flexDesktopGrow3: NV, flexDesktopGrow4: LV, flexDesktopGrow5: BV, flexDesktopNowrap: zV, flexDesktopShrink1: HV, flexDesktopShrink2: $V, flexDesktopShrink3: VV, flexDesktopShrink4: GV, flexDesktopShrink5: YV, flexDesktopWrap: XV, flexDesktopWrapReverse: ZV, flexGrow1: KV, flexGrow2: JV, flexGrow3: QV, flexGrow4: jV, flexGrow5: qV, flexMobileGrow1: nG, flexMobileGrow2: rG, flexMobileGrow3: oG, flexMobileGrow4: iG, flexMobileGrow5: aG, flexMobileNowrap: sG, flexMobileShrink1: cG, flexMobileShrink2: dG, flexMobileShrink3: fG, flexMobileShrink4: hG, flexMobileShrink5: pG, flexMobileWrap: bG, flexMobileWrapReverse: gG, flexNowrap: mG, flexShrink1: yG, flexShrink2: xG, flexShrink3: _G, flexShrink4: wG, flexShrink5: TG, flexTabletGrow1: CG, flexTabletGrow2: SG, flexTabletGrow3: AG, flexTabletGrow4: PG, flexTabletGrow5: RG, flexTabletNowrap: IG, flexTabletShrink1: DG, flexTabletShrink2: FG, flexTabletShrink3: NG, flexTabletShrink4: LG, flexTabletShrink5: BG, flexTabletWrap: zG, flexTabletWrapReverse: WG, flexWrap: LT, flexWrapReverse: UG, gap0: HG, gap0_125: sae, gap0_25: lae, gap0_5: KT, gap1: zp, gap1_5: uae, gap1_75: cae, gap2: $G, gap2_5: dae, gap3: VG, gap4: GG, gap5: YG, gap6: XG, gap7: ZG, gap8: KG, gap9: JG, gapDesktop0: QG, gapDesktop0_125: fae, gapDesktop0_25: hae, gapDesktop0_5: pae, gapDesktop1: jG, gapDesktop1_5: bae, gapDesktop1_75: gae, gapDesktop2: qG, gapDesktop2_5: mae, gapDesktop3: eY, gapDesktop4: tY, gapDesktop5: nY, gapDesktop6: rY, gapDesktop7: oY, gapDesktop8: iY, gapDesktop9: aY, gapMobile0: sY, gapMobile0_125: vae, gapMobile0_25: yae, gapMobile0_5: xae, gapMobile1: lY, gapMobile1_5: _ae, gapMobile1_75: wae, gapMobile2: uY, gapMobile2_5: Tae, gapMobile3: cY, gapMobile4: dY, gapMobile5: fY, gapMobile6: hY, gapMobile7: pY, gapMobile8: bY, gapMobile9: gY, gapTablet0: mY, gapTablet0_125: kae, gapTablet0_25: Eae, gapTablet0_5: Cae, gapTablet1: vY, gapTablet1_5: Sae, gapTablet1_75: Aae, gapTablet2: yY, gapTablet2_5: Pae, gapTablet3: xY, gapTablet4: _Y, gapTablet5: wY, gapTablet6: TY, gapTablet7: kY, gapTablet8: EY, gapTablet9: CY, h0: SY, h100: AY, h25: PY, h50: RY, h75: IY, hDesktop0: MY, hDesktop100: OY, hDesktop25: DY, hDesktop50: FY, hDesktop75: NY, hMobile0: LY, hMobile100: BY, hMobile25: zY, hMobile50: WY, hMobile75: UY, hTablet0: HY, hTablet100: $Y, hTablet25: VY, hTablet50: GY, hTablet75: YY, justifyContentAround: XY, justifyContentBetween: e2, justifyContentCenter: fg, justifyContentDesktopAround: ZY, justifyContentDesktopBetween: KY, justifyContentDesktopCenter: JY, justifyContentDesktopEnd: QY, justifyContentDesktopEvenly: jY, justifyContentDesktopStart: qY, justifyContentEnd: M1, justifyContentEvenly: eX, justifyContentMobileAround: tX, justifyContentMobileBetween: nX, justifyContentMobileCenter: rX, justifyContentMobileEnd: oX, justifyContentMobileEvenly: iX, justifyContentMobileStart: aX, justifyContentStart: t2, justifyContentTabletAround: sX, justifyContentTabletBetween: lX, justifyContentTabletCenter: uX, justifyContentTabletEnd: cX, justifyContentTabletEvenly: dX, justifyContentTabletStart: fX, m0: hX, m0_125: Rae, m0_25: Iae, m0_5: Mae, m1: pX, m1_5: Oae, m1_75: Dae, m2: bX, m2_5: Fae, m3: gX, m4: mX, m5: vX, m6: yX, m7: xX, m8: _X, m9: wX, mDesktop0: TX, mDesktop0_125: Nae, mDesktop0_25: Lae, mDesktop0_5: Bae, mDesktop1: kX, mDesktop1_5: zae, mDesktop1_75: Wae, mDesktop2: EX, mDesktop2_5: Uae, mDesktop3: CX, mDesktop4: SX, mDesktop5: AX, mDesktop6: PX, mDesktop7: RX, mDesktop8: IX, mDesktop9: MX, mMobile0: OX, mMobile0_125: Hae, mMobile0_25: $ae, mMobile0_5: Vae, mMobile1: DX, mMobile1_5: Gae, mMobile1_75: Yae, mMobile2: FX, mMobile2_5: Xae, mMobile3: NX, mMobile4: LX, mMobile5: BX, mMobile6: zX, mMobile7: WX, mMobile8: UX, mMobile9: HX, mTablet0: $X, mTablet0_125: Zae, mTablet0_25: Kae, mTablet0_5: Jae, mTablet1: VX, mTablet1_5: Qae, mTablet1_75: jae, mTablet2: GX, mTablet2_5: qae, mTablet3: YX, mTablet4: XX, mTablet5: ZX, mTablet6: KX, mTablet7: JX, mTablet8: QX, mTablet9: jX, mb0: qX, mb0_125: ese, mb0_25: tse, mb0_5: nse, mb1: eZ, mb1_5: rse, mb1_75: ose, mb2: BT, mb2_5: ise, mb3: O1, mb4: tZ, mb5: zT, mb6: nZ, mb7: rZ, mb8: oZ, mb9: iZ, mbDesktop0: aZ, mbDesktop0_125: ase, mbDesktop0_25: sse, mbDesktop0_5: lse, mbDesktop1: sZ, mbDesktop1_5: use, mbDesktop1_75: cse, mbDesktop2: lZ, mbDesktop2_5: dse, mbDesktop3: uZ, mbDesktop4: cZ, mbDesktop5: dZ, mbDesktop6: fZ, mbDesktop7: hZ, mbDesktop8: pZ, mbDesktop9: bZ, mbMobile0: gZ, mbMobile0_125: fse, mbMobile0_25: hse, mbMobile0_5: pse, mbMobile1: mZ, mbMobile1_5: bse, mbMobile1_75: gse, mbMobile2: vZ, mbMobile2_5: mse, mbMobile3: yZ, mbMobile4: xZ, mbMobile5: _Z, mbMobile6: wZ, mbMobile7: TZ, mbMobile8: kZ, mbMobile9: EZ, mbTablet0: CZ, mbTablet0_125: vse, mbTablet0_25: yse, mbTablet0_5: xse, mbTablet1: SZ, mbTablet1_5: _se, mbTablet1_75: wse, mbTablet2: AZ, mbTablet2_5: Tse, mbTablet3: PZ, mbTablet4: RZ, mbTablet5: IZ, mbTablet6: MZ, mbTablet7: OZ, mbTablet8: DZ, mbTablet9: FZ, ml0: NZ, ml0_125: kse, ml0_25: Ese, ml0_5: Cse, ml1: WT, ml1_5: Sse, ml1_75: Ase, ml2: UT, ml2_5: Pse, ml3: LZ, ml4: BZ, ml5: zZ, ml6: WZ, ml7: UZ, ml8: HZ, ml9: $Z, mlDesktop0: VZ, mlDesktop0_125: Rse, mlDesktop0_25: Ise, mlDesktop0_5: Mse, mlDesktop1: GZ, mlDesktop1_5: Ose, mlDesktop1_75: Dse, mlDesktop2: YZ, mlDesktop2_5: Fse, mlDesktop3: XZ, mlDesktop4: ZZ, mlDesktop5: KZ, mlDesktop6: JZ, mlDesktop7: QZ, mlDesktop8: jZ, mlDesktop9: qZ, mlMobile0: eK, mlMobile0_125: Nse, mlMobile0_25: Lse, mlMobile0_5: Bse, mlMobile1: tK, mlMobile1_5: zse, mlMobile1_75: Wse, mlMobile2: nK, mlMobile2_5: Use, mlMobile3: rK, mlMobile4: oK, mlMobile5: iK, mlMobile6: aK, mlMobile7: sK, mlMobile8: lK, mlMobile9: uK, mlTablet0: cK, mlTablet0_125: Hse, mlTablet0_25: $se, mlTablet0_5: Vse, mlTablet1: dK, mlTablet1_5: Gse, mlTablet1_75: Yse, mlTablet2: fK, mlTablet2_5: Xse, mlTablet3: hK, mlTablet4: pK, mlTablet5: bK, mlTablet6: gK, mlTablet7: mK, mlTablet8: vK, mlTablet9: yK, mr0: xK, mr0_125: Zse, mr0_25: Kse, mr0_5: Jse, mr1: _K, mr1_5: Qse, mr1_75: jse, mr2: HT, mr2_5: qse, mr3: wK, mr4: TK, mr5: kK, mr6: EK, mr7: CK, mr8: SK, mr9: AK, mrDesktop0: PK, mrDesktop0_125: ele, mrDesktop0_25: tle, mrDesktop0_5: nle, mrDesktop1: RK, mrDesktop1_5: rle, mrDesktop1_75: ole, mrDesktop2: IK, mrDesktop2_5: ile, mrDesktop3: MK, mrDesktop4: OK, mrDesktop5: DK, mrDesktop6: FK, mrDesktop7: NK, mrDesktop8: LK, mrDesktop9: BK, mrMobile0: zK, mrMobile0_125: ale, mrMobile0_25: sle, mrMobile0_5: lle, mrMobile1: WK, mrMobile1_5: ule, mrMobile1_75: cle, mrMobile2: UK, mrMobile2_5: dle, mrMobile3: HK, mrMobile4: $K, mrMobile5: VK, mrMobile6: GK, mrMobile7: YK, mrMobile8: XK, mrMobile9: ZK, mrTablet0: KK, mrTablet0_125: fle, mrTablet0_25: hle, mrTablet0_5: ple, mrTablet1: JK, mrTablet1_5: ble, mrTablet1_75: gle, mrTablet2: QK, mrTablet2_5: mle, mrTablet3: jK, mrTablet4: qK, mrTablet5: eJ, mrTablet6: tJ, mrTablet7: nJ, mrTablet8: rJ, mrTablet9: oJ, mt0: iJ, mt0_125: vle, mt0_25: yle, mt0_5: JT, mt1: $T, mt1_5: xle, mt1_75: _le, mt2: VT, mt2_5: wle, mt3: aJ, mt4: sJ, mt5: GT, mt6: lJ, mt7: uJ, mt8: cJ, mt9: dJ, mtDesktop0: fJ, mtDesktop0_125: Tle, mtDesktop0_25: kle, mtDesktop0_5: Ele, mtDesktop1: hJ, mtDesktop1_5: Cle, mtDesktop1_75: Sle, mtDesktop2: pJ, mtDesktop2_5: Ale, mtDesktop3: bJ, mtDesktop4: gJ, mtDesktop5: mJ, mtDesktop6: vJ, mtDesktop7: yJ, mtDesktop8: xJ, mtDesktop9: _J, mtMobile0: wJ, mtMobile0_125: Ple, mtMobile0_25: Rle, mtMobile0_5: Ile, mtMobile1: TJ, mtMobile1_5: Mle, mtMobile1_75: Ole, mtMobile2: kJ, mtMobile2_5: Dle, mtMobile3: EJ, mtMobile4: CJ, mtMobile5: SJ, mtMobile6: AJ, mtMobile7: PJ, mtMobile8: RJ, mtMobile9: IJ, mtTablet0: MJ, mtTablet0_125: Fle, mtTablet0_25: Nle, mtTablet0_5: Lle, mtTablet1: OJ, mtTablet1_5: Ble, mtTablet1_75: zle, mtTablet2: DJ, mtTablet2_5: Wle, mtTablet3: FJ, mtTablet4: NJ, mtTablet5: LJ, mtTablet6: BJ, mtTablet7: zJ, mtTablet8: WJ, mtTablet9: UJ, mx0: HJ, mx0_125: Ule, mx0_25: Hle, mx0_5: $le, mx1: $J, mx1_5: Vle, mx1_75: Gle, mx2: VJ, mx2_5: Yle, mx3: GJ, mx4: YJ, mx5: XJ, mx6: ZJ, mx7: KJ, mx8: JJ, mx9: QJ, mxDesktop0: jJ, mxDesktop0_125: Xle, mxDesktop0_25: Zle, mxDesktop0_5: Kle, mxDesktop1: qJ, mxDesktop1_5: Jle, mxDesktop1_75: Qle, mxDesktop2: eQ, mxDesktop2_5: jle, mxDesktop3: tQ, mxDesktop4: nQ, mxDesktop5: rQ, mxDesktop6: oQ, mxDesktop7: iQ, mxDesktop8: aQ, mxDesktop9: sQ, mxMobile0: lQ, mxMobile0_125: qle, mxMobile0_25: eue, mxMobile0_5: tue, mxMobile1: uQ, mxMobile1_5: nue, mxMobile1_75: rue, mxMobile2: cQ, mxMobile2_5: oue, mxMobile3: dQ, mxMobile4: fQ, mxMobile5: hQ, mxMobile6: pQ, mxMobile7: bQ, mxMobile8: gQ, mxMobile9: mQ, mxTablet0: vQ, mxTablet0_125: iue, mxTablet0_25: aue, mxTablet0_5: sue, mxTablet1: yQ, mxTablet1_5: lue, mxTablet1_75: uue, mxTablet2: xQ, mxTablet2_5: cue, mxTablet3: _Q, mxTablet4: wQ, mxTablet5: TQ, mxTablet6: kQ, mxTablet7: EQ, mxTablet8: CQ, mxTablet9: SQ, my0: AQ, my0_125: due, my0_25: fue, my0_5: hue, my1: PQ, my1_5: pue, my1_75: bue, my2: RQ, my2_5: gue, my3: IQ, my4: MQ, my5: OQ, my6: DQ, my7: FQ, my8: NQ, my9: LQ, myDesktop0: BQ, myDesktop0_125: mue, myDesktop0_25: vue, myDesktop0_5: yue, myDesktop1: zQ, myDesktop1_5: xue, myDesktop1_75: _ue, myDesktop2: WQ, myDesktop2_5: wue, myDesktop3: UQ, myDesktop4: HQ, myDesktop5: $Q, myDesktop6: VQ, myDesktop7: GQ, myDesktop8: YQ, myDesktop9: XQ, myMobile0: ZQ, myMobile0_125: Tue, myMobile0_25: kue, myMobile0_5: Eue, myMobile1: KQ, myMobile1_5: Cue, myMobile1_75: Sue, myMobile2: JQ, myMobile2_5: Aue, myMobile3: QQ, myMobile4: jQ, myMobile5: qQ, myMobile6: ej, myMobile7: tj, myMobile8: nj, myMobile9: rj, myTablet0: oj, myTablet0_125: Pue, myTablet0_25: Rue, myTablet0_5: Iue, myTablet1: ij, myTablet1_5: Mue, myTablet1_75: Oue, myTablet2: aj, myTablet2_5: Due, myTablet3: sj, myTablet4: lj, myTablet5: uj, myTablet6: cj, myTablet7: dj, myTablet8: fj, myTablet9: hj, offset1: pj, offset10: bj, offset11: gj, offset12: mj, offset2: vj, offset3: yj, offset4: xj, offset5: _j, offset6: wj, offset7: Tj, offset8: kj, offset9: Ej, offsetAuto: Cj, offsetDesktop1: Sj, offsetDesktop10: Aj, offsetDesktop11: Pj, offsetDesktop12: Rj, offsetDesktop2: Ij, offsetDesktop3: Mj, offsetDesktop4: Oj, offsetDesktop5: Dj, offsetDesktop6: Fj, offsetDesktop7: Nj, offsetDesktop8: Lj, offsetDesktop9: Bj, offsetDesktopAuto: zj, offsetMobile1: Wj, offsetMobile10: Uj, offsetMobile11: Hj, offsetMobile12: $j, offsetMobile2: Vj, offsetMobile3: Gj, offsetMobile4: Yj, offsetMobile5: Xj, offsetMobile6: Zj, offsetMobile7: Kj, offsetMobile8: Jj, offsetMobile9: Qj, offsetMobileAuto: jj, offsetTablet1: qj, offsetTablet10: eq, offsetTablet11: tq, offsetTablet12: nq, offsetTablet2: rq, offsetTablet3: oq, offsetTablet4: iq, offsetTablet5: aq, offsetTablet6: sq, offsetTablet7: lq, offsetTablet8: uq, offsetTablet9: cq, offsetTabletAuto: dq, p0: fq, p0_125: Fue, p0_25: Nue, p0_5: Lue, p1: hq, p1_5: Bue, p1_75: zue, p2: YT, p2_5: Wue, p3: pq, p4: bq, p5: gq, p6: mq, p7: vq, p8: yq, p9: xq, pDesktop0: _q, pDesktop0_125: Uue, pDesktop0_25: Hue, pDesktop0_5: $ue, pDesktop1: wq, pDesktop1_5: Vue, pDesktop1_75: Gue, pDesktop2: Tq, pDesktop2_5: Yue, pDesktop3: kq, pDesktop4: Eq, pDesktop5: Cq, pDesktop6: Sq, pDesktop7: Aq, pDesktop8: Pq, pDesktop9: Rq, pMobile0: Iq, pMobile0_125: Xue, pMobile0_25: Zue, pMobile0_5: Kue, pMobile1: Mq, pMobile1_5: Jue, pMobile1_75: Que, pMobile2: Oq, pMobile2_5: jue, pMobile3: Dq, pMobile4: Fq, pMobile5: Nq, pMobile6: Lq, pMobile7: Bq, pMobile8: zq, pMobile9: Wq, pTablet0: Uq, pTablet0_125: que, pTablet0_25: ece, pTablet0_5: tce, pTablet1: Hq, pTablet1_5: nce, pTablet1_75: rce, pTablet2: $q, pTablet2_5: oce, pTablet3: Vq, pTablet4: Gq, pTablet5: Yq, pTablet6: Xq, pTablet7: Zq, pTablet8: Kq, pTablet9: Jq, pb0: Qq, pb0_125: ice, pb0_25: ace, pb0_5: sce, pb1: jq, pb1_5: lce, pb1_75: uce, pb2: qq, pb2_5: cce, pb3: eee, pb4: tee, pb5: nee, pb6: ree, pb7: oee, pb8: iee, pb9: aee, pbDesktop0: see, pbDesktop0_125: dce, pbDesktop0_25: fce, pbDesktop0_5: hce, pbDesktop1: lee, pbDesktop1_5: pce, pbDesktop1_75: bce, pbDesktop2: uee, pbDesktop2_5: gce, pbDesktop3: cee, pbDesktop4: dee, pbDesktop5: fee, pbDesktop6: hee, pbDesktop7: pee, pbDesktop8: bee, pbDesktop9: gee, pbMobile0: mee, pbMobile0_125: mce, pbMobile0_25: vce, pbMobile0_5: yce, pbMobile1: vee, pbMobile1_5: xce, pbMobile1_75: _ce, pbMobile2: yee, pbMobile2_5: wce, pbMobile3: xee, pbMobile4: _ee, pbMobile5: wee, pbMobile6: Tee, pbMobile7: kee, pbMobile8: Eee, pbMobile9: Cee, pbTablet0: See, pbTablet0_125: Tce, pbTablet0_25: kce, pbTablet0_5: Ece, pbTablet1: Aee, pbTablet1_5: Cce, pbTablet1_75: Sce, pbTablet2: Pee, pbTablet2_5: Ace, pbTablet3: Ree, pbTablet4: Iee, pbTablet5: Mee, pbTablet6: Oee, pbTablet7: Dee, pbTablet8: Fee, pbTablet9: Nee, pl0: Lee, pl0_125: Pce, pl0_25: Rce, pl0_5: Ice, pl1: Bee, pl1_5: Mce, pl1_75: Oce, pl2: zee, pl2_5: Dce, pl3: Wee, pl4: Uee, pl5: Hee, pl6: $ee, pl7: Vee, pl8: Gee, pl9: Yee, plDesktop0: Xee, plDesktop0_125: Fce, plDesktop0_25: Nce, plDesktop0_5: Lce, plDesktop1: Zee, plDesktop1_5: Bce, plDesktop1_75: zce, plDesktop2: Kee, plDesktop2_5: Wce, plDesktop3: Jee, plDesktop4: Qee, plDesktop5: jee, plDesktop6: qee, plDesktop7: ete, plDesktop8: tte, plDesktop9: nte, plMobile0: rte, plMobile0_125: Uce, plMobile0_25: Hce, plMobile0_5: $ce, plMobile1: ote, plMobile1_5: Vce, plMobile1_75: Gce, plMobile2: ite, plMobile2_5: Yce, plMobile3: ate, plMobile4: ste, plMobile5: lte, plMobile6: ute, plMobile7: cte, plMobile8: dte, plMobile9: fte, plTablet0: hte, plTablet0_125: Xce, plTablet0_25: Zce, plTablet0_5: Kce, plTablet1: pte, plTablet1_5: Jce, plTablet1_75: Qce, plTablet2: bte, plTablet2_5: jce, plTablet3: gte, plTablet4: mte, plTablet5: vte, plTablet6: yte, plTablet7: xte, plTablet8: _te, plTablet9: wte, positionAbsolute: Tte, positionDesktopAbsolute: kte, positionDesktopFixed: Ete, positionDesktopRelative: Cte, positionDesktopStatic: Ste, positionDesktopSticky: Ate, positionFixed: Pte, positionMobileAbsolute: Rte, positionMobileFixed: Ite, positionMobileRelative: Mte, positionMobileStatic: Ote, positionMobileSticky: Dte, positionRelative: Fte, positionStatic: Nte, positionSticky: Lte, positionTabletAbsolute: Bte, positionTabletFixed: zte, positionTabletRelative: Wte, positionTabletStatic: Ute, positionTabletSticky: Hte, pr0: $te, pr0_125: qce, pr0_25: ede, pr0_5: tde, pr1: Vte, pr1_5: nde, pr1_75: rde, pr2: Gte, pr2_5: ode, pr3: Yte, pr4: Xte, pr5: Zte, pr6: Kte, pr7: Jte, pr8: Qte, pr9: jte, prDesktop0: qte, prDesktop0_125: ide, prDesktop0_25: ade, prDesktop0_5: sde, prDesktop1: ene, prDesktop1_5: lde, prDesktop1_75: ude, prDesktop2: tne, prDesktop2_5: cde, prDesktop3: nne, prDesktop4: rne, prDesktop5: one, prDesktop6: ine, prDesktop7: ane, prDesktop8: sne, prDesktop9: lne, prMobile0: une, prMobile0_125: dde, prMobile0_25: fde, prMobile0_5: hde, prMobile1: cne, prMobile1_5: pde, prMobile1_75: bde, prMobile2: dne, prMobile2_5: gde, prMobile3: fne, prMobile4: hne, prMobile5: pne, prMobile6: bne, prMobile7: gne, prMobile8: mne, prMobile9: vne, prTablet0: yne, prTablet0_125: mde, prTablet0_25: vde, prTablet0_5: yde, prTablet1: xne, prTablet1_5: xde, prTablet1_75: _de, prTablet2: _ne, prTablet2_5: wde, prTablet3: wne, prTablet4: Tne, prTablet5: kne, prTablet6: Ene, prTablet7: Cne, prTablet8: Sne, prTablet9: Ane, pt0: Pne, pt0_125: Tde, pt0_25: kde, pt0_5: Ede, pt1: Rne, pt1_5: Cde, pt1_75: Sde, pt2: XT, pt2_5: Ade, pt3: Ine, pt4: Mne, pt5: One, pt6: Dne, pt7: Fne, pt8: Nne, pt9: Lne, ptDesktop0: Bne, ptDesktop0_125: Pde, ptDesktop0_25: Rde, ptDesktop0_5: Ide, ptDesktop1: zne, ptDesktop1_5: Mde, ptDesktop1_75: Ode, ptDesktop2: Wne, ptDesktop2_5: Dde, ptDesktop3: Une, ptDesktop4: Hne, ptDesktop5: $ne, ptDesktop6: Vne, ptDesktop7: Gne, ptDesktop8: Yne, ptDesktop9: Xne, ptMobile0: Zne, ptMobile0_125: Fde, ptMobile0_25: Nde, ptMobile0_5: Lde, ptMobile1: Kne, ptMobile1_5: Bde, ptMobile1_75: zde, ptMobile2: Jne, ptMobile2_5: Wde, ptMobile3: Qne, ptMobile4: jne, ptMobile5: qne, ptMobile6: ere, ptMobile7: tre, ptMobile8: nre, ptMobile9: rre, ptTablet0: ore, ptTablet0_125: Ude, ptTablet0_25: Hde, ptTablet0_5: $de, ptTablet1: ire, ptTablet1_5: Vde, ptTablet1_75: Gde, ptTablet2: are, ptTablet2_5: Yde, ptTablet3: sre, ptTablet4: lre, ptTablet5: ure, ptTablet6: cre, ptTablet7: dre, ptTablet8: fre, ptTablet9: hre, px0: pre, px0_125: Xde, px0_25: Zde, px0_5: Kde, px1: ZT, px1_5: Jde, px1_75: Qde, px2: bre, px2_5: jde, px3: gre, px4: mre, px5: vre, px6: yre, px7: xre, px8: _re, px9: wre, pxDesktop0: Tre, pxDesktop0_125: qde, pxDesktop0_25: efe, pxDesktop0_5: tfe, pxDesktop1: kre, pxDesktop1_5: nfe, pxDesktop1_75: rfe, pxDesktop2: Ere, pxDesktop2_5: ofe, pxDesktop3: Cre, pxDesktop4: Sre, pxDesktop5: Are, pxDesktop6: Pre, pxDesktop7: Rre, pxDesktop8: Ire, pxDesktop9: Mre, pxMobile0: Ore, pxMobile0_125: ife, pxMobile0_25: afe, pxMobile0_5: sfe, pxMobile1: Dre, pxMobile1_5: lfe, pxMobile1_75: ufe, pxMobile2: Fre, pxMobile2_5: cfe, pxMobile3: Nre, pxMobile4: Lre, pxMobile5: Bre, pxMobile6: zre, pxMobile7: Wre, pxMobile8: Ure, pxMobile9: Hre, pxTablet0: $re, pxTablet0_125: dfe, pxTablet0_25: ffe, pxTablet0_5: hfe, pxTablet1: Vre, pxTablet1_5: pfe, pxTablet1_75: bfe, pxTablet2: Gre, pxTablet2_5: gfe, pxTablet3: Yre, pxTablet4: Xre, pxTablet5: Zre, pxTablet6: Kre, pxTablet7: Jre, pxTablet8: Qre, pxTablet9: jre, py0: qre, py0_125: mfe, py0_25: vfe, py0_5: yfe, py1: eoe, py1_5: xfe, py1_75: _fe, py2: toe, py2_5: wfe, py3: noe, py4: roe, py5: ooe, py6: ioe, py7: aoe, py8: soe, py9: loe, pyDesktop0: uoe, pyDesktop0_125: Tfe, pyDesktop0_25: kfe, pyDesktop0_5: Efe, pyDesktop1: coe, pyDesktop1_5: Cfe, pyDesktop1_75: Sfe, pyDesktop2: doe, pyDesktop2_5: Afe, pyDesktop3: foe, pyDesktop4: hoe, pyDesktop5: poe, pyDesktop6: boe, pyDesktop7: goe, pyDesktop8: moe, pyDesktop9: voe, pyMobile0: yoe, pyMobile0_125: Pfe, pyMobile0_25: Rfe, pyMobile0_5: Ife, pyMobile1: xoe, pyMobile1_5: Mfe, pyMobile1_75: Ofe, pyMobile2: _oe, pyMobile2_5: Dfe, pyMobile3: woe, pyMobile4: Toe, pyMobile5: koe, pyMobile6: Eoe, pyMobile7: Coe, pyMobile8: Soe, pyMobile9: Aoe, pyTablet0: Poe, pyTablet0_125: Ffe, pyTablet0_25: Nfe, pyTablet0_5: Lfe, pyTablet1: Roe, pyTablet1_5: Bfe, pyTablet1_75: zfe, pyTablet2: Ioe, pyTablet2_5: Wfe, pyTablet3: Moe, pyTablet4: Ooe, pyTablet5: Doe, pyTablet6: Foe, pyTablet7: Noe, pyTablet8: Loe, pyTablet9: Boe, row: zoe, textAlignCenter: Woe, textAlignDesktopCenter: Uoe, textAlignDesktopEnd: Hoe, textAlignDesktopJustify: $oe, textAlignDesktopStart: Voe, textAlignEnd: Goe, textAlignJustify: Yoe, textAlignMobileCenter: Xoe, textAlignMobileEnd: Zoe, textAlignMobileJustify: Koe, textAlignMobileStart: Joe, textAlignStart: Qoe, textAlignTabletCenter: joe, textAlignTabletEnd: qoe, textAlignTabletJustify: eie, textAlignTabletStart: tie, vh0: nie, vh100: rie, vh25: oie, vh50: iie, vh75: aie, vhDesktop0: sie, vhDesktop100: lie, vhDesktop25: uie, vhDesktop50: cie, vhDesktop75: die, vhMobile0: fie, vhMobile100: hie, vhMobile25: pie, vhMobile50: bie, vhMobile75: gie, vhTablet0: mie, vhTablet100: vie, vhTablet25: yie, vhTablet50: xie, vhTablet75: _ie, vw0: wie, vw100: Tie, vw25: kie, vw50: Eie, vw75: Cie, vwDesktop0: Sie, vwDesktop100: Aie, vwDesktop25: Pie, vwDesktop50: Rie, vwDesktop75: Iie, vwMobile0: Mie, vwMobile100: Oie, vwMobile25: Die, vwMobile50: Fie, vwMobile75: Nie, vwTablet0: Lie, vwTablet100: Bie, vwTablet25: zie, vwTablet50: Wie, vwTablet75: Uie, w0: Hie, w100: n2, w25: $ie, w50: Vie, w75: Gie, wDesktop0: Yie, wDesktop100: Xie, wDesktop25: Zie, wDesktop50: Kie, wDesktop75: Jie, wMobile0: Qie, wMobile100: jie, wMobile25: qie, wMobile50: eae, wMobile75: tae, wTablet0: nae, wTablet100: rae, wTablet25: oae, wTablet50: iae, wTablet75: aae }, Symbol.toStringTag, { value: "Module" })), Li = (e10) => {
  const {
    children: t,
    className: n,
    onClick: r,
    innerRef: o,
    style: i,
    testId: u,
    id: p
  } = e10;
  return jsxRuntimeExports.jsx("div", {
    role: e10.role,
    id: p,
    "data-testid": u,
    ref: o,
    style: i,
    onClick: r,
    className: n,
    children: t
  });
}, S3 = (e10) => reactExports.isValidElement(e10) && !!e10.props.children, A3 = (e10) => typeof e10 > "u" || e10 === null || typeof e10 == "boolean" || JSON.stringify(e10) === "{}" ? "" : e10.toString(), H0 = (e10) => !(e10 instanceof Array) && !reactExports.isValidElement(e10) ? A3(e10) : reactExports.Children.toArray(e10).reduce((t, n) => {
  let r = "";
  return reactExports.isValidElement(n) && S3(n) ? typeof n.type == "string" ? r = `<${n.type}>${H0(n.props.children)}</${n.type}>` : r = H0(n.props.children) : reactExports.isValidElement(n) && !S3(n) ? r = "" : r = A3(n), t.concat(`${r}`);
}, ""), Kt = (...e10) => e10.join(" "), oy = (e10) => e10 ? (e10.slice(0, 2) === "--" && (e10 = `var(${e10})`), e10) : "";
var jo;
(function(e10) {
  e10.Root = "root", e10.Text = "text", e10.Directive = "directive", e10.Comment = "comment", e10.Script = "script", e10.Style = "style", e10.Tag = "tag", e10.CDATA = "cdata", e10.Doctype = "doctype";
})(jo || (jo = {}));
function Ufe(e10) {
  return e10.type === jo.Tag || e10.type === jo.Script || e10.type === jo.Style;
}
const Hfe = jo.Root, $fe = jo.Text, Vfe = jo.Directive, Gfe = jo.Comment, Yfe = jo.Script, Xfe = jo.Style, Zfe = jo.Tag, Kfe = jo.CDATA, Jfe = jo.Doctype, QT = new Uint16Array(
  // prettier-ignore
  'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\0\0᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e10) => e10.charCodeAt(0))
), jT = new Uint16Array(
  // prettier-ignore
  "Ȁaglq	\x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e10) => e10.charCodeAt(0))
);
var bm;
const Qfe = /* @__PURE__ */ new Map([
  [0, 65533],
  // C1 Unicode control character reference replacements
  [128, 8364],
  [130, 8218],
  [131, 402],
  [132, 8222],
  [133, 8230],
  [134, 8224],
  [135, 8225],
  [136, 710],
  [137, 8240],
  [138, 352],
  [139, 8249],
  [140, 338],
  [142, 381],
  [145, 8216],
  [146, 8217],
  [147, 8220],
  [148, 8221],
  [149, 8226],
  [150, 8211],
  [151, 8212],
  [152, 732],
  [153, 8482],
  [154, 353],
  [155, 8250],
  [156, 339],
  [158, 382],
  [159, 376]
]), iy = (
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
  (bm = String.fromCodePoint) !== null && bm !== void 0 ? bm : function(e10) {
    let t = "";
    return e10 > 65535 && (e10 -= 65536, t += String.fromCharCode(e10 >>> 10 & 1023 | 55296), e10 = 56320 | e10 & 1023), t += String.fromCharCode(e10), t;
  }
);
function qT(e10) {
  var t;
  return e10 >= 55296 && e10 <= 57343 || e10 > 1114111 ? 65533 : (t = Qfe.get(e10)) !== null && t !== void 0 ? t : e10;
}
var el;
(function(e10) {
  e10[e10.NUM = 35] = "NUM", e10[e10.SEMI = 59] = "SEMI", e10[e10.EQUALS = 61] = "EQUALS", e10[e10.ZERO = 48] = "ZERO", e10[e10.NINE = 57] = "NINE", e10[e10.LOWER_A = 97] = "LOWER_A", e10[e10.LOWER_F = 102] = "LOWER_F", e10[e10.LOWER_X = 120] = "LOWER_X", e10[e10.LOWER_Z = 122] = "LOWER_Z", e10[e10.UPPER_A = 65] = "UPPER_A", e10[e10.UPPER_F = 70] = "UPPER_F", e10[e10.UPPER_Z = 90] = "UPPER_Z";
})(el || (el = {}));
const jfe = 32;
var Od;
(function(e10) {
  e10[e10.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e10[e10.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e10[e10.JUMP_TABLE = 127] = "JUMP_TABLE";
})(Od || (Od = {}));
function ay(e10) {
  return e10 >= el.ZERO && e10 <= el.NINE;
}
function qfe(e10) {
  return e10 >= el.UPPER_A && e10 <= el.UPPER_F || e10 >= el.LOWER_A && e10 <= el.LOWER_F;
}
function ehe(e10) {
  return e10 >= el.UPPER_A && e10 <= el.UPPER_Z || e10 >= el.LOWER_A && e10 <= el.LOWER_Z || ay(e10);
}
function the(e10) {
  return e10 === el.EQUALS || ehe(e10);
}
var js;
(function(e10) {
  e10[e10.EntityStart = 0] = "EntityStart", e10[e10.NumericStart = 1] = "NumericStart", e10[e10.NumericDecimal = 2] = "NumericDecimal", e10[e10.NumericHex = 3] = "NumericHex", e10[e10.NamedEntity = 4] = "NamedEntity";
})(js || (js = {}));
var $h;
(function(e10) {
  e10[e10.Legacy = 0] = "Legacy", e10[e10.Strict = 1] = "Strict", e10[e10.Attribute = 2] = "Attribute";
})($h || ($h = {}));
class nhe {
  constructor(t, n, r) {
    this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = js.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = $h.Strict;
  }
  /** Resets the instance to make it reusable. */
  startEntity(t) {
    this.decodeMode = t, this.state = js.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
  }
  /**
   * Write an entity to the decoder. This can be called multiple times with partial entities.
   * If the entity is incomplete, the decoder will return -1.
   *
   * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
   * entity is incomplete, and resume when the next string is written.
   *
   * @param string The string containing the entity (or a continuation of the entity).
   * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
   * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
   */
  write(t, n) {
    switch (this.state) {
      case js.EntityStart:
        return t.charCodeAt(n) === el.NUM ? (this.state = js.NumericStart, this.consumed += 1, this.stateNumericStart(t, n + 1)) : (this.state = js.NamedEntity, this.stateNamedEntity(t, n));
      case js.NumericStart:
        return this.stateNumericStart(t, n);
      case js.NumericDecimal:
        return this.stateNumericDecimal(t, n);
      case js.NumericHex:
        return this.stateNumericHex(t, n);
      case js.NamedEntity:
        return this.stateNamedEntity(t, n);
    }
  }
  /**
   * Switches between the numeric decimal and hexadecimal states.
   *
   * Equivalent to the `Numeric character reference state` in the HTML spec.
   *
   * @param str The string containing the entity (or a continuation of the entity).
   * @param offset The current offset.
   * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
   */
  stateNumericStart(t, n) {
    return n >= t.length ? -1 : (t.charCodeAt(n) | jfe) === el.LOWER_X ? (this.state = js.NumericHex, this.consumed += 1, this.stateNumericHex(t, n + 1)) : (this.state = js.NumericDecimal, this.stateNumericDecimal(t, n));
  }
  addToNumericResult(t, n, r, o) {
    if (n !== r) {
      const i = r - n;
      this.result = this.result * Math.pow(o, i) + parseInt(t.substr(n, i), o), this.consumed += i;
    }
  }
  /**
   * Parses a hexadecimal numeric entity.
   *
   * Equivalent to the `Hexademical character reference state` in the HTML spec.
   *
   * @param str The string containing the entity (or a continuation of the entity).
   * @param offset The current offset.
   * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
   */
  stateNumericHex(t, n) {
    const r = n;
    for (; n < t.length; ) {
      const o = t.charCodeAt(n);
      if (ay(o) || qfe(o))
        n += 1;
      else
        return this.addToNumericResult(t, r, n, 16), this.emitNumericEntity(o, 3);
    }
    return this.addToNumericResult(t, r, n, 16), -1;
  }
  /**
   * Parses a decimal numeric entity.
   *
   * Equivalent to the `Decimal character reference state` in the HTML spec.
   *
   * @param str The string containing the entity (or a continuation of the entity).
   * @param offset The current offset.
   * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
   */
  stateNumericDecimal(t, n) {
    const r = n;
    for (; n < t.length; ) {
      const o = t.charCodeAt(n);
      if (ay(o))
        n += 1;
      else
        return this.addToNumericResult(t, r, n, 10), this.emitNumericEntity(o, 2);
    }
    return this.addToNumericResult(t, r, n, 10), -1;
  }
  /**
   * Validate and emit a numeric entity.
   *
   * Implements the logic from the `Hexademical character reference start
   * state` and `Numeric character reference end state` in the HTML spec.
   *
   * @param lastCp The last code point of the entity. Used to see if the
   *               entity was terminated with a semicolon.
   * @param expectedLength The minimum number of characters that should be
   *                       consumed. Used to validate that at least one digit
   *                       was consumed.
   * @returns The number of characters that were consumed.
   */
  emitNumericEntity(t, n) {
    var r;
    if (this.consumed <= n)
      return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
    if (t === el.SEMI)
      this.consumed += 1;
    else if (this.decodeMode === $h.Strict)
      return 0;
    return this.emitCodePoint(qT(this.result), this.consumed), this.errors && (t !== el.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
  }
  /**
   * Parses a named entity.
   *
   * Equivalent to the `Named character reference state` in the HTML spec.
   *
   * @param str The string containing the entity (or a continuation of the entity).
   * @param offset The current offset.
   * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
   */
  stateNamedEntity(t, n) {
    const { decodeTree: r } = this;
    let o = r[this.treeIndex], i = (o & Od.VALUE_LENGTH) >> 14;
    for (; n < t.length; n++, this.excess++) {
      const u = t.charCodeAt(n);
      if (this.treeIndex = tk(r, o, this.treeIndex + Math.max(1, i), u), this.treeIndex < 0)
        return this.result === 0 || // If we are parsing an attribute
        this.decodeMode === $h.Attribute && // We shouldn't have consumed any characters after the entity,
        (i === 0 || // And there should be no invalid characters.
        the(u)) ? 0 : this.emitNotTerminatedNamedEntity();
      if (o = r[this.treeIndex], i = (o & Od.VALUE_LENGTH) >> 14, i !== 0) {
        if (u === el.SEMI)
          return this.emitNamedEntityData(this.treeIndex, i, this.consumed + this.excess);
        this.decodeMode !== $h.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
      }
    }
    return -1;
  }
  /**
   * Emit a named entity that was not terminated with a semicolon.
   *
   * @returns The number of characters consumed.
   */
  emitNotTerminatedNamedEntity() {
    var t;
    const { result: n, decodeTree: r } = this, o = (r[n] & Od.VALUE_LENGTH) >> 14;
    return this.emitNamedEntityData(n, o, this.consumed), (t = this.errors) === null || t === void 0 || t.missingSemicolonAfterCharacterReference(), this.consumed;
  }
  /**
   * Emit a named entity.
   *
   * @param result The index of the entity in the decode tree.
   * @param valueLength The number of bytes in the entity.
   * @param consumed The number of characters consumed.
   *
   * @returns The number of characters consumed.
   */
  emitNamedEntityData(t, n, r) {
    const { decodeTree: o } = this;
    return this.emitCodePoint(n === 1 ? o[t] & ~Od.VALUE_LENGTH : o[t + 1], r), n === 3 && this.emitCodePoint(o[t + 2], r), r;
  }
  /**
   * Signal to the parser that the end of the input was reached.
   *
   * Remaining data will be emitted and relevant errors will be produced.
   *
   * @returns The number of characters consumed.
   */
  end() {
    var t;
    switch (this.state) {
      case js.NamedEntity:
        return this.result !== 0 && (this.decodeMode !== $h.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
      // Otherwise, emit a numeric entity if we have one.
      case js.NumericDecimal:
        return this.emitNumericEntity(0, 2);
      case js.NumericHex:
        return this.emitNumericEntity(0, 3);
      case js.NumericStart:
        return (t = this.errors) === null || t === void 0 || t.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
      case js.EntityStart:
        return 0;
    }
  }
}
function ek(e10) {
  let t = "";
  const n = new nhe(e10, (r) => t += iy(r));
  return function(o, i) {
    let u = 0, p = 0;
    for (; (p = o.indexOf("&", p)) >= 0; ) {
      t += o.slice(u, p), n.startEntity(i);
      const y = n.write(
        o,
        // Skip the "&"
        p + 1
      );
      if (y < 0) {
        u = p + n.end();
        break;
      }
      u = p + y, p = y === 0 ? u + 1 : u;
    }
    const v = t + o.slice(u);
    return t = "", v;
  };
}
function tk(e10, t, n, r) {
  const o = (t & Od.BRANCH_LENGTH) >> 7, i = t & Od.JUMP_TABLE;
  if (o === 0)
    return i !== 0 && r === i ? n : -1;
  if (i) {
    const v = r - i;
    return v < 0 || v >= o ? -1 : e10[n + v] - 1;
  }
  let u = n, p = u + o - 1;
  for (; u <= p; ) {
    const v = u + p >>> 1, y = e10[v];
    if (y < r)
      u = v + 1;
    else if (y > r)
      p = v - 1;
    else
      return e10[v + o];
  }
  return -1;
}
ek(QT);
ek(jT);
const P3 = /["&'<>$\x80-\uFFFF]/g, rhe = /* @__PURE__ */ new Map([
  [34, "&quot;"],
  [38, "&amp;"],
  [39, "&apos;"],
  [60, "&lt;"],
  [62, "&gt;"]
]), ohe = (
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
  String.prototype.codePointAt != null ? (e10, t) => e10.codePointAt(t) : (
    // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
    ((e10, t) => (e10.charCodeAt(t) & 64512) === 55296 ? (e10.charCodeAt(t) - 55296) * 1024 + e10.charCodeAt(t + 1) - 56320 + 65536 : e10.charCodeAt(t))
  )
);
function nk(e10) {
  let t = "", n = 0, r;
  for (; (r = P3.exec(e10)) !== null; ) {
    const o = r.index, i = e10.charCodeAt(o), u = rhe.get(i);
    u !== void 0 ? (t += e10.substring(n, o) + u, n = o + 1) : (t += `${e10.substring(n, o)}&#x${ohe(e10, o).toString(16)};`, n = P3.lastIndex += +((i & 64512) === 55296));
  }
  return t + e10.substr(n);
}
function rk(e10, t) {
  return function(r) {
    let o, i = 0, u = "";
    for (; o = e10.exec(r); )
      i !== o.index && (u += r.substring(i, o.index)), u += t.get(o[0].charCodeAt(0)), i = o.index + 1;
    return u + r.substring(i);
  };
}
const ihe = rk(/["&\u00A0]/g, /* @__PURE__ */ new Map([
  [34, "&quot;"],
  [38, "&amp;"],
  [160, "&nbsp;"]
])), ahe = rk(/[&<>\u00A0]/g, /* @__PURE__ */ new Map([
  [38, "&amp;"],
  [60, "&lt;"],
  [62, "&gt;"],
  [160, "&nbsp;"]
])), she = new Map([
  "altGlyph",
  "altGlyphDef",
  "altGlyphItem",
  "animateColor",
  "animateMotion",
  "animateTransform",
  "clipPath",
  "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",
  "foreignObject",
  "glyphRef",
  "linearGradient",
  "radialGradient",
  "textPath"
].map((e10) => [e10.toLowerCase(), e10])), lhe = new Map([
  "definitionURL",
  "attributeName",
  "attributeType",
  "baseFrequency",
  "baseProfile",
  "calcMode",
  "clipPathUnits",
  "diffuseConstant",
  "edgeMode",
  "filterUnits",
  "glyphRef",
  "gradientTransform",
  "gradientUnits",
  "kernelMatrix",
  "kernelUnitLength",
  "keyPoints",
  "keySplines",
  "keyTimes",
  "lengthAdjust",
  "limitingConeAngle",
  "markerHeight",
  "markerUnits",
  "markerWidth",
  "maskContentUnits",
  "maskUnits",
  "numOctaves",
  "pathLength",
  "patternContentUnits",
  "patternTransform",
  "patternUnits",
  "pointsAtX",
  "pointsAtY",
  "pointsAtZ",
  "preserveAlpha",
  "preserveAspectRatio",
  "primitiveUnits",
  "refX",
  "refY",
  "repeatCount",
  "repeatDur",
  "requiredExtensions",
  "requiredFeatures",
  "specularConstant",
  "specularExponent",
  "spreadMethod",
  "startOffset",
  "stdDeviation",
  "stitchTiles",
  "surfaceScale",
  "systemLanguage",
  "tableValues",
  "targetX",
  "targetY",
  "textLength",
  "viewBox",
  "viewTarget",
  "xChannelSelector",
  "yChannelSelector",
  "zoomAndPan"
].map((e10) => [e10.toLowerCase(), e10])), uhe = /* @__PURE__ */ new Set([
  "style",
  "script",
  "xmp",
  "iframe",
  "noembed",
  "noframes",
  "plaintext",
  "noscript"
]);
function che(e10) {
  return e10.replace(/"/g, "&quot;");
}
function dhe(e10, t) {
  var n;
  if (!e10)
    return;
  const r = ((n = t.encodeEntities) !== null && n !== void 0 ? n : t.decodeEntities) === false ? che : t.xmlMode || t.encodeEntities !== "utf8" ? nk : ihe;
  return Object.keys(e10).map((o) => {
    var i, u;
    const p = (i = e10[o]) !== null && i !== void 0 ? i : "";
    return t.xmlMode === "foreign" && (o = (u = lhe.get(o)) !== null && u !== void 0 ? u : o), !t.emptyAttrs && !t.xmlMode && p === "" ? o : `${o}="${r(p)}"`;
  }).join(" ");
}
const R3 = /* @__PURE__ */ new Set([
  "area",
  "base",
  "basefont",
  "br",
  "col",
  "command",
  "embed",
  "frame",
  "hr",
  "img",
  "input",
  "isindex",
  "keygen",
  "link",
  "meta",
  "param",
  "source",
  "track",
  "wbr"
]);
function r2(e10, t = {}) {
  const n = "length" in e10 ? e10 : [e10];
  let r = "";
  for (let o = 0; o < n.length; o++)
    r += fhe(n[o], t);
  return r;
}
function fhe(e10, t) {
  switch (e10.type) {
    case Hfe:
      return r2(e10.children, t);
    // @ts-expect-error We don't use `Doctype` yet
    case Jfe:
    case Vfe:
      return ghe(e10);
    case Gfe:
      return yhe(e10);
    case Kfe:
      return vhe(e10);
    case Yfe:
    case Xfe:
    case Zfe:
      return bhe(e10, t);
    case $fe:
      return mhe(e10, t);
  }
}
const hhe = /* @__PURE__ */ new Set([
  "mi",
  "mo",
  "mn",
  "ms",
  "mtext",
  "annotation-xml",
  "foreignObject",
  "desc",
  "title"
]), phe = /* @__PURE__ */ new Set(["svg", "math"]);
function bhe(e10, t) {
  var n;
  t.xmlMode === "foreign" && (e10.name = (n = she.get(e10.name)) !== null && n !== void 0 ? n : e10.name, e10.parent && hhe.has(e10.parent.name) && (t = { ...t, xmlMode: false })), !t.xmlMode && phe.has(e10.name) && (t = { ...t, xmlMode: "foreign" });
  let r = `<${e10.name}`;
  const o = dhe(e10.attribs, t);
  return o && (r += ` ${o}`), e10.children.length === 0 && (t.xmlMode ? (
    // In XML mode or foreign mode, and user hasn't explicitly turned off self-closing tags
    t.selfClosingTags !== false
  ) : (
    // User explicitly asked for self-closing tags, even in HTML mode
    t.selfClosingTags && R3.has(e10.name)
  )) ? (t.xmlMode || (r += " "), r += "/>") : (r += ">", e10.children.length > 0 && (r += r2(e10.children, t)), (t.xmlMode || !R3.has(e10.name)) && (r += `</${e10.name}>`)), r;
}
function ghe(e10) {
  return `<${e10.data}>`;
}
function mhe(e10, t) {
  var n;
  let r = e10.data || "";
  return ((n = t.encodeEntities) !== null && n !== void 0 ? n : t.decodeEntities) !== false && !(!t.xmlMode && e10.parent && uhe.has(e10.parent.name)) && (r = t.xmlMode || t.encodeEntities !== "utf8" ? nk(r) : ahe(r)), r;
}
function vhe(e10) {
  return `<![CDATA[${e10.children[0].data}]]>`;
}
function yhe(e10) {
  return `<!--${e10.data}-->`;
}
let ok = class {
  constructor() {
    this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
  }
  // Read-write aliases for properties
  /**
   * Same as {@link parent}.
   * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
   */
  get parentNode() {
    return this.parent;
  }
  set parentNode(t) {
    this.parent = t;
  }
  /**
   * Same as {@link prev}.
   * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
   */
  get previousSibling() {
    return this.prev;
  }
  set previousSibling(t) {
    this.prev = t;
  }
  /**
   * Same as {@link next}.
   * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
   */
  get nextSibling() {
    return this.next;
  }
  set nextSibling(t) {
    this.next = t;
  }
  /**
   * Clone this node, and optionally its children.
   *
   * @param recursive Clone child nodes as well.
   * @returns A clone of the node.
   */
  cloneNode(t = false) {
    return lk(this, t);
  }
};
class o2 extends ok {
  /**
   * @param data The content of the data node
   */
  constructor(t) {
    super(), this.data = t;
  }
  /**
   * Same as {@link data}.
   * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
   */
  get nodeValue() {
    return this.data;
  }
  set nodeValue(t) {
    this.data = t;
  }
}
let sy = class extends o2 {
  constructor() {
    super(...arguments), this.type = jo.Text;
  }
  get nodeType() {
    return 3;
  }
};
class ik extends o2 {
  constructor() {
    super(...arguments), this.type = jo.Comment;
  }
  get nodeType() {
    return 8;
  }
}
class ak extends o2 {
  constructor(t, n) {
    super(n), this.name = t, this.type = jo.Directive;
  }
  get nodeType() {
    return 1;
  }
}
class i2 extends ok {
  /**
   * @param children Children of the node. Only certain node types can have children.
   */
  constructor(t) {
    super(), this.children = t;
  }
  // Aliases
  /** First child of the node. */
  get firstChild() {
    var t;
    return (t = this.children[0]) !== null && t !== void 0 ? t : null;
  }
  /** Last child of the node. */
  get lastChild() {
    return this.children.length > 0 ? this.children[this.children.length - 1] : null;
  }
  /**
   * Same as {@link children}.
   * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
   */
  get childNodes() {
    return this.children;
  }
  set childNodes(t) {
    this.children = t;
  }
}
class sk extends i2 {
  constructor() {
    super(...arguments), this.type = jo.CDATA;
  }
  get nodeType() {
    return 4;
  }
}
class ly extends i2 {
  constructor() {
    super(...arguments), this.type = jo.Root;
  }
  get nodeType() {
    return 9;
  }
}
let hg = class extends i2 {
  /**
   * @param name Name of the tag, eg. `div`, `span`.
   * @param attribs Object mapping attribute names to attribute values.
   * @param children Children of the node.
   */
  constructor(t, n, r = [], o = t === "script" ? jo.Script : t === "style" ? jo.Style : jo.Tag) {
    super(r), this.name = t, this.attribs = n, this.type = o;
  }
  get nodeType() {
    return 1;
  }
  // DOM Level 1 aliases
  /**
   * Same as {@link name}.
   * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
   */
  get tagName() {
    return this.name;
  }
  set tagName(t) {
    this.name = t;
  }
  get attributes() {
    return Object.keys(this.attribs).map((t) => {
      var n, r;
      return {
        name: t,
        value: this.attribs[t],
        namespace: (n = this["x-attribsNamespace"]) === null || n === void 0 ? void 0 : n[t],
        prefix: (r = this["x-attribsPrefix"]) === null || r === void 0 ? void 0 : r[t]
      };
    });
  }
};
function xhe(e10) {
  return Ufe(e10);
}
function _he(e10) {
  return e10.type === jo.CDATA;
}
function whe(e10) {
  return e10.type === jo.Text;
}
function The(e10) {
  return e10.type === jo.Comment;
}
function khe(e10) {
  return e10.type === jo.Directive;
}
function Ehe(e10) {
  return e10.type === jo.Root;
}
function lk(e10, t = false) {
  let n;
  if (whe(e10))
    n = new sy(e10.data);
  else if (The(e10))
    n = new ik(e10.data);
  else if (xhe(e10)) {
    const r = t ? gm(e10.children) : [], o = new hg(e10.name, { ...e10.attribs }, r);
    r.forEach((i) => i.parent = o), e10.namespace != null && (o.namespace = e10.namespace), e10["x-attribsNamespace"] && (o["x-attribsNamespace"] = { ...e10["x-attribsNamespace"] }), e10["x-attribsPrefix"] && (o["x-attribsPrefix"] = { ...e10["x-attribsPrefix"] }), n = o;
  } else if (_he(e10)) {
    const r = t ? gm(e10.children) : [], o = new sk(r);
    r.forEach((i) => i.parent = o), n = o;
  } else if (Ehe(e10)) {
    const r = t ? gm(e10.children) : [], o = new ly(r);
    r.forEach((i) => i.parent = o), e10["x-mode"] && (o["x-mode"] = e10["x-mode"]), n = o;
  } else if (khe(e10)) {
    const r = new ak(e10.name, e10.data);
    e10["x-name"] != null && (r["x-name"] = e10["x-name"], r["x-publicId"] = e10["x-publicId"], r["x-systemId"] = e10["x-systemId"]), n = r;
  } else
    throw new Error(`Not implemented yet: ${e10.type}`);
  return n.startIndex = e10.startIndex, n.endIndex = e10.endIndex, e10.sourceCodeLocation != null && (n.sourceCodeLocation = e10.sourceCodeLocation), n;
}
function gm(e10) {
  const t = e10.map((n) => lk(n, true));
  for (let n = 1; n < t.length; n++)
    t[n].prev = t[n - 1], t[n - 1].next = t[n];
  return t;
}
const I3 = {
  withStartIndices: false,
  withEndIndices: false,
  xmlMode: false
};
class Che {
  /**
   * @param callback Called once parsing has completed.
   * @param options Settings for the handler.
   * @param elementCB Callback whenever a tag is closed.
   */
  constructor(t, n, r) {
    this.dom = [], this.root = new ly(this.dom), this.done = false, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof n == "function" && (r = n, n = I3), typeof t == "object" && (n = t, t = void 0), this.callback = t ?? null, this.options = n ?? I3, this.elementCB = r ?? null;
  }
  onparserinit(t) {
    this.parser = t;
  }
  // Resets the handler back to starting state
  onreset() {
    this.dom = [], this.root = new ly(this.dom), this.done = false, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
  }
  // Signals the handler that parsing is done
  onend() {
    this.done || (this.done = true, this.parser = null, this.handleCallback(null));
  }
  onerror(t) {
    this.handleCallback(t);
  }
  onclosetag() {
    this.lastNode = null;
    const t = this.tagStack.pop();
    this.options.withEndIndices && (t.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(t);
  }
  onopentag(t, n) {
    const r = this.options.xmlMode ? jo.Tag : void 0, o = new hg(t, n, void 0, r);
    this.addNode(o), this.tagStack.push(o);
  }
  ontext(t) {
    const { lastNode: n } = this;
    if (n && n.type === jo.Text)
      n.data += t, this.options.withEndIndices && (n.endIndex = this.parser.endIndex);
    else {
      const r = new sy(t);
      this.addNode(r), this.lastNode = r;
    }
  }
  oncomment(t) {
    if (this.lastNode && this.lastNode.type === jo.Comment) {
      this.lastNode.data += t;
      return;
    }
    const n = new ik(t);
    this.addNode(n), this.lastNode = n;
  }
  oncommentend() {
    this.lastNode = null;
  }
  oncdatastart() {
    const t = new sy(""), n = new sk([t]);
    this.addNode(n), t.parent = n, this.lastNode = t;
  }
  oncdataend() {
    this.lastNode = null;
  }
  onprocessinginstruction(t, n) {
    const r = new ak(t, n);
    this.addNode(r);
  }
  handleCallback(t) {
    if (typeof this.callback == "function")
      this.callback(t, this.dom);
    else if (t)
      throw t;
  }
  addNode(t) {
    const n = this.tagStack[this.tagStack.length - 1], r = n.children[n.children.length - 1];
    this.options.withStartIndices && (t.startIndex = this.parser.startIndex), this.options.withEndIndices && (t.endIndex = this.parser.endIndex), n.children.push(t), r && (t.prev = r, r.next = t), t.parent = n, this.lastNode = null;
  }
}
function jc(e10) {
  return e10 && e10.__esModule && Object.prototype.hasOwnProperty.call(e10, "default") ? e10.default : e10;
}
function _h(e10) {
  if (Object.prototype.hasOwnProperty.call(e10, "__esModule")) return e10;
  var t = e10.default;
  if (typeof t == "function") {
    var n = function r() {
      return this instanceof r ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
    };
    n.prototype = t.prototype;
  } else n = {};
  return Object.defineProperty(n, "__esModule", { value: true }), Object.keys(e10).forEach(function(r) {
    var o = Object.getOwnPropertyDescriptor(e10, r);
    Object.defineProperty(n, r, o.get ? o : {
      enumerable: true,
      get: function() {
        return e10[r];
      }
    });
  }), n;
}
var Dh = {}, mm = {}, M3;
function uk() {
  return M3 || (M3 = 1, (function(e10) {
    Object.defineProperty(e10, "__esModule", { value: true }), e10.Doctype = e10.CDATA = e10.Tag = e10.Style = e10.Script = e10.Comment = e10.Directive = e10.Text = e10.Root = e10.isTag = e10.ElementType = void 0;
    var t;
    (function(r) {
      r.Root = "root", r.Text = "text", r.Directive = "directive", r.Comment = "comment", r.Script = "script", r.Style = "style", r.Tag = "tag", r.CDATA = "cdata", r.Doctype = "doctype";
    })(t = e10.ElementType || (e10.ElementType = {}));
    function n(r) {
      return r.type === t.Tag || r.type === t.Script || r.type === t.Style;
    }
    e10.isTag = n, e10.Root = t.Root, e10.Text = t.Text, e10.Directive = t.Directive, e10.Comment = t.Comment, e10.Script = t.Script, e10.Style = t.Style, e10.Tag = t.Tag, e10.CDATA = t.CDATA, e10.Doctype = t.Doctype;
  })(mm)), mm;
}
var Mr = {}, O3;
function D3() {
  if (O3) return Mr;
  O3 = 1;
  var e10 = Mr && Mr.__extends || /* @__PURE__ */ (function() {
    var Q = function(q, F) {
      return Q = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(ne, ae) {
        ne.__proto__ = ae;
      } || function(ne, ae) {
        for (var pe in ae) Object.prototype.hasOwnProperty.call(ae, pe) && (ne[pe] = ae[pe]);
      }, Q(q, F);
    };
    return function(q, F) {
      if (typeof F != "function" && F !== null)
        throw new TypeError("Class extends value " + String(F) + " is not a constructor or null");
      Q(q, F);
      function ne() {
        this.constructor = q;
      }
      q.prototype = F === null ? Object.create(F) : (ne.prototype = F.prototype, new ne());
    };
  })(), t = Mr && Mr.__assign || function() {
    return t = Object.assign || function(Q) {
      for (var q, F = 1, ne = arguments.length; F < ne; F++) {
        q = arguments[F];
        for (var ae in q) Object.prototype.hasOwnProperty.call(q, ae) && (Q[ae] = q[ae]);
      }
      return Q;
    }, t.apply(this, arguments);
  };
  Object.defineProperty(Mr, "__esModule", { value: true }), Mr.cloneNode = Mr.hasChildren = Mr.isDocument = Mr.isDirective = Mr.isComment = Mr.isText = Mr.isCDATA = Mr.isTag = Mr.Element = Mr.Document = Mr.CDATA = Mr.NodeWithChildren = Mr.ProcessingInstruction = Mr.Comment = Mr.Text = Mr.DataNode = Mr.Node = void 0;
  var n = /* @__PURE__ */ uk(), r = (
    /** @class */
    (function() {
      function Q() {
        this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
      }
      return Object.defineProperty(Q.prototype, "parentNode", {
        // Read-write aliases for properties
        /**
         * Same as {@link parent}.
         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
         */
        get: function() {
          return this.parent;
        },
        set: function(q) {
          this.parent = q;
        },
        enumerable: false,
        configurable: true
      }), Object.defineProperty(Q.prototype, "previousSibling", {
        /**
         * Same as {@link prev}.
         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
         */
        get: function() {
          return this.prev;
        },
        set: function(q) {
          this.prev = q;
        },
        enumerable: false,
        configurable: true
      }), Object.defineProperty(Q.prototype, "nextSibling", {
        /**
         * Same as {@link next}.
         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
         */
        get: function() {
          return this.next;
        },
        set: function(q) {
          this.next = q;
        },
        enumerable: false,
        configurable: true
      }), Q.prototype.cloneNode = function(q) {
        return q === void 0 && (q = false), Z(this, q);
      }, Q;
    })()
  );
  Mr.Node = r;
  var o = (
    /** @class */
    (function(Q) {
      e10(q, Q);
      function q(F) {
        var ne = Q.call(this) || this;
        return ne.data = F, ne;
      }
      return Object.defineProperty(q.prototype, "nodeValue", {
        /**
         * Same as {@link data}.
         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
         */
        get: function() {
          return this.data;
        },
        set: function(F) {
          this.data = F;
        },
        enumerable: false,
        configurable: true
      }), q;
    })(r)
  );
  Mr.DataNode = o;
  var i = (
    /** @class */
    (function(Q) {
      e10(q, Q);
      function q() {
        var F = Q !== null && Q.apply(this, arguments) || this;
        return F.type = n.ElementType.Text, F;
      }
      return Object.defineProperty(q.prototype, "nodeType", {
        get: function() {
          return 3;
        },
        enumerable: false,
        configurable: true
      }), q;
    })(o)
  );
  Mr.Text = i;
  var u = (
    /** @class */
    (function(Q) {
      e10(q, Q);
      function q() {
        var F = Q !== null && Q.apply(this, arguments) || this;
        return F.type = n.ElementType.Comment, F;
      }
      return Object.defineProperty(q.prototype, "nodeType", {
        get: function() {
          return 8;
        },
        enumerable: false,
        configurable: true
      }), q;
    })(o)
  );
  Mr.Comment = u;
  var p = (
    /** @class */
    (function(Q) {
      e10(q, Q);
      function q(F, ne) {
        var ae = Q.call(this, ne) || this;
        return ae.name = F, ae.type = n.ElementType.Directive, ae;
      }
      return Object.defineProperty(q.prototype, "nodeType", {
        get: function() {
          return 1;
        },
        enumerable: false,
        configurable: true
      }), q;
    })(o)
  );
  Mr.ProcessingInstruction = p;
  var v = (
    /** @class */
    (function(Q) {
      e10(q, Q);
      function q(F) {
        var ne = Q.call(this) || this;
        return ne.children = F, ne;
      }
      return Object.defineProperty(q.prototype, "firstChild", {
        // Aliases
        /** First child of the node. */
        get: function() {
          var F;
          return (F = this.children[0]) !== null && F !== void 0 ? F : null;
        },
        enumerable: false,
        configurable: true
      }), Object.defineProperty(q.prototype, "lastChild", {
        /** Last child of the node. */
        get: function() {
          return this.children.length > 0 ? this.children[this.children.length - 1] : null;
        },
        enumerable: false,
        configurable: true
      }), Object.defineProperty(q.prototype, "childNodes", {
        /**
         * Same as {@link children}.
         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
         */
        get: function() {
          return this.children;
        },
        set: function(F) {
          this.children = F;
        },
        enumerable: false,
        configurable: true
      }), q;
    })(r)
  );
  Mr.NodeWithChildren = v;
  var y = (
    /** @class */
    (function(Q) {
      e10(q, Q);
      function q() {
        var F = Q !== null && Q.apply(this, arguments) || this;
        return F.type = n.ElementType.CDATA, F;
      }
      return Object.defineProperty(q.prototype, "nodeType", {
        get: function() {
          return 4;
        },
        enumerable: false,
        configurable: true
      }), q;
    })(v)
  );
  Mr.CDATA = y;
  var k = (
    /** @class */
    (function(Q) {
      e10(q, Q);
      function q() {
        var F = Q !== null && Q.apply(this, arguments) || this;
        return F.type = n.ElementType.Root, F;
      }
      return Object.defineProperty(q.prototype, "nodeType", {
        get: function() {
          return 9;
        },
        enumerable: false,
        configurable: true
      }), q;
    })(v)
  );
  Mr.Document = k;
  var T = (
    /** @class */
    (function(Q) {
      e10(q, Q);
      function q(F, ne, ae, pe) {
        ae === void 0 && (ae = []), pe === void 0 && (pe = F === "script" ? n.ElementType.Script : F === "style" ? n.ElementType.Style : n.ElementType.Tag);
        var Ve = Q.call(this, ae) || this;
        return Ve.name = F, Ve.attribs = ne, Ve.type = pe, Ve;
      }
      return Object.defineProperty(q.prototype, "nodeType", {
        get: function() {
          return 1;
        },
        enumerable: false,
        configurable: true
      }), Object.defineProperty(q.prototype, "tagName", {
        // DOM Level 1 aliases
        /**
         * Same as {@link name}.
         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
         */
        get: function() {
          return this.name;
        },
        set: function(F) {
          this.name = F;
        },
        enumerable: false,
        configurable: true
      }), Object.defineProperty(q.prototype, "attributes", {
        get: function() {
          var F = this;
          return Object.keys(this.attribs).map(function(ne) {
            var ae, pe;
            return {
              name: ne,
              value: F.attribs[ne],
              namespace: (ae = F["x-attribsNamespace"]) === null || ae === void 0 ? void 0 : ae[ne],
              prefix: (pe = F["x-attribsPrefix"]) === null || pe === void 0 ? void 0 : pe[ne]
            };
          });
        },
        enumerable: false,
        configurable: true
      }), q;
    })(v)
  );
  Mr.Element = T;
  function R(Q) {
    return (0, n.isTag)(Q);
  }
  Mr.isTag = R;
  function I(Q) {
    return Q.type === n.ElementType.CDATA;
  }
  Mr.isCDATA = I;
  function P(Q) {
    return Q.type === n.ElementType.Text;
  }
  Mr.isText = P;
  function S(Q) {
    return Q.type === n.ElementType.Comment;
  }
  Mr.isComment = S;
  function U(Q) {
    return Q.type === n.ElementType.Directive;
  }
  Mr.isDirective = U;
  function B(Q) {
    return Q.type === n.ElementType.Root;
  }
  Mr.isDocument = B;
  function X(Q) {
    return Object.prototype.hasOwnProperty.call(Q, "children");
  }
  Mr.hasChildren = X;
  function Z(Q, q) {
    q === void 0 && (q = false);
    var F;
    if (P(Q))
      F = new i(Q.data);
    else if (S(Q))
      F = new u(Q.data);
    else if (R(Q)) {
      var ne = q ? te(Q.children) : [], ae = new T(Q.name, t({}, Q.attribs), ne);
      ne.forEach(function(Te) {
        return Te.parent = ae;
      }), Q.namespace != null && (ae.namespace = Q.namespace), Q["x-attribsNamespace"] && (ae["x-attribsNamespace"] = t({}, Q["x-attribsNamespace"])), Q["x-attribsPrefix"] && (ae["x-attribsPrefix"] = t({}, Q["x-attribsPrefix"])), F = ae;
    } else if (I(Q)) {
      var ne = q ? te(Q.children) : [], pe = new y(ne);
      ne.forEach(function(be) {
        return be.parent = pe;
      }), F = pe;
    } else if (B(Q)) {
      var ne = q ? te(Q.children) : [], Ve = new k(ne);
      ne.forEach(function(be) {
        return be.parent = Ve;
      }), Q["x-mode"] && (Ve["x-mode"] = Q["x-mode"]), F = Ve;
    } else if (U(Q)) {
      var we = new p(Q.name, Q.data);
      Q["x-name"] != null && (we["x-name"] = Q["x-name"], we["x-publicId"] = Q["x-publicId"], we["x-systemId"] = Q["x-systemId"]), F = we;
    } else
      throw new Error("Not implemented yet: ".concat(Q.type));
    return F.startIndex = Q.startIndex, F.endIndex = Q.endIndex, Q.sourceCodeLocation != null && (F.sourceCodeLocation = Q.sourceCodeLocation), F;
  }
  Mr.cloneNode = Z;
  function te(Q) {
    for (var q = Q.map(function(ne) {
      return Z(ne, true);
    }), F = 1; F < q.length; F++)
      q[F].prev = q[F - 1], q[F - 1].next = q[F];
    return q;
  }
  return Mr;
}
var F3;
function ck() {
  return F3 || (F3 = 1, (function(e10) {
    var t = Dh && Dh.__createBinding || (Object.create ? (function(p, v, y, k) {
      k === void 0 && (k = y);
      var T = Object.getOwnPropertyDescriptor(v, y);
      (!T || ("get" in T ? !v.__esModule : T.writable || T.configurable)) && (T = { enumerable: true, get: function() {
        return v[y];
      } }), Object.defineProperty(p, k, T);
    }) : (function(p, v, y, k) {
      k === void 0 && (k = y), p[k] = v[y];
    })), n = Dh && Dh.__exportStar || function(p, v) {
      for (var y in p) y !== "default" && !Object.prototype.hasOwnProperty.call(v, y) && t(v, p, y);
    };
    Object.defineProperty(e10, "__esModule", { value: true }), e10.DomHandler = void 0;
    var r = /* @__PURE__ */ uk(), o = /* @__PURE__ */ D3();
    n(/* @__PURE__ */ D3(), e10);
    var i = {
      withStartIndices: false,
      withEndIndices: false,
      xmlMode: false
    }, u = (
      /** @class */
      (function() {
        function p(v, y, k) {
          this.dom = [], this.root = new o.Document(this.dom), this.done = false, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof y == "function" && (k = y, y = i), typeof v == "object" && (y = v, v = void 0), this.callback = v ?? null, this.options = y ?? i, this.elementCB = k ?? null;
        }
        return p.prototype.onparserinit = function(v) {
          this.parser = v;
        }, p.prototype.onreset = function() {
          this.dom = [], this.root = new o.Document(this.dom), this.done = false, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
        }, p.prototype.onend = function() {
          this.done || (this.done = true, this.parser = null, this.handleCallback(null));
        }, p.prototype.onerror = function(v) {
          this.handleCallback(v);
        }, p.prototype.onclosetag = function() {
          this.lastNode = null;
          var v = this.tagStack.pop();
          this.options.withEndIndices && (v.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(v);
        }, p.prototype.onopentag = function(v, y) {
          var k = this.options.xmlMode ? r.ElementType.Tag : void 0, T = new o.Element(v, y, void 0, k);
          this.addNode(T), this.tagStack.push(T);
        }, p.prototype.ontext = function(v) {
          var y = this.lastNode;
          if (y && y.type === r.ElementType.Text)
            y.data += v, this.options.withEndIndices && (y.endIndex = this.parser.endIndex);
          else {
            var k = new o.Text(v);
            this.addNode(k), this.lastNode = k;
          }
        }, p.prototype.oncomment = function(v) {
          if (this.lastNode && this.lastNode.type === r.ElementType.Comment) {
            this.lastNode.data += v;
            return;
          }
          var y = new o.Comment(v);
          this.addNode(y), this.lastNode = y;
        }, p.prototype.oncommentend = function() {
          this.lastNode = null;
        }, p.prototype.oncdatastart = function() {
          var v = new o.Text(""), y = new o.CDATA([v]);
          this.addNode(y), v.parent = y, this.lastNode = v;
        }, p.prototype.oncdataend = function() {
          this.lastNode = null;
        }, p.prototype.onprocessinginstruction = function(v, y) {
          var k = new o.ProcessingInstruction(v, y);
          this.addNode(k);
        }, p.prototype.handleCallback = function(v) {
          if (typeof this.callback == "function")
            this.callback(v, this.dom);
          else if (v)
            throw v;
        }, p.prototype.addNode = function(v) {
          var y = this.tagStack[this.tagStack.length - 1], k = y.children[y.children.length - 1];
          this.options.withStartIndices && (v.startIndex = this.parser.startIndex), this.options.withEndIndices && (v.endIndex = this.parser.endIndex), y.children.push(v), k && (v.prev = k, k.next = v), v.parent = y, this.lastNode = null;
        }, p;
      })()
    );
    e10.DomHandler = u, e10.default = u;
  })(Dh)), Dh;
}
var vm, N3;
function She() {
  if (N3) return vm;
  N3 = 1;
  var e10 = "html", t = "head", n = "body", r = /<([a-zA-Z]+[0-9]?)/, o = /<head[^]*>/i, i = /<body[^]*>/i, u = function() {
    throw new Error(
      "This browser does not support `document.implementation.createHTMLDocument`"
    );
  }, p = function() {
    throw new Error(
      "This browser does not support `DOMParser.prototype.parseFromString`"
    );
  }, v = typeof window == "object" && window.DOMParser;
  if (typeof v == "function") {
    var y = new v(), k = "text/html";
    p = function(S, U) {
      return U && (S = "<" + U + ">" + S + "</" + U + ">"), y.parseFromString(S, k);
    }, u = p;
  }
  if (typeof document == "object" && document.implementation) {
    var T = document.implementation.createHTMLDocument();
    u = function(S, U) {
      if (U) {
        var B = T.documentElement.querySelector(U);
        return B.innerHTML = S, T;
      }
      return T.documentElement.innerHTML = S, T;
    };
  }
  var R = typeof document == "object" ? document.createElement("template") : {}, I;
  R.content && (I = function(S) {
    return R.innerHTML = S, R.content.childNodes;
  });
  function P(S) {
    var U, B = S.match(r);
    B && B[1] && (U = B[1].toLowerCase());
    var X, Z, te;
    switch (U) {
      case e10:
        return X = p(S), o.test(S) || (Z = X.querySelector(t), Z && Z.parentNode.removeChild(Z)), i.test(S) || (Z = X.querySelector(n), Z && Z.parentNode.removeChild(Z)), X.querySelectorAll(e10);
      case t:
      case n:
        return X = u(S), te = X.querySelectorAll(U), i.test(S) && o.test(S) ? te[0].parentNode.childNodes : te;
      // low-level tag or text
      default:
        return I ? I(S) : (Z = u(S, n).querySelector(n), Z.childNodes);
    }
  }
  return vm = P, vm;
}
var Gb = {}, ym = {}, L3;
function Ahe() {
  return L3 || (L3 = 1, ym.CASE_SENSITIVE_TAG_NAMES = [
    "animateMotion",
    "animateTransform",
    "clipPath",
    "feBlend",
    "feColorMatrix",
    "feComponentTransfer",
    "feComposite",
    "feConvolveMatrix",
    "feDiffuseLighting",
    "feDisplacementMap",
    "feDropShadow",
    "feFlood",
    "feFuncA",
    "feFuncB",
    "feFuncG",
    "feFuncR",
    "feGaussianBlur",
    "feImage",
    "feMerge",
    "feMergeNode",
    "feMorphology",
    "feOffset",
    "fePointLight",
    "feSpecularLighting",
    "feSpotLight",
    "feTile",
    "feTurbulence",
    "foreignObject",
    "linearGradient",
    "radialGradient",
    "textPath"
  ]), ym;
}
var B3;
function Phe() {
  if (B3) return Gb;
  B3 = 1;
  for (var e10 = /* @__PURE__ */ ck(), t = Ahe(), n = t.CASE_SENSITIVE_TAG_NAMES, r = e10.Comment, o = e10.Element, i = e10.ProcessingInstruction, u = e10.Text, p = {}, v, y = 0, k = n.length; y < k; y++)
    v = n[y], p[v.toLowerCase()] = v;
  function T(S) {
    return p[S];
  }
  function R(S) {
    for (var U = {}, B, X = 0, Z = S.length; X < Z; X++)
      B = S[X], U[B.name] = B.value;
    return U;
  }
  function I(S) {
    S = S.toLowerCase();
    var U = T(S);
    return U || S;
  }
  function P(S, U, B) {
    U = U || null;
    for (var X = [], Z, te = 0, Q = S.length; te < Q; te++) {
      var q = S[te], F;
      switch (q.nodeType) {
        case 1:
          Z = I(q.nodeName), F = new o(Z, R(q.attributes)), F.children = P(
            // template children are on content
            Z === "template" ? q.content.childNodes : q.childNodes,
            F
          );
          break;
        case 3:
          F = new u(q.nodeValue);
          break;
        case 8:
          F = new r(q.nodeValue);
          break;
        default:
          continue;
      }
      var ne = X[te - 1] || null;
      ne && (ne.next = F), F.parent = U, F.prev = ne, F.next = null, X.push(F);
    }
    return B && (F = new i(
      B.substring(0, B.indexOf(" ")).toLowerCase(),
      B
    ), F.next = X[0] || null, F.parent = U, X.unshift(F), X[1] && (X[1].prev = X[0])), X;
  }
  return Gb.formatAttributes = R, Gb.formatDOM = P, Gb;
}
var xm, z3;
function Rhe() {
  if (z3) return xm;
  z3 = 1;
  var e10 = She(), t = Phe(), n = t.formatDOM, r = /<(![a-zA-Z\s]+)>/;
  function o(i) {
    if (typeof i != "string")
      throw new TypeError("First argument must be a string");
    if (i === "")
      return [];
    var u = i.match(r), p;
    return u && u[1] && (p = u[1]), n(e10(i), null, p);
  }
  return xm = o, xm;
}
var dc = {}, g0 = {}, W3;
function Ihe() {
  if (W3) return g0;
  W3 = 1;
  var e10 = 0;
  g0.SAME = e10;
  var t = 1;
  return g0.CAMELCASE = t, g0.possibleStandardNames = {
    accept: 0,
    acceptCharset: 1,
    "accept-charset": "acceptCharset",
    accessKey: 1,
    action: 0,
    allowFullScreen: 1,
    alt: 0,
    as: 0,
    async: 0,
    autoCapitalize: 1,
    autoComplete: 1,
    autoCorrect: 1,
    autoFocus: 1,
    autoPlay: 1,
    autoSave: 1,
    capture: 0,
    cellPadding: 1,
    cellSpacing: 1,
    challenge: 0,
    charSet: 1,
    checked: 0,
    children: 0,
    cite: 0,
    class: "className",
    classID: 1,
    className: 1,
    cols: 0,
    colSpan: 1,
    content: 0,
    contentEditable: 1,
    contextMenu: 1,
    controls: 0,
    controlsList: 1,
    coords: 0,
    crossOrigin: 1,
    dangerouslySetInnerHTML: 1,
    data: 0,
    dateTime: 1,
    default: 0,
    defaultChecked: 1,
    defaultValue: 1,
    defer: 0,
    dir: 0,
    disabled: 0,
    disablePictureInPicture: 1,
    disableRemotePlayback: 1,
    download: 0,
    draggable: 0,
    encType: 1,
    enterKeyHint: 1,
    for: "htmlFor",
    form: 0,
    formMethod: 1,
    formAction: 1,
    formEncType: 1,
    formNoValidate: 1,
    formTarget: 1,
    frameBorder: 1,
    headers: 0,
    height: 0,
    hidden: 0,
    high: 0,
    href: 0,
    hrefLang: 1,
    htmlFor: 1,
    httpEquiv: 1,
    "http-equiv": "httpEquiv",
    icon: 0,
    id: 0,
    innerHTML: 1,
    inputMode: 1,
    integrity: 0,
    is: 0,
    itemID: 1,
    itemProp: 1,
    itemRef: 1,
    itemScope: 1,
    itemType: 1,
    keyParams: 1,
    keyType: 1,
    kind: 0,
    label: 0,
    lang: 0,
    list: 0,
    loop: 0,
    low: 0,
    manifest: 0,
    marginWidth: 1,
    marginHeight: 1,
    max: 0,
    maxLength: 1,
    media: 0,
    mediaGroup: 1,
    method: 0,
    min: 0,
    minLength: 1,
    multiple: 0,
    muted: 0,
    name: 0,
    noModule: 1,
    nonce: 0,
    noValidate: 1,
    open: 0,
    optimum: 0,
    pattern: 0,
    placeholder: 0,
    playsInline: 1,
    poster: 0,
    preload: 0,
    profile: 0,
    radioGroup: 1,
    readOnly: 1,
    referrerPolicy: 1,
    rel: 0,
    required: 0,
    reversed: 0,
    role: 0,
    rows: 0,
    rowSpan: 1,
    sandbox: 0,
    scope: 0,
    scoped: 0,
    scrolling: 0,
    seamless: 0,
    selected: 0,
    shape: 0,
    size: 0,
    sizes: 0,
    span: 0,
    spellCheck: 1,
    src: 0,
    srcDoc: 1,
    srcLang: 1,
    srcSet: 1,
    start: 0,
    step: 0,
    style: 0,
    summary: 0,
    tabIndex: 1,
    target: 0,
    title: 0,
    type: 0,
    useMap: 1,
    value: 0,
    width: 0,
    wmode: 0,
    wrap: 0,
    about: 0,
    accentHeight: 1,
    "accent-height": "accentHeight",
    accumulate: 0,
    additive: 0,
    alignmentBaseline: 1,
    "alignment-baseline": "alignmentBaseline",
    allowReorder: 1,
    alphabetic: 0,
    amplitude: 0,
    arabicForm: 1,
    "arabic-form": "arabicForm",
    ascent: 0,
    attributeName: 1,
    attributeType: 1,
    autoReverse: 1,
    azimuth: 0,
    baseFrequency: 1,
    baselineShift: 1,
    "baseline-shift": "baselineShift",
    baseProfile: 1,
    bbox: 0,
    begin: 0,
    bias: 0,
    by: 0,
    calcMode: 1,
    capHeight: 1,
    "cap-height": "capHeight",
    clip: 0,
    clipPath: 1,
    "clip-path": "clipPath",
    clipPathUnits: 1,
    clipRule: 1,
    "clip-rule": "clipRule",
    color: 0,
    colorInterpolation: 1,
    "color-interpolation": "colorInterpolation",
    colorInterpolationFilters: 1,
    "color-interpolation-filters": "colorInterpolationFilters",
    colorProfile: 1,
    "color-profile": "colorProfile",
    colorRendering: 1,
    "color-rendering": "colorRendering",
    contentScriptType: 1,
    contentStyleType: 1,
    cursor: 0,
    cx: 0,
    cy: 0,
    d: 0,
    datatype: 0,
    decelerate: 0,
    descent: 0,
    diffuseConstant: 1,
    direction: 0,
    display: 0,
    divisor: 0,
    dominantBaseline: 1,
    "dominant-baseline": "dominantBaseline",
    dur: 0,
    dx: 0,
    dy: 0,
    edgeMode: 1,
    elevation: 0,
    enableBackground: 1,
    "enable-background": "enableBackground",
    end: 0,
    exponent: 0,
    externalResourcesRequired: 1,
    fill: 0,
    fillOpacity: 1,
    "fill-opacity": "fillOpacity",
    fillRule: 1,
    "fill-rule": "fillRule",
    filter: 0,
    filterRes: 1,
    filterUnits: 1,
    floodOpacity: 1,
    "flood-opacity": "floodOpacity",
    floodColor: 1,
    "flood-color": "floodColor",
    focusable: 0,
    fontFamily: 1,
    "font-family": "fontFamily",
    fontSize: 1,
    "font-size": "fontSize",
    fontSizeAdjust: 1,
    "font-size-adjust": "fontSizeAdjust",
    fontStretch: 1,
    "font-stretch": "fontStretch",
    fontStyle: 1,
    "font-style": "fontStyle",
    fontVariant: 1,
    "font-variant": "fontVariant",
    fontWeight: 1,
    "font-weight": "fontWeight",
    format: 0,
    from: 0,
    fx: 0,
    fy: 0,
    g1: 0,
    g2: 0,
    glyphName: 1,
    "glyph-name": "glyphName",
    glyphOrientationHorizontal: 1,
    "glyph-orientation-horizontal": "glyphOrientationHorizontal",
    glyphOrientationVertical: 1,
    "glyph-orientation-vertical": "glyphOrientationVertical",
    glyphRef: 1,
    gradientTransform: 1,
    gradientUnits: 1,
    hanging: 0,
    horizAdvX: 1,
    "horiz-adv-x": "horizAdvX",
    horizOriginX: 1,
    "horiz-origin-x": "horizOriginX",
    ideographic: 0,
    imageRendering: 1,
    "image-rendering": "imageRendering",
    in2: 0,
    in: 0,
    inlist: 0,
    intercept: 0,
    k1: 0,
    k2: 0,
    k3: 0,
    k4: 0,
    k: 0,
    kernelMatrix: 1,
    kernelUnitLength: 1,
    kerning: 0,
    keyPoints: 1,
    keySplines: 1,
    keyTimes: 1,
    lengthAdjust: 1,
    letterSpacing: 1,
    "letter-spacing": "letterSpacing",
    lightingColor: 1,
    "lighting-color": "lightingColor",
    limitingConeAngle: 1,
    local: 0,
    markerEnd: 1,
    "marker-end": "markerEnd",
    markerHeight: 1,
    markerMid: 1,
    "marker-mid": "markerMid",
    markerStart: 1,
    "marker-start": "markerStart",
    markerUnits: 1,
    markerWidth: 1,
    mask: 0,
    maskContentUnits: 1,
    maskUnits: 1,
    mathematical: 0,
    mode: 0,
    numOctaves: 1,
    offset: 0,
    opacity: 0,
    operator: 0,
    order: 0,
    orient: 0,
    orientation: 0,
    origin: 0,
    overflow: 0,
    overlinePosition: 1,
    "overline-position": "overlinePosition",
    overlineThickness: 1,
    "overline-thickness": "overlineThickness",
    paintOrder: 1,
    "paint-order": "paintOrder",
    panose1: 0,
    "panose-1": "panose1",
    pathLength: 1,
    patternContentUnits: 1,
    patternTransform: 1,
    patternUnits: 1,
    pointerEvents: 1,
    "pointer-events": "pointerEvents",
    points: 0,
    pointsAtX: 1,
    pointsAtY: 1,
    pointsAtZ: 1,
    prefix: 0,
    preserveAlpha: 1,
    preserveAspectRatio: 1,
    primitiveUnits: 1,
    property: 0,
    r: 0,
    radius: 0,
    refX: 1,
    refY: 1,
    renderingIntent: 1,
    "rendering-intent": "renderingIntent",
    repeatCount: 1,
    repeatDur: 1,
    requiredExtensions: 1,
    requiredFeatures: 1,
    resource: 0,
    restart: 0,
    result: 0,
    results: 0,
    rotate: 0,
    rx: 0,
    ry: 0,
    scale: 0,
    security: 0,
    seed: 0,
    shapeRendering: 1,
    "shape-rendering": "shapeRendering",
    slope: 0,
    spacing: 0,
    specularConstant: 1,
    specularExponent: 1,
    speed: 0,
    spreadMethod: 1,
    startOffset: 1,
    stdDeviation: 1,
    stemh: 0,
    stemv: 0,
    stitchTiles: 1,
    stopColor: 1,
    "stop-color": "stopColor",
    stopOpacity: 1,
    "stop-opacity": "stopOpacity",
    strikethroughPosition: 1,
    "strikethrough-position": "strikethroughPosition",
    strikethroughThickness: 1,
    "strikethrough-thickness": "strikethroughThickness",
    string: 0,
    stroke: 0,
    strokeDasharray: 1,
    "stroke-dasharray": "strokeDasharray",
    strokeDashoffset: 1,
    "stroke-dashoffset": "strokeDashoffset",
    strokeLinecap: 1,
    "stroke-linecap": "strokeLinecap",
    strokeLinejoin: 1,
    "stroke-linejoin": "strokeLinejoin",
    strokeMiterlimit: 1,
    "stroke-miterlimit": "strokeMiterlimit",
    strokeWidth: 1,
    "stroke-width": "strokeWidth",
    strokeOpacity: 1,
    "stroke-opacity": "strokeOpacity",
    suppressContentEditableWarning: 1,
    suppressHydrationWarning: 1,
    surfaceScale: 1,
    systemLanguage: 1,
    tableValues: 1,
    targetX: 1,
    targetY: 1,
    textAnchor: 1,
    "text-anchor": "textAnchor",
    textDecoration: 1,
    "text-decoration": "textDecoration",
    textLength: 1,
    textRendering: 1,
    "text-rendering": "textRendering",
    to: 0,
    transform: 0,
    typeof: 0,
    u1: 0,
    u2: 0,
    underlinePosition: 1,
    "underline-position": "underlinePosition",
    underlineThickness: 1,
    "underline-thickness": "underlineThickness",
    unicode: 0,
    unicodeBidi: 1,
    "unicode-bidi": "unicodeBidi",
    unicodeRange: 1,
    "unicode-range": "unicodeRange",
    unitsPerEm: 1,
    "units-per-em": "unitsPerEm",
    unselectable: 0,
    vAlphabetic: 1,
    "v-alphabetic": "vAlphabetic",
    values: 0,
    vectorEffect: 1,
    "vector-effect": "vectorEffect",
    version: 0,
    vertAdvY: 1,
    "vert-adv-y": "vertAdvY",
    vertOriginX: 1,
    "vert-origin-x": "vertOriginX",
    vertOriginY: 1,
    "vert-origin-y": "vertOriginY",
    vHanging: 1,
    "v-hanging": "vHanging",
    vIdeographic: 1,
    "v-ideographic": "vIdeographic",
    viewBox: 1,
    viewTarget: 1,
    visibility: 0,
    vMathematical: 1,
    "v-mathematical": "vMathematical",
    vocab: 0,
    widths: 0,
    wordSpacing: 1,
    "word-spacing": "wordSpacing",
    writingMode: 1,
    "writing-mode": "writingMode",
    x1: 0,
    x2: 0,
    x: 0,
    xChannelSelector: 1,
    xHeight: 1,
    "x-height": "xHeight",
    xlinkActuate: 1,
    "xlink:actuate": "xlinkActuate",
    xlinkArcrole: 1,
    "xlink:arcrole": "xlinkArcrole",
    xlinkHref: 1,
    "xlink:href": "xlinkHref",
    xlinkRole: 1,
    "xlink:role": "xlinkRole",
    xlinkShow: 1,
    "xlink:show": "xlinkShow",
    xlinkTitle: 1,
    "xlink:title": "xlinkTitle",
    xlinkType: 1,
    "xlink:type": "xlinkType",
    xmlBase: 1,
    "xml:base": "xmlBase",
    xmlLang: 1,
    "xml:lang": "xmlLang",
    xmlns: 0,
    "xml:space": "xmlSpace",
    xmlnsXlink: 1,
    "xmlns:xlink": "xmlnsXlink",
    xmlSpace: 1,
    y1: 0,
    y2: 0,
    y: 0,
    yChannelSelector: 1,
    z: 0,
    zoomAndPan: 1
  }, g0;
}
var U3;
function Mhe() {
  if (U3) return dc;
  U3 = 1, Object.defineProperty(dc, "__esModule", { value: true });
  function e10(we, Te) {
    return t(we) || n(we, Te) || r(we, Te) || i();
  }
  function t(we) {
    if (Array.isArray(we)) return we;
  }
  function n(we, Te) {
    var be = we == null ? null : typeof Symbol < "u" && we[Symbol.iterator] || we["@@iterator"];
    if (be != null) {
      var ie = [], de = true, ze = false, nt, ut;
      try {
        for (be = be.call(we); !(de = (nt = be.next()).done) && (ie.push(nt.value), !(Te && ie.length === Te)); de = true)
          ;
      } catch (Le) {
        ze = true, ut = Le;
      } finally {
        try {
          !de && be.return != null && be.return();
        } finally {
          if (ze) throw ut;
        }
      }
      return ie;
    }
  }
  function r(we, Te) {
    if (we) {
      if (typeof we == "string") return o(we, Te);
      var be = Object.prototype.toString.call(we).slice(8, -1);
      if (be === "Object" && we.constructor && (be = we.constructor.name), be === "Map" || be === "Set") return Array.from(we);
      if (be === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(be)) return o(we, Te);
    }
  }
  function o(we, Te) {
    (Te == null || Te > we.length) && (Te = we.length);
    for (var be = 0, ie = new Array(Te); be < Te; be++) ie[be] = we[be];
    return ie;
  }
  function i() {
    throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
  }
  var u = 0, p = 1, v = 2, y = 3, k = 4, T = 5, R = 6;
  function I(we) {
    return S.hasOwnProperty(we) ? S[we] : null;
  }
  function P(we, Te, be, ie, de, ze, nt) {
    this.acceptsBooleans = Te === v || Te === y || Te === k, this.attributeName = ie, this.attributeNamespace = de, this.mustUseProperty = be, this.propertyName = we, this.type = Te, this.sanitizeURL = ze, this.removeEmptyString = nt;
  }
  var S = {}, U = [
    "children",
    "dangerouslySetInnerHTML",
    // TODO: This prevents the assignment of defaultValue to regular
    // elements (not just inputs). Now that ReactDOMInput assigns to the
    // defaultValue property -- do we need this?
    "defaultValue",
    "defaultChecked",
    "innerHTML",
    "suppressContentEditableWarning",
    "suppressHydrationWarning",
    "style"
  ];
  U.forEach(function(we) {
    S[we] = new P(
      we,
      u,
      false,
      // mustUseProperty
      we,
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(we) {
    var Te = e10(we, 2), be = Te[0], ie = Te[1];
    S[be] = new P(
      be,
      p,
      false,
      // mustUseProperty
      ie,
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(we) {
    S[we] = new P(
      we,
      v,
      false,
      // mustUseProperty
      we.toLowerCase(),
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(we) {
    S[we] = new P(
      we,
      v,
      false,
      // mustUseProperty
      we,
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  }), [
    "allowFullScreen",
    "async",
    // Note: there is a special case that prevents it from being written to the DOM
    // on the client side because the browsers are inconsistent. Instead we call focus().
    "autoFocus",
    "autoPlay",
    "controls",
    "default",
    "defer",
    "disabled",
    "disablePictureInPicture",
    "disableRemotePlayback",
    "formNoValidate",
    "hidden",
    "loop",
    "noModule",
    "noValidate",
    "open",
    "playsInline",
    "readOnly",
    "required",
    "reversed",
    "scoped",
    "seamless",
    // Microdata
    "itemScope"
  ].forEach(function(we) {
    S[we] = new P(
      we,
      y,
      false,
      // mustUseProperty
      we.toLowerCase(),
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  }), [
    "checked",
    // Note: `option.selected` is not updated if `select.multiple` is
    // disabled with `removeAttribute`. We have special logic for handling this.
    "multiple",
    "muted",
    "selected"
    // NOTE: if you add a camelCased prop to this list,
    // you'll need to set attributeName to name.toLowerCase()
    // instead in the assignment below.
  ].forEach(function(we) {
    S[we] = new P(
      we,
      y,
      true,
      // mustUseProperty
      we,
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  }), [
    "capture",
    "download"
    // NOTE: if you add a camelCased prop to this list,
    // you'll need to set attributeName to name.toLowerCase()
    // instead in the assignment below.
  ].forEach(function(we) {
    S[we] = new P(
      we,
      k,
      false,
      // mustUseProperty
      we,
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  }), [
    "cols",
    "rows",
    "size",
    "span"
    // NOTE: if you add a camelCased prop to this list,
    // you'll need to set attributeName to name.toLowerCase()
    // instead in the assignment below.
  ].forEach(function(we) {
    S[we] = new P(
      we,
      R,
      false,
      // mustUseProperty
      we,
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  }), ["rowSpan", "start"].forEach(function(we) {
    S[we] = new P(
      we,
      T,
      false,
      // mustUseProperty
      we.toLowerCase(),
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  });
  var B = /[\-\:]([a-z])/g, X = function(Te) {
    return Te[1].toUpperCase();
  };
  [
    "accent-height",
    "alignment-baseline",
    "arabic-form",
    "baseline-shift",
    "cap-height",
    "clip-path",
    "clip-rule",
    "color-interpolation",
    "color-interpolation-filters",
    "color-profile",
    "color-rendering",
    "dominant-baseline",
    "enable-background",
    "fill-opacity",
    "fill-rule",
    "flood-color",
    "flood-opacity",
    "font-family",
    "font-size",
    "font-size-adjust",
    "font-stretch",
    "font-style",
    "font-variant",
    "font-weight",
    "glyph-name",
    "glyph-orientation-horizontal",
    "glyph-orientation-vertical",
    "horiz-adv-x",
    "horiz-origin-x",
    "image-rendering",
    "letter-spacing",
    "lighting-color",
    "marker-end",
    "marker-mid",
    "marker-start",
    "overline-position",
    "overline-thickness",
    "paint-order",
    "panose-1",
    "pointer-events",
    "rendering-intent",
    "shape-rendering",
    "stop-color",
    "stop-opacity",
    "strikethrough-position",
    "strikethrough-thickness",
    "stroke-dasharray",
    "stroke-dashoffset",
    "stroke-linecap",
    "stroke-linejoin",
    "stroke-miterlimit",
    "stroke-opacity",
    "stroke-width",
    "text-anchor",
    "text-decoration",
    "text-rendering",
    "underline-position",
    "underline-thickness",
    "unicode-bidi",
    "unicode-range",
    "units-per-em",
    "v-alphabetic",
    "v-hanging",
    "v-ideographic",
    "v-mathematical",
    "vector-effect",
    "vert-adv-y",
    "vert-origin-x",
    "vert-origin-y",
    "word-spacing",
    "writing-mode",
    "xmlns:xlink",
    "x-height"
    // NOTE: if you add a camelCased prop to this list,
    // you'll need to set attributeName to name.toLowerCase()
    // instead in the assignment below.
  ].forEach(function(we) {
    var Te = we.replace(B, X);
    S[Te] = new P(
      Te,
      p,
      false,
      // mustUseProperty
      we,
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  }), [
    "xlink:actuate",
    "xlink:arcrole",
    "xlink:role",
    "xlink:show",
    "xlink:title",
    "xlink:type"
    // NOTE: if you add a camelCased prop to this list,
    // you'll need to set attributeName to name.toLowerCase()
    // instead in the assignment below.
  ].forEach(function(we) {
    var Te = we.replace(B, X);
    S[Te] = new P(
      Te,
      p,
      false,
      // mustUseProperty
      we,
      "http://www.w3.org/1999/xlink",
      false,
      // sanitizeURL
      false
    );
  }), [
    "xml:base",
    "xml:lang",
    "xml:space"
    // NOTE: if you add a camelCased prop to this list,
    // you'll need to set attributeName to name.toLowerCase()
    // instead in the assignment below.
  ].forEach(function(we) {
    var Te = we.replace(B, X);
    S[Te] = new P(
      Te,
      p,
      false,
      // mustUseProperty
      we,
      "http://www.w3.org/XML/1998/namespace",
      false,
      // sanitizeURL
      false
    );
  }), ["tabIndex", "crossOrigin"].forEach(function(we) {
    S[we] = new P(
      we,
      p,
      false,
      // mustUseProperty
      we.toLowerCase(),
      // attributeName
      null,
      // attributeNamespace
      false,
      // sanitizeURL
      false
    );
  });
  var Z = "xlinkHref";
  S[Z] = new P(
    "xlinkHref",
    p,
    false,
    // mustUseProperty
    "xlink:href",
    "http://www.w3.org/1999/xlink",
    true,
    // sanitizeURL
    false
  ), ["src", "href", "action", "formAction"].forEach(function(we) {
    S[we] = new P(
      we,
      p,
      false,
      // mustUseProperty
      we.toLowerCase(),
      // attributeName
      null,
      // attributeNamespace
      true,
      // sanitizeURL
      true
    );
  });
  var te = Ihe(), Q = te.CAMELCASE, q = te.SAME, F = te.possibleStandardNames, ne = ":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", ae = ne + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", pe = RegExp.prototype.test.bind(
    // eslint-disable-next-line no-misleading-character-class
    new RegExp("^(data|aria)-[" + ae + "]*$")
  ), Ve = Object.keys(F).reduce(function(we, Te) {
    var be = F[Te];
    return be === q ? we[Te] = Te : be === Q ? we[Te.toLowerCase()] = Te : we[Te] = be, we;
  }, {});
  return dc.BOOLEAN = y, dc.BOOLEANISH_STRING = v, dc.NUMERIC = T, dc.OVERLOADED_BOOLEAN = k, dc.POSITIVE_NUMERIC = R, dc.RESERVED = u, dc.STRING = p, dc.getPropertyInfo = I, dc.isCustomAttribute = pe, dc.possibleStandardNames = Ve, dc;
}
var m0 = {}, Yb = { exports: {} }, _m, H3;
function Ohe() {
  if (H3) return _m;
  H3 = 1;
  var e10 = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, o = /^:\s*/, i = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, u = /^[;\s]*/, p = /^\s+|\s+$/g, v = `
`, y = "/", k = "*", T = "", R = "comment", I = "declaration";
  _m = function(S, U) {
    if (typeof S != "string")
      throw new TypeError("First argument must be a string");
    if (!S) return [];
    U = U || {};
    var B = 1, X = 1;
    function Z(Te) {
      var be = Te.match(t);
      be && (B += be.length);
      var ie = Te.lastIndexOf(v);
      X = ~ie ? Te.length - ie : X + Te.length;
    }
    function te() {
      var Te = { line: B, column: X };
      return function(be) {
        return be.position = new Q(Te), ne(), be;
      };
    }
    function Q(Te) {
      this.start = Te, this.end = { line: B, column: X }, this.source = U.source;
    }
    Q.prototype.content = S;
    function q(Te) {
      var be = new Error(
        U.source + ":" + B + ":" + X + ": " + Te
      );
      if (be.reason = Te, be.filename = U.source, be.line = B, be.column = X, be.source = S, !U.silent) throw be;
    }
    function F(Te) {
      var be = Te.exec(S);
      if (be) {
        var ie = be[0];
        return Z(ie), S = S.slice(ie.length), be;
      }
    }
    function ne() {
      F(n);
    }
    function ae(Te) {
      var be;
      for (Te = Te || []; be = pe(); )
        be !== false && Te.push(be);
      return Te;
    }
    function pe() {
      var Te = te();
      if (!(y != S.charAt(0) || k != S.charAt(1))) {
        for (var be = 2; T != S.charAt(be) && (k != S.charAt(be) || y != S.charAt(be + 1)); )
          ++be;
        if (be += 2, T === S.charAt(be - 1))
          return q("End of comment missing");
        var ie = S.slice(2, be - 2);
        return X += 2, Z(ie), S = S.slice(be), X += 2, Te({
          type: R,
          comment: ie
        });
      }
    }
    function Ve() {
      var Te = te(), be = F(r);
      if (be) {
        if (pe(), !F(o)) return q("property missing ':'");
        var ie = F(i), de = Te({
          type: I,
          property: P(be[0].replace(e10, T)),
          value: ie ? P(ie[0].replace(e10, T)) : T
        });
        return F(u), de;
      }
    }
    function we() {
      var Te = [];
      ae(Te);
      for (var be; be = Ve(); )
        be !== false && (Te.push(be), ae(Te));
      return Te;
    }
    return ne(), we();
  };
  function P(S) {
    return S ? S.replace(p, T) : T;
  }
  return _m;
}
var $3;
function Dhe() {
  if ($3) return Yb.exports;
  $3 = 1;
  var e10 = Ohe();
  function t(n, r) {
    var o = null;
    if (!n || typeof n != "string")
      return o;
    for (var i, u = e10(n), p = typeof r == "function", v, y, k = 0, T = u.length; k < T; k++)
      i = u[k], v = i.property, y = i.value, p ? r(v, y, i) : y && (o || (o = {}), o[v] = y);
    return o;
  }
  return Yb.exports = t, Yb.exports.default = t, Yb.exports;
}
var v0 = {}, V3;
function Fhe() {
  if (V3) return v0;
  V3 = 1, v0.__esModule = true, v0.camelCase = void 0;
  var e10 = /^--[a-zA-Z0-9-]+$/, t = /-([a-z])/g, n = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, o = /^-(ms)-/, i = function(y) {
    return !y || n.test(y) || e10.test(y);
  }, u = function(y, k) {
    return k.toUpperCase();
  }, p = function(y, k) {
    return "".concat(k, "-");
  }, v = function(y, k) {
    return k === void 0 && (k = {}), i(y) ? y : (y = y.toLowerCase(), k.reactCompat ? y = y.replace(o, p) : y = y.replace(r, p), y.replace(t, u));
  };
  return v0.camelCase = v, v0;
}
var G3;
function Nhe() {
  return G3 || (G3 = 1, (function(e10) {
    var t = m0 && m0.__importDefault || function(i) {
      return i && i.__esModule ? i : { default: i };
    };
    e10.__esModule = true;
    var n = t(Dhe()), r = Fhe();
    function o(i, u) {
      var p = {};
      return !i || typeof i != "string" || (0, n.default)(i, function(v, y) {
        v && y && (p[(0, r.camelCase)(v, u)] = y);
      }), p;
    }
    e10.default = o;
  })(m0)), m0;
}
var wm, Y3;
function dk() {
  if (Y3) return wm;
  Y3 = 1;
  var e10 = React, t = Nhe().default;
  function n(y, k) {
    if (!y || typeof y != "object")
      throw new TypeError("First argument must be an object");
    var T, R, I = typeof k == "function", P = {}, S = {};
    for (T in y) {
      if (R = y[T], I && (P = k(T, R), P && P.length === 2)) {
        S[P[0]] = P[1];
        continue;
      }
      typeof R == "string" && (S[R] = T);
    }
    return S;
  }
  function r(y, k) {
    if (y.indexOf("-") === -1)
      return k && typeof k.is == "string";
    switch (y) {
      // These are reserved SVG and MathML elements.
      // We don't mind this whitelist too much because we expect it to never grow.
      // The alternative is to track the namespace in a few places which is convoluted.
      // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts
      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 false;
      default:
        return true;
    }
  }
  var o = { reactCompat: true };
  function i(y, k) {
    if (y != null)
      try {
        k.style = t(y, o);
      } catch {
        k.style = {};
      }
  }
  var u = e10.version.split(".")[0] >= 16, p = /* @__PURE__ */ new Set([
    "tr",
    "tbody",
    "thead",
    "tfoot",
    "colgroup",
    "table",
    "head",
    "html",
    "frameset"
  ]);
  function v(y) {
    return !p.has(y.name);
  }
  return wm = {
    PRESERVE_CUSTOM_ATTRIBUTES: u,
    invertObject: n,
    isCustomComponent: r,
    setStyleProp: i,
    canTextBeChildOfNode: v,
    elementsWithNoTextChildren: p
  }, wm;
}
var Tm, X3;
function fk() {
  if (X3) return Tm;
  X3 = 1;
  var e10 = Mhe(), t = dk(), n = ["checked", "value"], r = ["input", "select", "textarea"], o = {
    reset: true,
    submit: true
  };
  Tm = function(p, v) {
    p = p || {};
    var y, k, T, R, I, P = {}, S = p.type && o[p.type];
    for (y in p) {
      if (T = p[y], e10.isCustomAttribute(y)) {
        P[y] = T;
        continue;
      }
      if (k = y.toLowerCase(), R = i(k), R) {
        switch (I = e10.getPropertyInfo(R), n.indexOf(R) !== -1 && r.indexOf(v) !== -1 && !S && (R = i("default" + k)), P[R] = T, I && I.type) {
          case e10.BOOLEAN:
            P[R] = true;
            break;
          case e10.OVERLOADED_BOOLEAN:
            T === "" && (P[R] = true);
            break;
        }
        continue;
      }
      t.PRESERVE_CUSTOM_ATTRIBUTES && (P[y] = T);
    }
    return t.setStyleProp(p.style, P), P;
  };
  function i(u) {
    return e10.possibleStandardNames[u];
  }
  return Tm;
}
var km, Z3;
function Lhe() {
  if (Z3) return km;
  Z3 = 1;
  var e10 = React, t = fk(), n = dk(), r = n.setStyleProp, o = n.canTextBeChildOfNode;
  function i(p, v) {
    v = v || {};
    for (var y = v.library || e10, k = y.cloneElement, T = y.createElement, R = y.isValidElement, I = [], P, S, U = typeof v.replace == "function", B, X, Z, te = v.trim, Q = 0, q = p.length; Q < q; Q++) {
      if (P = p[Q], U && (B = v.replace(P), R(B))) {
        q > 1 && (B = k(B, {
          key: B.key || Q
        })), I.push(B);
        continue;
      }
      if (P.type === "text") {
        if (S = !P.data.trim().length, S && P.parent && !o(P.parent) || te && S)
          continue;
        I.push(P.data);
        continue;
      }
      switch (X = P.attribs, u(P) ? r(X.style, X) : X && (X = t(X, P.name)), Z = null, P.type) {
        case "script":
        case "style":
          P.children[0] && (X.dangerouslySetInnerHTML = {
            __html: P.children[0].data
          });
          break;
        case "tag":
          P.name === "textarea" && P.children[0] ? X.defaultValue = P.children[0].data : P.children && P.children.length && (Z = i(P.children, v));
          break;
        // skip all other cases (e.g., comment)
        default:
          continue;
      }
      q > 1 && (X.key = Q), I.push(T(P.name, X, Z));
    }
    return I.length === 1 ? I[0] : I;
  }
  function u(p) {
    return n.PRESERVE_CUSTOM_ATTRIBUTES && p.type === "tag" && n.isCustomComponent(p.name, p.attribs);
  }
  return km = i, km;
}
var Em, K3;
function Bhe() {
  if (K3) return Em;
  K3 = 1;
  var e10 = /* @__PURE__ */ ck(), t = Rhe(), n = fk(), r = Lhe();
  t = /* istanbul ignore next */
  typeof t.default == "function" ? t.default : t;
  var o = { lowerCaseAttributeNames: false };
  function i(u, p) {
    if (typeof u != "string")
      throw new TypeError("First argument must be a string");
    return u === "" ? [] : (p = p || {}, r(
      t(u, p.htmlparser2 || o),
      p
    ));
  }
  return i.domToReact = r, i.htmlToDOM = t, i.attributesToProps = n, i.Comment = e10.Comment, i.Element = e10.Element, i.ProcessingInstruction = e10.ProcessingInstruction, i.Text = e10.Text, Em = i, i.default = i, Em;
}
var zhe = Bhe();
const Zf = /* @__PURE__ */ jc(zhe);
var Whe = Zf.domToReact;
Zf.htmlToDOM;
Zf.attributesToProps;
Zf.Comment;
Zf.Element;
Zf.ProcessingInstruction;
Zf.Text;
var Rn;
(function(e10) {
  e10[e10.Tab = 9] = "Tab", e10[e10.NewLine = 10] = "NewLine", e10[e10.FormFeed = 12] = "FormFeed", e10[e10.CarriageReturn = 13] = "CarriageReturn", e10[e10.Space = 32] = "Space", e10[e10.ExclamationMark = 33] = "ExclamationMark", e10[e10.Number = 35] = "Number", e10[e10.Amp = 38] = "Amp", e10[e10.SingleQuote = 39] = "SingleQuote", e10[e10.DoubleQuote = 34] = "DoubleQuote", e10[e10.Dash = 45] = "Dash", e10[e10.Slash = 47] = "Slash", e10[e10.Zero = 48] = "Zero", e10[e10.Nine = 57] = "Nine", e10[e10.Semi = 59] = "Semi", e10[e10.Lt = 60] = "Lt", e10[e10.Eq = 61] = "Eq", e10[e10.Gt = 62] = "Gt", e10[e10.Questionmark = 63] = "Questionmark", e10[e10.UpperA = 65] = "UpperA", e10[e10.LowerA = 97] = "LowerA", e10[e10.UpperF = 70] = "UpperF", e10[e10.LowerF = 102] = "LowerF", e10[e10.UpperZ = 90] = "UpperZ", e10[e10.LowerZ = 122] = "LowerZ", e10[e10.LowerX = 120] = "LowerX", e10[e10.OpeningSquareBracket = 91] = "OpeningSquareBracket";
})(Rn || (Rn = {}));
var Yt;
(function(e10) {
  e10[e10.Text = 1] = "Text", e10[e10.BeforeTagName = 2] = "BeforeTagName", e10[e10.InTagName = 3] = "InTagName", e10[e10.InSelfClosingTag = 4] = "InSelfClosingTag", e10[e10.BeforeClosingTagName = 5] = "BeforeClosingTagName", e10[e10.InClosingTagName = 6] = "InClosingTagName", e10[e10.AfterClosingTagName = 7] = "AfterClosingTagName", e10[e10.BeforeAttributeName = 8] = "BeforeAttributeName", e10[e10.InAttributeName = 9] = "InAttributeName", e10[e10.AfterAttributeName = 10] = "AfterAttributeName", e10[e10.BeforeAttributeValue = 11] = "BeforeAttributeValue", e10[e10.InAttributeValueDq = 12] = "InAttributeValueDq", e10[e10.InAttributeValueSq = 13] = "InAttributeValueSq", e10[e10.InAttributeValueNq = 14] = "InAttributeValueNq", e10[e10.BeforeDeclaration = 15] = "BeforeDeclaration", e10[e10.InDeclaration = 16] = "InDeclaration", e10[e10.InProcessingInstruction = 17] = "InProcessingInstruction", e10[e10.BeforeComment = 18] = "BeforeComment", e10[e10.CDATASequence = 19] = "CDATASequence", e10[e10.InSpecialComment = 20] = "InSpecialComment", e10[e10.InCommentLike = 21] = "InCommentLike", e10[e10.BeforeSpecialS = 22] = "BeforeSpecialS", e10[e10.SpecialStartSequence = 23] = "SpecialStartSequence", e10[e10.InSpecialTag = 24] = "InSpecialTag", e10[e10.BeforeEntity = 25] = "BeforeEntity", e10[e10.BeforeNumericEntity = 26] = "BeforeNumericEntity", e10[e10.InNamedEntity = 27] = "InNamedEntity", e10[e10.InNumericEntity = 28] = "InNumericEntity", e10[e10.InHexEntity = 29] = "InHexEntity";
})(Yt || (Yt = {}));
function If(e10) {
  return e10 === Rn.Space || e10 === Rn.NewLine || e10 === Rn.Tab || e10 === Rn.FormFeed || e10 === Rn.CarriageReturn;
}
function Xb(e10) {
  return e10 === Rn.Slash || e10 === Rn.Gt || If(e10);
}
function J3(e10) {
  return e10 >= Rn.Zero && e10 <= Rn.Nine;
}
function Uhe(e10) {
  return e10 >= Rn.LowerA && e10 <= Rn.LowerZ || e10 >= Rn.UpperA && e10 <= Rn.UpperZ;
}
function Hhe(e10) {
  return e10 >= Rn.UpperA && e10 <= Rn.UpperF || e10 >= Rn.LowerA && e10 <= Rn.LowerF;
}
var lf;
(function(e10) {
  e10[e10.NoValue = 0] = "NoValue", e10[e10.Unquoted = 1] = "Unquoted", e10[e10.Single = 2] = "Single", e10[e10.Double = 3] = "Double";
})(lf || (lf = {}));
const Ou = {
  Cdata: new Uint8Array([67, 68, 65, 84, 65, 91]),
  CdataEnd: new Uint8Array([93, 93, 62]),
  CommentEnd: new Uint8Array([45, 45, 62]),
  ScriptEnd: new Uint8Array([60, 47, 115, 99, 114, 105, 112, 116]),
  StyleEnd: new Uint8Array([60, 47, 115, 116, 121, 108, 101]),
  TitleEnd: new Uint8Array([60, 47, 116, 105, 116, 108, 101])
  // `</title`
};
class $he {
  constructor({ xmlMode: t = false, decodeEntities: n = true }, r) {
    this.cbs = r, this.state = Yt.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = Yt.Text, this.isSpecial = false, this.running = true, this.offset = 0, this.currentSequence = void 0, this.sequenceIndex = 0, this.trieIndex = 0, this.trieCurrent = 0, this.entityResult = 0, this.entityExcess = 0, this.xmlMode = t, this.decodeEntities = n, this.entityTrie = t ? jT : QT;
  }
  reset() {
    this.state = Yt.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = Yt.Text, this.currentSequence = void 0, this.running = true, this.offset = 0;
  }
  write(t) {
    this.offset += this.buffer.length, this.buffer = t, this.parse();
  }
  end() {
    this.running && this.finish();
  }
  pause() {
    this.running = false;
  }
  resume() {
    this.running = true, this.index < this.buffer.length + this.offset && this.parse();
  }
  /**
   * The current index within all of the written data.
   */
  getIndex() {
    return this.index;
  }
  /**
   * The start of the current section.
   */
  getSectionStart() {
    return this.sectionStart;
  }
  stateText(t) {
    t === Rn.Lt || !this.decodeEntities && this.fastForwardTo(Rn.Lt) ? (this.index > this.sectionStart && this.cbs.ontext(this.sectionStart, this.index), this.state = Yt.BeforeTagName, this.sectionStart = this.index) : this.decodeEntities && t === Rn.Amp && (this.state = Yt.BeforeEntity);
  }
  stateSpecialStartSequence(t) {
    const n = this.sequenceIndex === this.currentSequence.length;
    if (!(n ? (
      // If we are at the end of the sequence, make sure the tag name has ended
      Xb(t)
    ) : (
      // Otherwise, do a case-insensitive comparison
      (t | 32) === this.currentSequence[this.sequenceIndex]
    )))
      this.isSpecial = false;
    else if (!n) {
      this.sequenceIndex++;
      return;
    }
    this.sequenceIndex = 0, this.state = Yt.InTagName, this.stateInTagName(t);
  }
  /** Look for an end tag. For <title> tags, also decode entities. */
  stateInSpecialTag(t) {
    if (this.sequenceIndex === this.currentSequence.length) {
      if (t === Rn.Gt || If(t)) {
        const n = this.index - this.currentSequence.length;
        if (this.sectionStart < n) {
          const r = this.index;
          this.index = n, this.cbs.ontext(this.sectionStart, n), this.index = r;
        }
        this.isSpecial = false, this.sectionStart = n + 2, this.stateInClosingTagName(t);
        return;
      }
      this.sequenceIndex = 0;
    }
    (t | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === Ou.TitleEnd ? this.decodeEntities && t === Rn.Amp && (this.state = Yt.BeforeEntity) : this.fastForwardTo(Rn.Lt) && (this.sequenceIndex = 1) : this.sequenceIndex = +(t === Rn.Lt);
  }
  stateCDATASequence(t) {
    t === Ou.Cdata[this.sequenceIndex] ? ++this.sequenceIndex === Ou.Cdata.length && (this.state = Yt.InCommentLike, this.currentSequence = Ou.CdataEnd, this.sequenceIndex = 0, this.sectionStart = this.index + 1) : (this.sequenceIndex = 0, this.state = Yt.InDeclaration, this.stateInDeclaration(t));
  }
  /**
   * When we wait for one specific character, we can speed things up
   * by skipping through the buffer until we find it.
   *
   * @returns Whether the character was found.
   */
  fastForwardTo(t) {
    for (; ++this.index < this.buffer.length + this.offset; )
      if (this.buffer.charCodeAt(this.index - this.offset) === t)
        return true;
    return this.index = this.buffer.length + this.offset - 1, false;
  }
  /**
   * Comments and CDATA end with `-->` and `]]>`.
   *
   * Their common qualities are:
   * - Their end sequences have a distinct character they start with.
   * - That character is then repeated, so we have to check multiple repeats.
   * - All characters but the start character of the sequence can be skipped.
   */
  stateInCommentLike(t) {
    t === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence === Ou.CdataEnd ? this.cbs.oncdata(this.sectionStart, this.index, 2) : this.cbs.oncomment(this.sectionStart, this.index, 2), this.sequenceIndex = 0, this.sectionStart = this.index + 1, this.state = Yt.Text) : this.sequenceIndex === 0 ? this.fastForwardTo(this.currentSequence[0]) && (this.sequenceIndex = 1) : t !== this.currentSequence[this.sequenceIndex - 1] && (this.sequenceIndex = 0);
  }
  /**
   * HTML only allows ASCII alpha characters (a-z and A-Z) at the beginning of a tag name.
   *
   * XML allows a lot more characters here (@see https://www.w3.org/TR/REC-xml/#NT-NameStartChar).
   * We allow anything that wouldn't end the tag.
   */
  isTagStartChar(t) {
    return this.xmlMode ? !Xb(t) : Uhe(t);
  }
  startSpecial(t, n) {
    this.isSpecial = true, this.currentSequence = t, this.sequenceIndex = n, this.state = Yt.SpecialStartSequence;
  }
  stateBeforeTagName(t) {
    if (t === Rn.ExclamationMark)
      this.state = Yt.BeforeDeclaration, this.sectionStart = this.index + 1;
    else if (t === Rn.Questionmark)
      this.state = Yt.InProcessingInstruction, this.sectionStart = this.index + 1;
    else if (this.isTagStartChar(t)) {
      const n = t | 32;
      this.sectionStart = this.index, !this.xmlMode && n === Ou.TitleEnd[2] ? this.startSpecial(Ou.TitleEnd, 3) : this.state = !this.xmlMode && n === Ou.ScriptEnd[2] ? Yt.BeforeSpecialS : Yt.InTagName;
    } else t === Rn.Slash ? this.state = Yt.BeforeClosingTagName : (this.state = Yt.Text, this.stateText(t));
  }
  stateInTagName(t) {
    Xb(t) && (this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = Yt.BeforeAttributeName, this.stateBeforeAttributeName(t));
  }
  stateBeforeClosingTagName(t) {
    If(t) || (t === Rn.Gt ? this.state = Yt.Text : (this.state = this.isTagStartChar(t) ? Yt.InClosingTagName : Yt.InSpecialComment, this.sectionStart = this.index));
  }
  stateInClosingTagName(t) {
    (t === Rn.Gt || If(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = Yt.AfterClosingTagName, this.stateAfterClosingTagName(t));
  }
  stateAfterClosingTagName(t) {
    (t === Rn.Gt || this.fastForwardTo(Rn.Gt)) && (this.state = Yt.Text, this.baseState = Yt.Text, this.sectionStart = this.index + 1);
  }
  stateBeforeAttributeName(t) {
    t === Rn.Gt ? (this.cbs.onopentagend(this.index), this.isSpecial ? (this.state = Yt.InSpecialTag, this.sequenceIndex = 0) : this.state = Yt.Text, this.baseState = this.state, this.sectionStart = this.index + 1) : t === Rn.Slash ? this.state = Yt.InSelfClosingTag : If(t) || (this.state = Yt.InAttributeName, this.sectionStart = this.index);
  }
  stateInSelfClosingTag(t) {
    t === Rn.Gt ? (this.cbs.onselfclosingtag(this.index), this.state = Yt.Text, this.baseState = Yt.Text, this.sectionStart = this.index + 1, this.isSpecial = false) : If(t) || (this.state = Yt.BeforeAttributeName, this.stateBeforeAttributeName(t));
  }
  stateInAttributeName(t) {
    (t === Rn.Eq || Xb(t)) && (this.cbs.onattribname(this.sectionStart, this.index), this.sectionStart = -1, this.state = Yt.AfterAttributeName, this.stateAfterAttributeName(t));
  }
  stateAfterAttributeName(t) {
    t === Rn.Eq ? this.state = Yt.BeforeAttributeValue : t === Rn.Slash || t === Rn.Gt ? (this.cbs.onattribend(lf.NoValue, this.index), this.state = Yt.BeforeAttributeName, this.stateBeforeAttributeName(t)) : If(t) || (this.cbs.onattribend(lf.NoValue, this.index), this.state = Yt.InAttributeName, this.sectionStart = this.index);
  }
  stateBeforeAttributeValue(t) {
    t === Rn.DoubleQuote ? (this.state = Yt.InAttributeValueDq, this.sectionStart = this.index + 1) : t === Rn.SingleQuote ? (this.state = Yt.InAttributeValueSq, this.sectionStart = this.index + 1) : If(t) || (this.sectionStart = this.index, this.state = Yt.InAttributeValueNq, this.stateInAttributeValueNoQuotes(t));
  }
  handleInAttributeValue(t, n) {
    t === n || !this.decodeEntities && this.fastForwardTo(n) ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(n === Rn.DoubleQuote ? lf.Double : lf.Single, this.index), this.state = Yt.BeforeAttributeName) : this.decodeEntities && t === Rn.Amp && (this.baseState = this.state, this.state = Yt.BeforeEntity);
  }
  stateInAttributeValueDoubleQuotes(t) {
    this.handleInAttributeValue(t, Rn.DoubleQuote);
  }
  stateInAttributeValueSingleQuotes(t) {
    this.handleInAttributeValue(t, Rn.SingleQuote);
  }
  stateInAttributeValueNoQuotes(t) {
    If(t) || t === Rn.Gt ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(lf.Unquoted, this.index), this.state = Yt.BeforeAttributeName, this.stateBeforeAttributeName(t)) : this.decodeEntities && t === Rn.Amp && (this.baseState = this.state, this.state = Yt.BeforeEntity);
  }
  stateBeforeDeclaration(t) {
    t === Rn.OpeningSquareBracket ? (this.state = Yt.CDATASequence, this.sequenceIndex = 0) : this.state = t === Rn.Dash ? Yt.BeforeComment : Yt.InDeclaration;
  }
  stateInDeclaration(t) {
    (t === Rn.Gt || this.fastForwardTo(Rn.Gt)) && (this.cbs.ondeclaration(this.sectionStart, this.index), this.state = Yt.Text, this.sectionStart = this.index + 1);
  }
  stateInProcessingInstruction(t) {
    (t === Rn.Gt || this.fastForwardTo(Rn.Gt)) && (this.cbs.onprocessinginstruction(this.sectionStart, this.index), this.state = Yt.Text, this.sectionStart = this.index + 1);
  }
  stateBeforeComment(t) {
    t === Rn.Dash ? (this.state = Yt.InCommentLike, this.currentSequence = Ou.CommentEnd, this.sequenceIndex = 2, this.sectionStart = this.index + 1) : this.state = Yt.InDeclaration;
  }
  stateInSpecialComment(t) {
    (t === Rn.Gt || this.fastForwardTo(Rn.Gt)) && (this.cbs.oncomment(this.sectionStart, this.index, 0), this.state = Yt.Text, this.sectionStart = this.index + 1);
  }
  stateBeforeSpecialS(t) {
    const n = t | 32;
    n === Ou.ScriptEnd[3] ? this.startSpecial(Ou.ScriptEnd, 4) : n === Ou.StyleEnd[3] ? this.startSpecial(Ou.StyleEnd, 4) : (this.state = Yt.InTagName, this.stateInTagName(t));
  }
  stateBeforeEntity(t) {
    this.entityExcess = 1, this.entityResult = 0, t === Rn.Number ? this.state = Yt.BeforeNumericEntity : t === Rn.Amp || (this.trieIndex = 0, this.trieCurrent = this.entityTrie[0], this.state = Yt.InNamedEntity, this.stateInNamedEntity(t));
  }
  stateInNamedEntity(t) {
    if (this.entityExcess += 1, this.trieIndex = tk(this.entityTrie, this.trieCurrent, this.trieIndex + 1, t), this.trieIndex < 0) {
      this.emitNamedEntity(), this.index--;
      return;
    }
    this.trieCurrent = this.entityTrie[this.trieIndex];
    const n = this.trieCurrent & Od.VALUE_LENGTH;
    if (n) {
      const r = (n >> 14) - 1;
      if (!this.allowLegacyEntity() && t !== Rn.Semi)
        this.trieIndex += r;
      else {
        const o = this.index - this.entityExcess + 1;
        o > this.sectionStart && this.emitPartial(this.sectionStart, o), this.entityResult = this.trieIndex, this.trieIndex += r, this.entityExcess = 0, this.sectionStart = this.index + 1, r === 0 && this.emitNamedEntity();
      }
    }
  }
  emitNamedEntity() {
    if (this.state = this.baseState, this.entityResult === 0)
      return;
    switch ((this.entityTrie[this.entityResult] & Od.VALUE_LENGTH) >> 14) {
      case 1: {
        this.emitCodePoint(this.entityTrie[this.entityResult] & ~Od.VALUE_LENGTH);
        break;
      }
      case 2: {
        this.emitCodePoint(this.entityTrie[this.entityResult + 1]);
        break;
      }
      case 3:
        this.emitCodePoint(this.entityTrie[this.entityResult + 1]), this.emitCodePoint(this.entityTrie[this.entityResult + 2]);
    }
  }
  stateBeforeNumericEntity(t) {
    (t | 32) === Rn.LowerX ? (this.entityExcess++, this.state = Yt.InHexEntity) : (this.state = Yt.InNumericEntity, this.stateInNumericEntity(t));
  }
  emitNumericEntity(t) {
    const n = this.index - this.entityExcess - 1;
    n + 2 + +(this.state === Yt.InHexEntity) !== this.index && (n > this.sectionStart && this.emitPartial(this.sectionStart, n), this.sectionStart = this.index + Number(t), this.emitCodePoint(qT(this.entityResult))), this.state = this.baseState;
  }
  stateInNumericEntity(t) {
    t === Rn.Semi ? this.emitNumericEntity(true) : J3(t) ? (this.entityResult = this.entityResult * 10 + (t - Rn.Zero), this.entityExcess++) : (this.allowLegacyEntity() ? this.emitNumericEntity(false) : this.state = this.baseState, this.index--);
  }
  stateInHexEntity(t) {
    t === Rn.Semi ? this.emitNumericEntity(true) : J3(t) ? (this.entityResult = this.entityResult * 16 + (t - Rn.Zero), this.entityExcess++) : Hhe(t) ? (this.entityResult = this.entityResult * 16 + ((t | 32) - Rn.LowerA + 10), this.entityExcess++) : (this.allowLegacyEntity() ? this.emitNumericEntity(false) : this.state = this.baseState, this.index--);
  }
  allowLegacyEntity() {
    return !this.xmlMode && (this.baseState === Yt.Text || this.baseState === Yt.InSpecialTag);
  }
  /**
   * Remove data that has already been consumed from the buffer.
   */
  cleanup() {
    this.running && this.sectionStart !== this.index && (this.state === Yt.Text || this.state === Yt.InSpecialTag && this.sequenceIndex === 0 ? (this.cbs.ontext(this.sectionStart, this.index), this.sectionStart = this.index) : (this.state === Yt.InAttributeValueDq || this.state === Yt.InAttributeValueSq || this.state === Yt.InAttributeValueNq) && (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = this.index));
  }
  shouldContinue() {
    return this.index < this.buffer.length + this.offset && this.running;
  }
  /**
   * Iterates through the buffer, calling the function corresponding to the current state.
   *
   * States that are more likely to be hit are higher up, as a performance improvement.
   */
  parse() {
    for (; this.shouldContinue(); ) {
      const t = this.buffer.charCodeAt(this.index - this.offset);
      switch (this.state) {
        case Yt.Text: {
          this.stateText(t);
          break;
        }
        case Yt.SpecialStartSequence: {
          this.stateSpecialStartSequence(t);
          break;
        }
        case Yt.InSpecialTag: {
          this.stateInSpecialTag(t);
          break;
        }
        case Yt.CDATASequence: {
          this.stateCDATASequence(t);
          break;
        }
        case Yt.InAttributeValueDq: {
          this.stateInAttributeValueDoubleQuotes(t);
          break;
        }
        case Yt.InAttributeName: {
          this.stateInAttributeName(t);
          break;
        }
        case Yt.InCommentLike: {
          this.stateInCommentLike(t);
          break;
        }
        case Yt.InSpecialComment: {
          this.stateInSpecialComment(t);
          break;
        }
        case Yt.BeforeAttributeName: {
          this.stateBeforeAttributeName(t);
          break;
        }
        case Yt.InTagName: {
          this.stateInTagName(t);
          break;
        }
        case Yt.InClosingTagName: {
          this.stateInClosingTagName(t);
          break;
        }
        case Yt.BeforeTagName: {
          this.stateBeforeTagName(t);
          break;
        }
        case Yt.AfterAttributeName: {
          this.stateAfterAttributeName(t);
          break;
        }
        case Yt.InAttributeValueSq: {
          this.stateInAttributeValueSingleQuotes(t);
          break;
        }
        case Yt.BeforeAttributeValue: {
          this.stateBeforeAttributeValue(t);
          break;
        }
        case Yt.BeforeClosingTagName: {
          this.stateBeforeClosingTagName(t);
          break;
        }
        case Yt.AfterClosingTagName: {
          this.stateAfterClosingTagName(t);
          break;
        }
        case Yt.BeforeSpecialS: {
          this.stateBeforeSpecialS(t);
          break;
        }
        case Yt.InAttributeValueNq: {
          this.stateInAttributeValueNoQuotes(t);
          break;
        }
        case Yt.InSelfClosingTag: {
          this.stateInSelfClosingTag(t);
          break;
        }
        case Yt.InDeclaration: {
          this.stateInDeclaration(t);
          break;
        }
        case Yt.BeforeDeclaration: {
          this.stateBeforeDeclaration(t);
          break;
        }
        case Yt.BeforeComment: {
          this.stateBeforeComment(t);
          break;
        }
        case Yt.InProcessingInstruction: {
          this.stateInProcessingInstruction(t);
          break;
        }
        case Yt.InNamedEntity: {
          this.stateInNamedEntity(t);
          break;
        }
        case Yt.BeforeEntity: {
          this.stateBeforeEntity(t);
          break;
        }
        case Yt.InHexEntity: {
          this.stateInHexEntity(t);
          break;
        }
        case Yt.InNumericEntity: {
          this.stateInNumericEntity(t);
          break;
        }
        default:
          this.stateBeforeNumericEntity(t);
      }
      this.index++;
    }
    this.cleanup();
  }
  finish() {
    this.state === Yt.InNamedEntity && this.emitNamedEntity(), this.sectionStart < this.index && this.handleTrailingData(), this.cbs.onend();
  }
  /** Handle any trailing data. */
  handleTrailingData() {
    const t = this.buffer.length + this.offset;
    this.state === Yt.InCommentLike ? this.currentSequence === Ou.CdataEnd ? this.cbs.oncdata(this.sectionStart, t, 0) : this.cbs.oncomment(this.sectionStart, t, 0) : this.state === Yt.InNumericEntity && this.allowLegacyEntity() ? this.emitNumericEntity(false) : this.state === Yt.InHexEntity && this.allowLegacyEntity() ? this.emitNumericEntity(false) : this.state === Yt.InTagName || this.state === Yt.BeforeAttributeName || this.state === Yt.BeforeAttributeValue || this.state === Yt.AfterAttributeName || this.state === Yt.InAttributeName || this.state === Yt.InAttributeValueSq || this.state === Yt.InAttributeValueDq || this.state === Yt.InAttributeValueNq || this.state === Yt.InClosingTagName || this.cbs.ontext(this.sectionStart, t);
  }
  emitPartial(t, n) {
    this.baseState !== Yt.Text && this.baseState !== Yt.InSpecialTag ? this.cbs.onattribdata(t, n) : this.cbs.ontext(t, n);
  }
  emitCodePoint(t) {
    this.baseState !== Yt.Text && this.baseState !== Yt.InSpecialTag ? this.cbs.onattribentity(t) : this.cbs.ontextentity(t);
  }
}
const pp = /* @__PURE__ */ new Set([
  "input",
  "option",
  "optgroup",
  "select",
  "button",
  "datalist",
  "textarea"
]), gi = /* @__PURE__ */ new Set(["p"]), Q3 = /* @__PURE__ */ new Set(["thead", "tbody"]), j3 = /* @__PURE__ */ new Set(["dd", "dt"]), q3 = /* @__PURE__ */ new Set(["rt", "rp"]), Vhe = /* @__PURE__ */ new Map([
  ["tr", /* @__PURE__ */ new Set(["tr", "th", "td"])],
  ["th", /* @__PURE__ */ new Set(["th"])],
  ["td", /* @__PURE__ */ new Set(["thead", "th", "td"])],
  ["body", /* @__PURE__ */ new Set(["head", "link", "script"])],
  ["li", /* @__PURE__ */ new Set(["li"])],
  ["p", gi],
  ["h1", gi],
  ["h2", gi],
  ["h3", gi],
  ["h4", gi],
  ["h5", gi],
  ["h6", gi],
  ["select", pp],
  ["input", pp],
  ["output", pp],
  ["button", pp],
  ["datalist", pp],
  ["textarea", pp],
  ["option", /* @__PURE__ */ new Set(["option"])],
  ["optgroup", /* @__PURE__ */ new Set(["optgroup", "option"])],
  ["dd", j3],
  ["dt", j3],
  ["address", gi],
  ["article", gi],
  ["aside", gi],
  ["blockquote", gi],
  ["details", gi],
  ["div", gi],
  ["dl", gi],
  ["fieldset", gi],
  ["figcaption", gi],
  ["figure", gi],
  ["footer", gi],
  ["form", gi],
  ["header", gi],
  ["hr", gi],
  ["main", gi],
  ["nav", gi],
  ["ol", gi],
  ["pre", gi],
  ["section", gi],
  ["table", gi],
  ["ul", gi],
  ["rt", q3],
  ["rp", q3],
  ["tbody", Q3],
  ["tfoot", Q3]
]), Ghe = /* @__PURE__ */ new Set([
  "area",
  "base",
  "basefont",
  "br",
  "col",
  "command",
  "embed",
  "frame",
  "hr",
  "img",
  "input",
  "isindex",
  "keygen",
  "link",
  "meta",
  "param",
  "source",
  "track",
  "wbr"
]), ex = /* @__PURE__ */ new Set(["math", "svg"]), tx = /* @__PURE__ */ new Set([
  "mi",
  "mo",
  "mn",
  "ms",
  "mtext",
  "annotation-xml",
  "foreignobject",
  "desc",
  "title"
]), Yhe = /\s|\//;
class Xhe {
  constructor(t, n = {}) {
    var r, o, i, u, p;
    this.options = n, this.startIndex = 0, this.endIndex = 0, this.openTagStart = 0, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this.stack = [], this.foreignContext = [], this.buffers = [], this.bufferOffset = 0, this.writeIndex = 0, this.ended = false, this.cbs = t ?? {}, this.lowerCaseTagNames = (r = n.lowerCaseTags) !== null && r !== void 0 ? r : !n.xmlMode, this.lowerCaseAttributeNames = (o = n.lowerCaseAttributeNames) !== null && o !== void 0 ? o : !n.xmlMode, this.tokenizer = new ((i = n.Tokenizer) !== null && i !== void 0 ? i : $he)(this.options, this), (p = (u = this.cbs).onparserinit) === null || p === void 0 || p.call(u, this);
  }
  // Tokenizer event handlers
  /** @internal */
  ontext(t, n) {
    var r, o;
    const i = this.getSlice(t, n);
    this.endIndex = n - 1, (o = (r = this.cbs).ontext) === null || o === void 0 || o.call(r, i), this.startIndex = n;
  }
  /** @internal */
  ontextentity(t) {
    var n, r;
    const o = this.tokenizer.getSectionStart();
    this.endIndex = o - 1, (r = (n = this.cbs).ontext) === null || r === void 0 || r.call(n, iy(t)), this.startIndex = o;
  }
  isVoidElement(t) {
    return !this.options.xmlMode && Ghe.has(t);
  }
  /** @internal */
  onopentagname(t, n) {
    this.endIndex = n;
    let r = this.getSlice(t, n);
    this.lowerCaseTagNames && (r = r.toLowerCase()), this.emitOpenTag(r);
  }
  emitOpenTag(t) {
    var n, r, o, i;
    this.openTagStart = this.startIndex, this.tagname = t;
    const u = !this.options.xmlMode && Vhe.get(t);
    if (u)
      for (; this.stack.length > 0 && u.has(this.stack[this.stack.length - 1]); ) {
        const p = this.stack.pop();
        (r = (n = this.cbs).onclosetag) === null || r === void 0 || r.call(n, p, true);
      }
    this.isVoidElement(t) || (this.stack.push(t), ex.has(t) ? this.foreignContext.push(true) : tx.has(t) && this.foreignContext.push(false)), (i = (o = this.cbs).onopentagname) === null || i === void 0 || i.call(o, t), this.cbs.onopentag && (this.attribs = {});
  }
  endOpenTag(t) {
    var n, r;
    this.startIndex = this.openTagStart, this.attribs && ((r = (n = this.cbs).onopentag) === null || r === void 0 || r.call(n, this.tagname, this.attribs, t), this.attribs = null), this.cbs.onclosetag && this.isVoidElement(this.tagname) && this.cbs.onclosetag(this.tagname, true), this.tagname = "";
  }
  /** @internal */
  onopentagend(t) {
    this.endIndex = t, this.endOpenTag(false), this.startIndex = t + 1;
  }
  /** @internal */
  onclosetag(t, n) {
    var r, o, i, u, p, v;
    this.endIndex = n;
    let y = this.getSlice(t, n);
    if (this.lowerCaseTagNames && (y = y.toLowerCase()), (ex.has(y) || tx.has(y)) && this.foreignContext.pop(), this.isVoidElement(y))
      !this.options.xmlMode && y === "br" && ((o = (r = this.cbs).onopentagname) === null || o === void 0 || o.call(r, "br"), (u = (i = this.cbs).onopentag) === null || u === void 0 || u.call(i, "br", {}, true), (v = (p = this.cbs).onclosetag) === null || v === void 0 || v.call(p, "br", false));
    else {
      const k = this.stack.lastIndexOf(y);
      if (k !== -1)
        if (this.cbs.onclosetag) {
          let T = this.stack.length - k;
          for (; T--; )
            this.cbs.onclosetag(this.stack.pop(), T !== 0);
        } else
          this.stack.length = k;
      else !this.options.xmlMode && y === "p" && (this.emitOpenTag("p"), this.closeCurrentTag(true));
    }
    this.startIndex = n + 1;
  }
  /** @internal */
  onselfclosingtag(t) {
    this.endIndex = t, this.options.xmlMode || this.options.recognizeSelfClosing || this.foreignContext[this.foreignContext.length - 1] ? (this.closeCurrentTag(false), this.startIndex = t + 1) : this.onopentagend(t);
  }
  closeCurrentTag(t) {
    var n, r;
    const o = this.tagname;
    this.endOpenTag(t), this.stack[this.stack.length - 1] === o && ((r = (n = this.cbs).onclosetag) === null || r === void 0 || r.call(n, o, !t), this.stack.pop());
  }
  /** @internal */
  onattribname(t, n) {
    this.startIndex = t;
    const r = this.getSlice(t, n);
    this.attribname = this.lowerCaseAttributeNames ? r.toLowerCase() : r;
  }
  /** @internal */
  onattribdata(t, n) {
    this.attribvalue += this.getSlice(t, n);
  }
  /** @internal */
  onattribentity(t) {
    this.attribvalue += iy(t);
  }
  /** @internal */
  onattribend(t, n) {
    var r, o;
    this.endIndex = n, (o = (r = this.cbs).onattribute) === null || o === void 0 || o.call(r, this.attribname, this.attribvalue, t === lf.Double ? '"' : t === lf.Single ? "'" : t === lf.NoValue ? void 0 : null), this.attribs && !Object.prototype.hasOwnProperty.call(this.attribs, this.attribname) && (this.attribs[this.attribname] = this.attribvalue), this.attribvalue = "";
  }
  getInstructionName(t) {
    const n = t.search(Yhe);
    let r = n < 0 ? t : t.substr(0, n);
    return this.lowerCaseTagNames && (r = r.toLowerCase()), r;
  }
  /** @internal */
  ondeclaration(t, n) {
    this.endIndex = n;
    const r = this.getSlice(t, n);
    if (this.cbs.onprocessinginstruction) {
      const o = this.getInstructionName(r);
      this.cbs.onprocessinginstruction(`!${o}`, `!${r}`);
    }
    this.startIndex = n + 1;
  }
  /** @internal */
  onprocessinginstruction(t, n) {
    this.endIndex = n;
    const r = this.getSlice(t, n);
    if (this.cbs.onprocessinginstruction) {
      const o = this.getInstructionName(r);
      this.cbs.onprocessinginstruction(`?${o}`, `?${r}`);
    }
    this.startIndex = n + 1;
  }
  /** @internal */
  oncomment(t, n, r) {
    var o, i, u, p;
    this.endIndex = n, (i = (o = this.cbs).oncomment) === null || i === void 0 || i.call(o, this.getSlice(t, n - r)), (p = (u = this.cbs).oncommentend) === null || p === void 0 || p.call(u), this.startIndex = n + 1;
  }
  /** @internal */
  oncdata(t, n, r) {
    var o, i, u, p, v, y, k, T, R, I;
    this.endIndex = n;
    const P = this.getSlice(t, n - r);
    this.options.xmlMode || this.options.recognizeCDATA ? ((i = (o = this.cbs).oncdatastart) === null || i === void 0 || i.call(o), (p = (u = this.cbs).ontext) === null || p === void 0 || p.call(u, P), (y = (v = this.cbs).oncdataend) === null || y === void 0 || y.call(v)) : ((T = (k = this.cbs).oncomment) === null || T === void 0 || T.call(k, `[CDATA[${P}]]`), (I = (R = this.cbs).oncommentend) === null || I === void 0 || I.call(R)), this.startIndex = n + 1;
  }
  /** @internal */
  onend() {
    var t, n;
    if (this.cbs.onclosetag) {
      this.endIndex = this.startIndex;
      for (let r = this.stack.length; r > 0; this.cbs.onclosetag(this.stack[--r], true))
        ;
    }
    (n = (t = this.cbs).onend) === null || n === void 0 || n.call(t);
  }
  /**
   * Resets the parser to a blank state, ready to parse a new HTML document
   */
  reset() {
    var t, n, r, o;
    (n = (t = this.cbs).onreset) === null || n === void 0 || n.call(t), this.tokenizer.reset(), this.tagname = "", this.attribname = "", this.attribs = null, this.stack.length = 0, this.startIndex = 0, this.endIndex = 0, (o = (r = this.cbs).onparserinit) === null || o === void 0 || o.call(r, this), this.buffers.length = 0, this.bufferOffset = 0, this.writeIndex = 0, this.ended = false;
  }
  /**
   * Resets the parser, then parses a complete document and
   * pushes it to the handler.
   *
   * @param data Document to parse.
   */
  parseComplete(t) {
    this.reset(), this.end(t);
  }
  getSlice(t, n) {
    for (; t - this.bufferOffset >= this.buffers[0].length; )
      this.shiftBuffer();
    let r = this.buffers[0].slice(t - this.bufferOffset, n - this.bufferOffset);
    for (; n - this.bufferOffset > this.buffers[0].length; )
      this.shiftBuffer(), r += this.buffers[0].slice(0, n - this.bufferOffset);
    return r;
  }
  shiftBuffer() {
    this.bufferOffset += this.buffers[0].length, this.writeIndex--, this.buffers.shift();
  }
  /**
   * Parses a chunk of data and calls the corresponding callbacks.
   *
   * @param chunk Chunk to parse.
   */
  write(t) {
    var n, r;
    if (this.ended) {
      (r = (n = this.cbs).onerror) === null || r === void 0 || r.call(n, new Error(".write() after done!"));
      return;
    }
    this.buffers.push(t), this.tokenizer.running && (this.tokenizer.write(t), this.writeIndex++);
  }
  /**
   * Parses the end of the buffer and clears the stack, calls onend.
   *
   * @param chunk Optional final chunk to parse.
   */
  end(t) {
    var n, r;
    if (this.ended) {
      (r = (n = this.cbs).onerror) === null || r === void 0 || r.call(n, new Error(".end() after done!"));
      return;
    }
    t && this.write(t), this.ended = true, this.tokenizer.end();
  }
  /**
   * Pauses parsing. The parser won't emit events until `resume` is called.
   */
  pause() {
    this.tokenizer.pause();
  }
  /**
   * Resumes parsing after `pause` was called.
   */
  resume() {
    for (this.tokenizer.resume(); this.tokenizer.running && this.writeIndex < this.buffers.length; )
      this.tokenizer.write(this.buffers[this.writeIndex++]);
    this.ended && this.tokenizer.end();
  }
  /**
   * Alias of `write`, for backwards compatibility.
   *
   * @param chunk Chunk to parse.
   * @deprecated
   */
  parseChunk(t) {
    this.write(t);
  }
  /**
   * Alias of `end`, for backwards compatibility.
   *
   * @param chunk Optional final chunk to parse.
   * @deprecated
   */
  done(t) {
    this.end(t);
  }
}
function Zhe(e10, t) {
  const n = new Che(void 0, t);
  return new Xhe(n, t).end(e10), n.root;
}
const Khe = ({
  children: e10,
  html: t,
  acceptUnknown: n
}) => {
  const r = reactExports.useCallback((i, u, p, v) => {
    if (!i || typeof i != "string")
      return jsxRuntimeExports.jsx(reactExports.Fragment, {
        children: v
      }, p);
    const y = e10[i], k = () => reactExports.createElement(i, {
      ...u,
      children: v,
      key: p
    });
    return y === null ? k() : typeof y > "u" ? n ? k() : null : reactExports.createElement(y, {
      ...u,
      index: p,
      key: p
    }, v);
  }, [n, e10]), o = {
    replace: (i) => {
      if (i instanceof hg) {
        const u = i.tagName.toLowerCase(), p = {
          ...i.attribs
        }, v = Whe(i.children, o);
        return r(u, p, Math.random(), v);
      }
    }
  };
  return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
    children: Zf(t, o)
  });
}, L0 = function(e10) {
  return e10 ? typeof e10 != "string" ? e10 : {
    children: jsxRuntimeExports.jsx(Khe, {
      html: e10,
      children: {
        br: () => jsxRuntimeExports.jsx("br", {}),
        b: (t) => jsxRuntimeExports.jsx("b", {
          ...t
        }),
        em: (t) => jsxRuntimeExports.jsx("em", {
          ...t
        }),
        link: (t) => jsxRuntimeExports.jsx("link", {
          ...t
        }),
        span: (t) => jsxRuntimeExports.jsx("span", {
          ...t
        })
      }
    })
  } : {
    children: null
  };
}, Jhe = /* @__PURE__ */ new Set(["script", "style", "iframe", "object", "embed", "noscript"]), Qhe = /* @__PURE__ */ new Set(["a", "abbr", "b", "blockquote", "br", "code", "div", "em", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "li", "ol", "p", "pre", "span", "strong", "sub", "sup", "table", "thead", "tbody", "td", "th", "tr", "u", "ul"]), jhe = {
  a: ["href", "name", "target", "rel"]
}, qhe = /^\s*(javascript|vbscript|data)\s*:/i, epe = /* @__PURE__ */ new Set(["href", "src", "action", "formaction", "xlink:href"]);
function tpe(e10, t, n, r) {
  if (t.toLowerCase().startsWith("on") || epe.has(t) && qhe.test(n)) return false;
  const o = r[e10];
  return o ? o.includes(t) : false;
}
function hk(e10, t, n, r) {
  const o = [];
  for (const i of e10) {
    if (i.type === "text") {
      o.push(i);
      continue;
    }
    if (i.type !== "comment" && i instanceof hg) {
      const u = i.tagName.toLowerCase();
      if (Jhe.has(u))
        continue;
      const p = hk(i.children, t, n, r);
      if (!t.has(u)) {
        o.push(...p);
        continue;
      }
      const v = {};
      for (const [y, k] of Object.entries(i.attribs))
        tpe(u, y, k, n) && (v[y] = k);
      if (r && "class" in v) {
        const y = v.class.split(/\s+/).filter((k) => k && r.has(k)).join(" ");
        y ? v.class = y : delete v.class;
      }
      i.attribs = v, i.children = p, o.push(i);
    }
  }
  return o;
}
function npe(e10, t) {
  if (!e10) return "";
  const n = t != null && t.allowedTags ? new Set(t.allowedTags) : Qhe, r = (t == null ? void 0 : t.allowedAttributes) ?? jhe, o = t != null && t.allowedClasses ? new Set(t.allowedClasses) : void 0, i = Zhe(e10);
  return i.children = hk(i.children, n, r, o), r2(i);
}
const uy = (e10) => new URLSearchParams(window.location.search).get(e10) || "", wi = window;
class rpe {
  constructor() {
    vo(this, "_shouldTrackTranslations", false);
    vo(this, "_shouldTrackTranslationKeys", false);
    vo(this, "untranslated", {});
    vo(this, "translated", {});
    this.init();
  }
  init() {
    uy("enableTextTranslationTracking") === "true" && (this._shouldTrackTranslations = true), uy("enableTextTranslationKeyTracking") === "true" && (this._shouldTrackTranslationKeys = true);
  }
  set shouldTrackTranslations(t) {
    this._shouldTrackTranslations = t;
  }
  get shouldTrackTranslations() {
    return this._shouldTrackTranslations;
  }
  set shouldTrackTranslationKeys(t) {
    this._shouldTrackTranslationKeys = t;
  }
  get shouldTrackTranslationKeys() {
    return this._shouldTrackTranslationKeys;
  }
  getUntraslatedAsArray() {
    return Object.values(this.untranslated);
  }
  logUntranslated() {
    for (const n in this.untranslated)
      ;
  }
  addUntranslated(t) {
    this.untranslated[t] || (this.untranslated[t] = t);
  }
  addTranslated(t) {
    this.translated[t] || (this.translated[t] = t);
  }
}
const Rd = new rpe();
wi.translationHelper = Rd;
class ope {
  translateArray(t) {
    return t.map((n) => {
      var r;
      return (r = this.get(n)) == null ? void 0 : r.value;
    });
  }
  justReplace(t, n) {
    let r = t;
    return n && typeof n == "object" && Object.keys(n).forEach((i) => {
      const u = n[i], p = new RegExp(`[%{]${i}[%}]`, "g");
      r = r.replace(p, `${u}`);
    }), r;
  }
  get(t, n, r, o, i) {
    let u = false, p = t;
    const v = typeof wi.TranslationsData < "u" && t in wi.TranslationsData;
    return typeof wi.TranslationsData < "u" && wi.TranslationsData[t] && (u = true, r === "other" && wi.TranslationsData[`${t}_other`] ? o === "impersonal" && wi.TranslationsData[`${t}_other_impersonal`] ? p = wi.TranslationsData[`${t}_other_impersonal`] : p = wi.TranslationsData[`${t}_other`] : o === "impersonal" && wi.TranslationsData[`${t}_impersonal`] ? p = wi.TranslationsData[`${t}_impersonal`] : p = wi.TranslationsData[t]), n && typeof n == "object" && Object.keys(n).forEach((k) => {
      const T = n[k], R = new RegExp(`[%{]${k}[%}]`, "g");
      p = p.replace(R, `${T}`);
    }), p === null ? {
      value: t,
      wasTranslated: false,
      hasTranslationKey: false
    } : {
      value: p,
      wasTranslated: u,
      hasTranslationKey: v
    };
  }
  getTranslationKey(t) {
    return wi && !wi.TranslationsData ? {
      key: t
    } : {
      key: Object.keys((wi == null ? void 0 : wi.TranslationsData) ?? {}).find((r) => wi.TranslationsData[r] === t) ?? t
    };
  }
}
const Lf = new ope();
var a2 = Tb(), Cr = (e10) => wb(e10, a2), s2 = Tb();
Cr.write = (e10) => wb(e10, s2);
var pg = Tb();
Cr.onStart = (e10) => wb(e10, pg);
var l2 = Tb();
Cr.onFrame = (e10) => wb(e10, l2);
var u2 = Tb();
Cr.onFinish = (e10) => wb(e10, u2);
var Op = [];
Cr.setTimeout = (e10, t) => {
  const n = Cr.now() + t, r = () => {
    const i = Op.findIndex((u) => u.cancel == r);
    ~i && Op.splice(i, 1), fh -= ~i ? 1 : 0;
  }, o = { time: n, handler: e10, cancel: r };
  return Op.splice(pk(n), 0, o), fh += 1, bk(), o;
};
var pk = (e10) => ~(~Op.findIndex((t) => t.time > e10) || ~Op.length);
Cr.cancel = (e10) => {
  pg.delete(e10), l2.delete(e10), u2.delete(e10), a2.delete(e10), s2.delete(e10);
};
Cr.sync = (e10) => {
  cy = true, Cr.batchedUpdates(e10), cy = false;
};
Cr.throttle = (e10) => {
  let t;
  function n() {
    try {
      e10(...t);
    } finally {
      t = null;
    }
  }
  function r(...o) {
    t = o, Cr.onStart(n);
  }
  return r.handler = e10, r.cancel = () => {
    pg.delete(n), t = null;
  }, r;
};
var c2 = typeof window < "u" ? window.requestAnimationFrame : (
  // eslint-disable-next-line @typescript-eslint/no-empty-function
  (() => {
  })
);
Cr.use = (e10) => c2 = e10;
Cr.now = typeof performance < "u" ? () => performance.now() : Date.now;
Cr.batchedUpdates = (e10) => e10();
Cr.catch = console.error;
Cr.frameLoop = "always";
Cr.advance = () => {
  Cr.frameLoop !== "demand" || mk();
};
var dh = -1, fh = 0, cy = false;
function wb(e10, t) {
  cy ? (t.delete(e10), e10(0)) : (t.add(e10), bk());
}
function bk() {
  dh < 0 && (dh = 0, Cr.frameLoop !== "demand" && c2(gk));
}
function ipe() {
  dh = -1;
}
function gk() {
  ~dh && (c2(gk), Cr.batchedUpdates(mk));
}
function mk() {
  const e10 = dh;
  dh = Cr.now();
  const t = pk(dh);
  if (t && (vk(Op.splice(0, t), (n) => n.handler()), fh -= t), !fh) {
    ipe();
    return;
  }
  pg.flush(), a2.flush(e10 ? Math.min(64, dh - e10) : 16.667), l2.flush(), s2.flush(), u2.flush();
}
function Tb() {
  let e10 = /* @__PURE__ */ new Set(), t = e10;
  return {
    add(n) {
      fh += t == e10 && !e10.has(n) ? 1 : 0, e10.add(n);
    },
    delete(n) {
      return fh -= t == e10 && e10.has(n) ? 1 : 0, e10.delete(n);
    },
    flush(n) {
      t.size && (e10 = /* @__PURE__ */ new Set(), fh -= t.size, vk(t, (r) => r(n) && e10.add(r)), fh += e10.size, t = e10);
    }
  };
}
function vk(e10, t) {
  e10.forEach((n) => {
    try {
      t(n);
    } catch (r) {
      Cr.catch(r);
    }
  });
}
var ape = Object.defineProperty, spe = (e10, t) => {
  for (var n in t)
    ape(e10, n, { get: t[n], enumerable: true });
}, Fd = {};
spe(Fd, {
  assign: () => upe,
  colors: () => ph,
  createStringInterpolator: () => f2,
  skipAnimation: () => xk,
  to: () => yk,
  willAdvance: () => h2
});
function dy() {
}
var lpe = (e10, t, n) => Object.defineProperty(e10, t, { value: n, writable: true, configurable: true }), nn = {
  arr: Array.isArray,
  obj: (e10) => !!e10 && e10.constructor.name === "Object",
  fun: (e10) => typeof e10 == "function",
  str: (e10) => typeof e10 == "string",
  num: (e10) => typeof e10 == "number",
  und: (e10) => e10 === void 0
};
function Mf(e10, t) {
  if (nn.arr(e10)) {
    if (!nn.arr(t) || e10.length !== t.length) return false;
    for (let n = 0; n < e10.length; n++)
      if (e10[n] !== t[n]) return false;
    return true;
  }
  return e10 === t;
}
var mr = (e10, t) => e10.forEach(t);
function ff(e10, t, n) {
  if (nn.arr(e10)) {
    for (let r = 0; r < e10.length; r++)
      t.call(n, e10[r], `${r}`);
    return;
  }
  for (const r in e10)
    e10.hasOwnProperty(r) && t.call(n, e10[r], r);
}
var iu = (e10) => nn.und(e10) ? [] : nn.arr(e10) ? e10 : [e10];
function $0(e10, t) {
  if (e10.size) {
    const n = Array.from(e10);
    e10.clear(), mr(n, t);
  }
}
var B0 = (e10, ...t) => $0(e10, (n) => n(...t)), d2 = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), f2, yk, ph = null, xk = false, h2 = dy, upe = (e10) => {
  e10.to && (yk = e10.to), e10.now && (Cr.now = e10.now), e10.colors !== void 0 && (ph = e10.colors), e10.skipAnimation != null && (xk = e10.skipAnimation), e10.createStringInterpolator && (f2 = e10.createStringInterpolator), e10.requestAnimationFrame && Cr.use(e10.requestAnimationFrame), e10.batchedUpdates && (Cr.batchedUpdates = e10.batchedUpdates), e10.willAdvance && (h2 = e10.willAdvance), e10.frameLoop && (Cr.frameLoop = e10.frameLoop);
}, V0 = /* @__PURE__ */ new Set(), Zc = [], Cm = [], D1 = 0, bg = {
  get idle() {
    return !V0.size && !Zc.length;
  },
  /** Advance the given animation on every frame until idle. */
  start(e10) {
    D1 > e10.priority ? (V0.add(e10), Cr.onStart(cpe)) : (_k(e10), Cr(fy));
  },
  /** Advance all animations by the given time. */
  advance: fy,
  /** Call this when an animation's priority changes. */
  sort(e10) {
    if (D1)
      Cr.onFrame(() => bg.sort(e10));
    else {
      const t = Zc.indexOf(e10);
      ~t && (Zc.splice(t, 1), wk(e10));
    }
  },
  /**
   * Clear all animations. For testing purposes.
   *
   * ☠️ Never call this from within the frameloop.
   */
  clear() {
    Zc = [], V0.clear();
  }
};
function cpe() {
  V0.forEach(_k), V0.clear(), Cr(fy);
}
function _k(e10) {
  Zc.includes(e10) || wk(e10);
}
function wk(e10) {
  Zc.splice(
    dpe(Zc, (t) => t.priority > e10.priority),
    0,
    e10
  );
}
function fy(e10) {
  const t = Cm;
  for (let n = 0; n < Zc.length; n++) {
    const r = Zc[n];
    D1 = r.priority, r.idle || (h2(r), r.advance(e10), r.idle || t.push(r));
  }
  return D1 = 0, Cm = Zc, Cm.length = 0, Zc = t, Zc.length > 0;
}
function dpe(e10, t) {
  const n = e10.findIndex(t);
  return n < 0 ? e10.length : n;
}
var fpe = {
  transparent: 0,
  aliceblue: 4042850303,
  antiquewhite: 4209760255,
  aqua: 16777215,
  aquamarine: 2147472639,
  azure: 4043309055,
  beige: 4126530815,
  bisque: 4293182719,
  black: 255,
  blanchedalmond: 4293643775,
  blue: 65535,
  blueviolet: 2318131967,
  brown: 2771004159,
  burlywood: 3736635391,
  burntsienna: 3934150143,
  cadetblue: 1604231423,
  chartreuse: 2147418367,
  chocolate: 3530104575,
  coral: 4286533887,
  cornflowerblue: 1687547391,
  cornsilk: 4294499583,
  crimson: 3692313855,
  cyan: 16777215,
  darkblue: 35839,
  darkcyan: 9145343,
  darkgoldenrod: 3095792639,
  darkgray: 2846468607,
  darkgreen: 6553855,
  darkgrey: 2846468607,
  darkkhaki: 3182914559,
  darkmagenta: 2332068863,
  darkolivegreen: 1433087999,
  darkorange: 4287365375,
  darkorchid: 2570243327,
  darkred: 2332033279,
  darksalmon: 3918953215,
  darkseagreen: 2411499519,
  darkslateblue: 1211993087,
  darkslategray: 793726975,
  darkslategrey: 793726975,
  darkturquoise: 13554175,
  darkviolet: 2483082239,
  deeppink: 4279538687,
  deepskyblue: 12582911,
  dimgray: 1768516095,
  dimgrey: 1768516095,
  dodgerblue: 512819199,
  firebrick: 2988581631,
  floralwhite: 4294635775,
  forestgreen: 579543807,
  fuchsia: 4278255615,
  gainsboro: 3705462015,
  ghostwhite: 4177068031,
  gold: 4292280575,
  goldenrod: 3668254975,
  gray: 2155905279,
  green: 8388863,
  greenyellow: 2919182335,
  grey: 2155905279,
  honeydew: 4043305215,
  hotpink: 4285117695,
  indianred: 3445382399,
  indigo: 1258324735,
  ivory: 4294963455,
  khaki: 4041641215,
  lavender: 3873897215,
  lavenderblush: 4293981695,
  lawngreen: 2096890111,
  lemonchiffon: 4294626815,
  lightblue: 2916673279,
  lightcoral: 4034953471,
  lightcyan: 3774873599,
  lightgoldenrodyellow: 4210742015,
  lightgray: 3553874943,
  lightgreen: 2431553791,
  lightgrey: 3553874943,
  lightpink: 4290167295,
  lightsalmon: 4288707327,
  lightseagreen: 548580095,
  lightskyblue: 2278488831,
  lightslategray: 2005441023,
  lightslategrey: 2005441023,
  lightsteelblue: 2965692159,
  lightyellow: 4294959359,
  lime: 16711935,
  limegreen: 852308735,
  linen: 4210091775,
  magenta: 4278255615,
  maroon: 2147483903,
  mediumaquamarine: 1724754687,
  mediumblue: 52735,
  mediumorchid: 3126187007,
  mediumpurple: 2473647103,
  mediumseagreen: 1018393087,
  mediumslateblue: 2070474495,
  mediumspringgreen: 16423679,
  mediumturquoise: 1221709055,
  mediumvioletred: 3340076543,
  midnightblue: 421097727,
  mintcream: 4127193855,
  mistyrose: 4293190143,
  moccasin: 4293178879,
  navajowhite: 4292783615,
  navy: 33023,
  oldlace: 4260751103,
  olive: 2155872511,
  olivedrab: 1804477439,
  orange: 4289003775,
  orangered: 4282712319,
  orchid: 3664828159,
  palegoldenrod: 4008225535,
  palegreen: 2566625535,
  paleturquoise: 2951671551,
  palevioletred: 3681588223,
  papayawhip: 4293907967,
  peachpuff: 4292524543,
  peru: 3448061951,
  pink: 4290825215,
  plum: 3718307327,
  powderblue: 2967529215,
  purple: 2147516671,
  rebeccapurple: 1714657791,
  red: 4278190335,
  rosybrown: 3163525119,
  royalblue: 1097458175,
  saddlebrown: 2336560127,
  salmon: 4202722047,
  sandybrown: 4104413439,
  seagreen: 780883967,
  seashell: 4294307583,
  sienna: 2689740287,
  silver: 3233857791,
  skyblue: 2278484991,
  slateblue: 1784335871,
  slategray: 1887473919,
  slategrey: 1887473919,
  snow: 4294638335,
  springgreen: 16744447,
  steelblue: 1182971135,
  tan: 3535047935,
  teal: 8421631,
  thistle: 3636451583,
  tomato: 4284696575,
  turquoise: 1088475391,
  violet: 4001558271,
  wheat: 4125012991,
  white: 4294967295,
  whitesmoke: 4126537215,
  yellow: 4294902015,
  yellowgreen: 2597139199
}, Dd = "[-+]?\\d*\\.?\\d+", F1 = Dd + "%";
function gg(...e10) {
  return "\\(\\s*(" + e10.join(")\\s*,\\s*(") + ")\\s*\\)";
}
var hpe = new RegExp("rgb" + gg(Dd, Dd, Dd)), ppe = new RegExp("rgba" + gg(Dd, Dd, Dd, Dd)), bpe = new RegExp("hsl" + gg(Dd, F1, F1)), gpe = new RegExp(
  "hsla" + gg(Dd, F1, F1, Dd)
), mpe = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, vpe = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, ype = /^#([0-9a-fA-F]{6})$/, xpe = /^#([0-9a-fA-F]{8})$/;
function _pe(e10) {
  let t;
  return typeof e10 == "number" ? e10 >>> 0 === e10 && e10 >= 0 && e10 <= 4294967295 ? e10 : null : (t = ype.exec(e10)) ? parseInt(t[1] + "ff", 16) >>> 0 : ph && ph[e10] !== void 0 ? ph[e10] : (t = hpe.exec(e10)) ? (bp(t[1]) << 24 | // r
  bp(t[2]) << 16 | // g
  bp(t[3]) << 8 | // b
  255) >>> // a
  0 : (t = ppe.exec(e10)) ? (bp(t[1]) << 24 | // r
  bp(t[2]) << 16 | // g
  bp(t[3]) << 8 | // b
  ox(t[4])) >>> // a
  0 : (t = mpe.exec(e10)) ? parseInt(
    t[1] + t[1] + // r
    t[2] + t[2] + // g
    t[3] + t[3] + // b
    "ff",
    // a
    16
  ) >>> 0 : (t = xpe.exec(e10)) ? parseInt(t[1], 16) >>> 0 : (t = vpe.exec(e10)) ? parseInt(
    t[1] + t[1] + // r
    t[2] + t[2] + // g
    t[3] + t[3] + // b
    t[4] + t[4],
    // a
    16
  ) >>> 0 : (t = bpe.exec(e10)) ? (nx(
    rx(t[1]),
    // h
    Zb(t[2]),
    // s
    Zb(t[3])
    // l
  ) | 255) >>> // a
  0 : (t = gpe.exec(e10)) ? (nx(
    rx(t[1]),
    // h
    Zb(t[2]),
    // s
    Zb(t[3])
    // l
  ) | ox(t[4])) >>> // a
  0 : null;
}
function Sm(e10, t, n) {
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e10 + (t - e10) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e10 + (t - e10) * (2 / 3 - n) * 6 : e10;
}
function nx(e10, t, n) {
  const r = n < 0.5 ? n * (1 + t) : n + t - n * t, o = 2 * n - r, i = Sm(o, r, e10 + 1 / 3), u = Sm(o, r, e10), p = Sm(o, r, e10 - 1 / 3);
  return Math.round(i * 255) << 24 | Math.round(u * 255) << 16 | Math.round(p * 255) << 8;
}
function bp(e10) {
  const t = parseInt(e10, 10);
  return t < 0 ? 0 : t > 255 ? 255 : t;
}
function rx(e10) {
  return (parseFloat(e10) % 360 + 360) % 360 / 360;
}
function ox(e10) {
  const t = parseFloat(e10);
  return t < 0 ? 0 : t > 1 ? 255 : Math.round(t * 255);
}
function Zb(e10) {
  const t = parseFloat(e10);
  return t < 0 ? 0 : t > 100 ? 1 : t / 100;
}
function ix(e10) {
  let t = _pe(e10);
  if (t === null) return e10;
  t = t || 0;
  const n = (t & 4278190080) >>> 24, r = (t & 16711680) >>> 16, o = (t & 65280) >>> 8, i = (t & 255) / 255;
  return `rgba(${n}, ${r}, ${o}, ${i})`;
}
var nb = (e10, t, n) => {
  if (nn.fun(e10))
    return e10;
  if (nn.arr(e10))
    return nb({
      range: e10,
      output: t,
      extrapolate: n
    });
  if (nn.str(e10.output[0]))
    return f2(e10);
  const r = e10, o = r.output, i = r.range || [0, 1], u = r.extrapolateLeft || r.extrapolate || "extend", p = r.extrapolateRight || r.extrapolate || "extend", v = r.easing || ((y) => y);
  return (y) => {
    const k = Tpe(y, i);
    return wpe(
      y,
      i[k],
      i[k + 1],
      o[k],
      o[k + 1],
      v,
      u,
      p,
      r.map
    );
  };
};
function wpe(e10, t, n, r, o, i, u, p, v) {
  let y = v ? v(e10) : e10;
  if (y < t) {
    if (u === "identity") return y;
    u === "clamp" && (y = t);
  }
  if (y > n) {
    if (p === "identity") return y;
    p === "clamp" && (y = n);
  }
  return r === o ? r : t === n ? e10 <= t ? r : o : (t === -1 / 0 ? y = -y : n === 1 / 0 ? y = y - t : y = (y - t) / (n - t), y = i(y), r === -1 / 0 ? y = -y : o === 1 / 0 ? y = y + r : y = y * (o - r) + r, y);
}
function Tpe(e10, t) {
  for (var n = 1; n < t.length - 1 && !(t[n] >= e10); ++n)
    ;
  return n - 1;
}
var kpe = {
  linear: (e10) => e10
}, rb = Symbol.for("FluidValue.get"), Wp = Symbol.for("FluidValue.observers"), Gc = (e10) => !!(e10 && e10[rb]), Fu = (e10) => e10 && e10[rb] ? e10[rb]() : e10, ax = (e10) => e10[Wp] || null;
function Epe(e10, t) {
  e10.eventObserved ? e10.eventObserved(t) : e10(t);
}
function ob(e10, t) {
  const n = e10[Wp];
  n && n.forEach((r) => {
    Epe(r, t);
  });
}
var Tk = class {
  constructor(e10) {
    if (!e10 && !(e10 = this.get))
      throw Error("Unknown getter");
    Cpe(this, e10);
  }
}, Cpe = (e10, t) => kk(e10, rb, t);
function t0(e10, t) {
  if (e10[rb]) {
    let n = e10[Wp];
    n || kk(e10, Wp, n = /* @__PURE__ */ new Set()), n.has(t) || (n.add(t), e10.observerAdded && e10.observerAdded(n.size, t));
  }
  return t;
}
function ib(e10, t) {
  const n = e10[Wp];
  if (n && n.has(t)) {
    const r = n.size - 1;
    r ? n.delete(t) : e10[Wp] = null, e10.observerRemoved && e10.observerRemoved(r, t);
  }
}
var kk = (e10, t, n) => Object.defineProperty(e10, t, {
  value: n,
  writable: true,
  configurable: true
}), g1 = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, Spe = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, sx = new RegExp(`(${g1.source})(%|[a-z]+)`, "i"), Ape = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, mg = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, Ek = (e10) => {
  const [t, n] = Ppe(e10);
  if (!t || d2())
    return e10;
  const r = window.getComputedStyle(document.documentElement).getPropertyValue(t);
  if (r)
    return r.trim();
  if (n && n.startsWith("--")) {
    const o = window.getComputedStyle(document.documentElement).getPropertyValue(n);
    return o || e10;
  } else {
    if (n && mg.test(n))
      return Ek(n);
    if (n)
      return n;
  }
  return e10;
}, Ppe = (e10) => {
  const t = mg.exec(e10);
  if (!t) return [,];
  const [, n, r] = t;
  return [n, r];
}, Am, Rpe = (e10, t, n, r, o) => `rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`, Ck = (e10) => {
  Am || (Am = ph ? (
    // match color names, ignore partial matches
    new RegExp(`(${Object.keys(ph).join("|")})(?!\\w)`, "g")
  ) : (
    // never match
    /^\b$/
  ));
  const t = e10.output.map((i) => Fu(i).replace(mg, Ek).replace(Spe, ix).replace(Am, ix)), n = t.map((i) => i.match(g1).map(Number)), o = n[0].map(
    (i, u) => n.map((p) => {
      if (!(u in p))
        throw Error('The arity of each "output" value must be equal');
      return p[u];
    })
  ).map(
    (i) => nb({ ...e10, output: i })
  );
  return (i) => {
    var v;
    const u = !sx.test(t[0]) && ((v = t.find((y) => sx.test(y))) == null ? void 0 : v.replace(g1, ""));
    let p = 0;
    return t[0].replace(
      g1,
      () => `${o[p++](i)}${u || ""}`
    ).replace(Ape, Rpe);
  };
}, p2 = "react-spring: ", Sk = (e10) => {
  const t = e10;
  let n = false;
  if (typeof t != "function")
    throw new TypeError(`${p2}once requires a function parameter`);
  return (...r) => {
    n || (t(...r), n = true);
  };
}, Ipe = Sk(console.warn);
function Mpe() {
  Ipe(
    `${p2}The "interpolate" function is deprecated in v9 (use "to" instead)`
  );
}
var Ope = Sk(console.warn);
function Dpe() {
  Ope(
    `${p2}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`
  );
}
function vg(e10) {
  return nn.str(e10) && (e10[0] == "#" || /\d/.test(e10) || // Do not identify a CSS variable as an AnimatedString if its SSR
  !d2() && mg.test(e10) || e10 in (ph || {}));
}
var Xh = d2() ? reactExports.useEffect : reactExports.useLayoutEffect, Fpe = () => {
  const e10 = reactExports.useRef(false);
  return Xh(() => (e10.current = true, () => {
    e10.current = false;
  }), []), e10;
};
function b2() {
  const e10 = reactExports.useState()[1], t = Fpe();
  return () => {
    t.current && e10(Math.random());
  };
}
var g2 = (e10) => reactExports.useEffect(e10, Npe), Npe = [];
function hy(e10) {
  const t = reactExports.useRef(void 0);
  return reactExports.useEffect(() => {
    t.current = e10;
  }), t.current;
}
var ab = Symbol.for("Animated:node"), Lpe = (e10) => !!e10 && e10[ab] === e10, of = (e10) => e10 && e10[ab], m2 = (e10, t) => lpe(e10, ab, t), yg = (e10) => e10 && e10[ab] && e10[ab].getPayload(), Ak = class {
  constructor() {
    m2(this, this);
  }
  /** Get every `AnimatedValue` used by this node. */
  getPayload() {
    return this.payload || [];
  }
}, xg = class Pk extends Ak {
  constructor(t) {
    super(), this._value = t, this.done = true, this.durationProgress = 0, nn.num(this._value) && (this.lastPosition = this._value);
  }
  /** @internal */
  static create(t) {
    return new Pk(t);
  }
  getPayload() {
    return [this];
  }
  getValue() {
    return this._value;
  }
  setValue(t, n) {
    return nn.num(t) && (this.lastPosition = t, n && (t = Math.round(t / n) * n, this.done && (this.lastPosition = t))), this._value === t ? false : (this._value = t, true);
  }
  reset() {
    const { done: t } = this;
    this.done = false, nn.num(this._value) && (this.elapsedTime = 0, this.durationProgress = 0, this.lastPosition = this._value, t && (this.lastVelocity = null), this.v0 = null);
  }
}, N1 = class Rk extends xg {
  constructor(t) {
    super(0), this._string = null, this._toString = nb({
      output: [t, t]
    });
  }
  /** @internal */
  static create(t) {
    return new Rk(t);
  }
  getValue() {
    const t = this._string;
    return t ?? (this._string = this._toString(this._value));
  }
  setValue(t) {
    if (nn.str(t)) {
      if (t == this._string)
        return false;
      this._string = t, this._value = 1;
    } else if (super.setValue(t))
      this._string = null;
    else
      return false;
    return true;
  }
  reset(t) {
    t && (this._toString = nb({
      output: [this.getValue(), t]
    })), this._value = 0, super.reset();
  }
}, L1 = { dependencies: null }, _g = class extends Ak {
  constructor(e10) {
    super(), this.source = e10, this.setValue(e10);
  }
  getValue(e10) {
    const t = {};
    return ff(this.source, (n, r) => {
      Lpe(n) ? t[r] = n.getValue(e10) : Gc(n) ? t[r] = Fu(n) : e10 || (t[r] = n);
    }), t;
  }
  /** Replace the raw object data */
  setValue(e10) {
    this.source = e10, this.payload = this._makePayload(e10);
  }
  reset() {
    this.payload && mr(this.payload, (e10) => e10.reset());
  }
  /** Create a payload set. */
  _makePayload(e10) {
    if (e10) {
      const t = /* @__PURE__ */ new Set();
      return ff(e10, this._addToPayload, t), Array.from(t);
    }
  }
  /** Add to a payload set. */
  _addToPayload(e10) {
    L1.dependencies && Gc(e10) && L1.dependencies.add(e10);
    const t = yg(e10);
    t && mr(t, (n) => this.add(n));
  }
}, Bpe = class Ik extends _g {
  constructor(t) {
    super(t);
  }
  /** @internal */
  static create(t) {
    return new Ik(t);
  }
  getValue() {
    return this.source.map((t) => t.getValue());
  }
  setValue(t) {
    const n = this.getPayload();
    return t.length == n.length ? n.map((r, o) => r.setValue(t[o])).some(Boolean) : (super.setValue(t.map(zpe)), true);
  }
};
function zpe(e10) {
  return (vg(e10) ? N1 : xg).create(e10);
}
function py(e10) {
  const t = of(e10);
  return t ? t.constructor : nn.arr(e10) ? Bpe : vg(e10) ? N1 : xg;
}
var lx = (e10, t) => {
  const n = (
    // Function components must use "forwardRef" to avoid being
    // re-rendered on every animation frame.
    !nn.fun(e10) || e10.prototype && e10.prototype.isReactComponent
  );
  return reactExports.forwardRef((r, o) => {
    const i = reactExports.useRef(null), u = n && // eslint-disable-next-line react-hooks/rules-of-hooks
    reactExports.useCallback(
      (P) => {
        i.current = Hpe(o, P);
      },
      [o]
    ), [p, v] = Upe(r, t), y = b2(), k = () => {
      const P = i.current;
      if (n && !P)
        return;
      (P ? t.applyAnimatedValues(P, p.getValue(true)) : false) === false && y();
    }, T = new Wpe(k, v), R = reactExports.useRef(void 0);
    Xh(() => (R.current = T, mr(v, (P) => t0(P, T)), () => {
      R.current && (mr(
        R.current.deps,
        (P) => ib(P, R.current)
      ), Cr.cancel(R.current.update));
    })), reactExports.useEffect(k, []), g2(() => () => {
      const P = R.current;
      mr(P.deps, (S) => ib(S, P));
    });
    const I = t.getComponentProps(p.getValue());
    return /* @__PURE__ */ reactExports.createElement(e10, { ...I, ref: u });
  });
}, Wpe = class {
  constructor(e10, t) {
    this.update = e10, this.deps = t;
  }
  eventObserved(e10) {
    e10.type == "change" && Cr.write(this.update);
  }
};
function Upe(e10, t) {
  const n = /* @__PURE__ */ new Set();
  return L1.dependencies = n, e10.style && (e10 = {
    ...e10,
    style: t.createAnimatedStyle(e10.style)
  }), e10 = new _g(e10), L1.dependencies = null, [e10, n];
}
function Hpe(e10, t) {
  return e10 && (nn.fun(e10) ? e10(t) : e10.current = t), t;
}
var ux = Symbol.for("AnimatedComponent"), $pe = (e10, {
  applyAnimatedValues: t = () => false,
  createAnimatedStyle: n = (o) => new _g(o),
  getComponentProps: r = (o) => o
} = {}) => {
  const o = {
    applyAnimatedValues: t,
    createAnimatedStyle: n,
    getComponentProps: r
  }, i = (u) => {
    const p = cx(u) || "Anonymous";
    return nn.str(u) ? u = i[u] || (i[u] = lx(u, o)) : u = u[ux] || (u[ux] = lx(u, o)), u.displayName = `Animated(${p})`, u;
  };
  return ff(e10, (u, p) => {
    nn.arr(e10) && (p = cx(u)), i[p] = i(u);
  }), {
    animated: i
  };
}, cx = (e10) => nn.str(e10) ? e10 : e10 && nn.str(e10.displayName) ? e10.displayName : nn.fun(e10) && e10.name || null;
function Nu(e10, ...t) {
  return nn.fun(e10) ? e10(...t) : e10;
}
var G0 = (e10, t) => e10 === true || !!(t && e10 && (nn.fun(e10) ? e10(t) : iu(e10).includes(t))), Mk = (e10, t) => nn.obj(e10) ? t && e10[t] : e10, Ok = (e10, t) => e10.default === true ? e10[t] : e10.default ? e10.default[t] : void 0, Vpe = (e10) => e10, wg = (e10, t = Vpe) => {
  let n = Gpe;
  e10.default && e10.default !== true && (e10 = e10.default, n = Object.keys(e10));
  const r = {};
  for (const o of n) {
    const i = t(e10[o], o);
    nn.und(i) || (r[o] = i);
  }
  return r;
}, Gpe = [
  "config",
  "onProps",
  "onStart",
  "onChange",
  "onPause",
  "onResume",
  "onRest"
], Ype = {
  config: 1,
  from: 1,
  to: 1,
  ref: 1,
  loop: 1,
  reset: 1,
  pause: 1,
  cancel: 1,
  reverse: 1,
  immediate: 1,
  default: 1,
  delay: 1,
  onProps: 1,
  onStart: 1,
  onChange: 1,
  onPause: 1,
  onResume: 1,
  onRest: 1,
  onResolve: 1,
  // Transition props
  items: 1,
  trail: 1,
  sort: 1,
  expires: 1,
  initial: 1,
  enter: 1,
  update: 1,
  leave: 1,
  children: 1,
  onDestroyed: 1,
  // Internal props
  keys: 1,
  callId: 1,
  parentId: 1
};
function Xpe(e10) {
  const t = {};
  let n = 0;
  if (ff(e10, (r, o) => {
    Ype[o] || (t[o] = r, n++);
  }), n)
    return t;
}
function v2(e10) {
  const t = Xpe(e10);
  if (t) {
    const n = { to: t };
    return ff(e10, (r, o) => o in t || (n[o] = r)), n;
  }
  return { ...e10 };
}
function sb(e10) {
  return e10 = Fu(e10), nn.arr(e10) ? e10.map(sb) : vg(e10) ? Fd.createStringInterpolator({
    range: [0, 1],
    output: [e10, e10]
  })(1) : e10;
}
function Dk(e10) {
  for (const t in e10) return true;
  return false;
}
function by(e10) {
  return nn.fun(e10) || nn.arr(e10) && nn.obj(e10[0]);
}
function gy(e10, t) {
  var n;
  (n = e10.ref) == null || n.delete(e10), t == null || t.delete(e10);
}
function Fk(e10, t) {
  var n;
  t && e10.ref !== t && ((n = e10.ref) == null || n.delete(e10), t.add(e10), e10.ref = t);
}
var Zpe = {
  default: { tension: 170, friction: 26 }
}, my = {
  ...Zpe.default,
  mass: 1,
  damping: 1,
  easing: kpe.linear,
  clamp: false
}, Kpe = class {
  constructor() {
    this.velocity = 0, Object.assign(this, my);
  }
};
function Jpe(e10, t, n) {
  n && (n = { ...n }, dx(n, t), t = { ...n, ...t }), dx(e10, t), Object.assign(e10, t);
  for (const u in my)
    e10[u] == null && (e10[u] = my[u]);
  let { frequency: r, damping: o } = e10;
  const { mass: i } = e10;
  return nn.und(r) || (r < 0.01 && (r = 0.01), o < 0 && (o = 0), e10.tension = Math.pow(2 * Math.PI / r, 2) * i, e10.friction = 4 * Math.PI * o * i / r), e10;
}
function dx(e10, t) {
  if (!nn.und(t.decay))
    e10.duration = void 0;
  else {
    const n = !nn.und(t.tension) || !nn.und(t.friction);
    (n || !nn.und(t.frequency) || !nn.und(t.damping) || !nn.und(t.mass)) && (e10.duration = void 0, e10.decay = void 0), n && (e10.frequency = void 0);
  }
}
var fx = [], Qpe = class {
  constructor() {
    this.changed = false, this.values = fx, this.toValues = null, this.fromValues = fx, this.config = new Kpe(), this.immediate = false;
  }
};
function Nk(e10, { key: t, props: n, defaultProps: r, state: o, actions: i }) {
  return new Promise((u, p) => {
    let v, y, k = G0(n.cancel ?? (r == null ? void 0 : r.cancel), t);
    if (k)
      I();
    else {
      nn.und(n.pause) || (o.paused = G0(n.pause, t));
      let P = r == null ? void 0 : r.pause;
      P !== true && (P = o.paused || G0(P, t)), v = Nu(n.delay || 0, t), P ? (o.resumeQueue.add(R), i.pause()) : (i.resume(), R());
    }
    function T() {
      o.resumeQueue.add(R), o.timeouts.delete(y), y.cancel(), v = y.time - Cr.now();
    }
    function R() {
      v > 0 && !Fd.skipAnimation ? (o.delayed = true, y = Cr.setTimeout(I, v), o.pauseQueue.add(T), o.timeouts.add(y)) : I();
    }
    function I() {
      o.delayed && (o.delayed = false), o.pauseQueue.delete(T), o.timeouts.delete(y), e10 <= (o.cancelId || 0) && (k = true);
      try {
        i.start({ ...n, callId: e10, cancel: k }, u);
      } catch (P) {
        p(P);
      }
    }
  });
}
var y2 = (e10, t) => t.length == 1 ? t[0] : t.some((n) => n.cancelled) ? Dp(e10.get()) : t.every((n) => n.noop) ? Lk(e10.get()) : Md(
  e10.get(),
  t.every((n) => n.finished)
), Lk = (e10) => ({
  value: e10,
  noop: true,
  finished: true,
  cancelled: false
}), Md = (e10, t, n = false) => ({
  value: e10,
  finished: t,
  cancelled: n
}), Dp = (e10) => ({
  value: e10,
  cancelled: true,
  finished: false
});
function Bk(e10, t, n, r) {
  const { callId: o, parentId: i, onRest: u } = t, { asyncTo: p, promise: v } = n;
  return !i && e10 === p && !t.reset ? v : n.promise = (async () => {
    n.asyncId = o, n.asyncTo = e10;
    const y = wg(
      t,
      (U, B) => (
        // The `onRest` prop is only called when the `runAsync` promise is resolved.
        B === "onRest" ? void 0 : U
      )
    );
    let k, T;
    const R = new Promise(
      (U, B) => (k = U, T = B)
    ), I = (U) => {
      const B = (
        // The `cancel` prop or `stop` method was used.
        o <= (n.cancelId || 0) && Dp(r) || // The async `to` prop was replaced.
        o !== n.asyncId && Md(r, false)
      );
      if (B)
        throw U.result = B, T(U), U;
    }, P = (U, B) => {
      const X = new hx(), Z = new px();
      return (async () => {
        if (Fd.skipAnimation)
          throw lb(n), Z.result = Md(r, false), T(Z), Z;
        I(X);
        const te = nn.obj(U) ? { ...U } : { ...B, to: U };
        te.parentId = o, ff(y, (q, F) => {
          nn.und(te[F]) && (te[F] = q);
        });
        const Q = await r.start(te);
        return I(X), n.paused && await new Promise((q) => {
          n.resumeQueue.add(q);
        }), Q;
      })();
    };
    let S;
    if (Fd.skipAnimation)
      return lb(n), Md(r, false);
    try {
      let U;
      nn.arr(e10) ? U = (async (B) => {
        for (const X of B)
          await P(X);
      })(e10) : U = Promise.resolve(e10(P, r.stop.bind(r))), await Promise.all([U.then(k), R]), S = Md(r.get(), true, false);
    } catch (U) {
      if (U instanceof hx)
        S = U.result;
      else if (U instanceof px)
        S = U.result;
      else
        throw U;
    } finally {
      o == n.asyncId && (n.asyncId = i, n.asyncTo = i ? p : void 0, n.promise = i ? v : void 0);
    }
    return nn.fun(u) && Cr.batchedUpdates(() => {
      u(S, r, r.item);
    }), S;
  })();
}
function lb(e10, t) {
  $0(e10.timeouts, (n) => n.cancel()), e10.pauseQueue.clear(), e10.resumeQueue.clear(), e10.asyncId = e10.asyncTo = e10.promise = void 0, t && (e10.cancelId = t);
}
var hx = class extends Error {
  constructor() {
    super(
      "An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."
    );
  }
}, px = class extends Error {
  constructor() {
    super("SkipAnimationSignal");
  }
}, vy = (e10) => e10 instanceof x2, jpe = 1, x2 = class extends Tk {
  constructor() {
    super(...arguments), this.id = jpe++, this._priority = 0;
  }
  get priority() {
    return this._priority;
  }
  set priority(e10) {
    this._priority != e10 && (this._priority = e10, this._onPriorityChange(e10));
  }
  /** Get the current value */
  get() {
    const e10 = of(this);
    return e10 && e10.getValue();
  }
  /** Create a spring that maps our value to another value */
  to(...e10) {
    return Fd.to(this, e10);
  }
  /** @deprecated Use the `to` method instead. */
  interpolate(...e10) {
    return Mpe(), Fd.to(this, e10);
  }
  toJSON() {
    return this.get();
  }
  observerAdded(e10) {
    e10 == 1 && this._attach();
  }
  observerRemoved(e10) {
    e10 == 0 && this._detach();
  }
  /** Called when the first child is added. */
  _attach() {
  }
  /** Called when the last child is removed. */
  _detach() {
  }
  /** Tell our children about our new value */
  _onChange(e10, t = false) {
    ob(this, {
      type: "change",
      parent: this,
      value: e10,
      idle: t
    });
  }
  /** Tell our children about our new priority */
  _onPriorityChange(e10) {
    this.idle || bg.sort(this), ob(this, {
      type: "priority",
      parent: this,
      priority: e10
    });
  }
}, ep = Symbol.for("SpringPhase"), zk = 1, yy = 2, xy = 4, Pm = (e10) => (e10[ep] & zk) > 0, ih = (e10) => (e10[ep] & yy) > 0, y0 = (e10) => (e10[ep] & xy) > 0, bx = (e10, t) => t ? e10[ep] |= yy | zk : e10[ep] &= ~yy, gx = (e10, t) => t ? e10[ep] |= xy : e10[ep] &= ~xy, qpe = class extends x2 {
  constructor(e10, t) {
    if (super(), this.animation = new Qpe(), this.defaultProps = {}, this._state = {
      paused: false,
      delayed: false,
      pauseQueue: /* @__PURE__ */ new Set(),
      resumeQueue: /* @__PURE__ */ new Set(),
      timeouts: /* @__PURE__ */ new Set()
    }, this._pendingCalls = /* @__PURE__ */ new Set(), this._lastCallId = 0, this._lastToId = 0, this._memoizedDuration = 0, !nn.und(e10) || !nn.und(t)) {
      const n = nn.obj(e10) ? { ...e10 } : { ...t, from: e10 };
      nn.und(n.default) && (n.default = true), this.start(n);
    }
  }
  /** Equals true when not advancing on each frame. */
  get idle() {
    return !(ih(this) || this._state.asyncTo) || y0(this);
  }
  get goal() {
    return Fu(this.animation.to);
  }
  get velocity() {
    const e10 = of(this);
    return e10 instanceof xg ? e10.lastVelocity || 0 : e10.getPayload().map((t) => t.lastVelocity || 0);
  }
  /**
   * When true, this value has been animated at least once.
   */
  get hasAnimated() {
    return Pm(this);
  }
  /**
   * When true, this value has an unfinished animation,
   * which is either active or paused.
   */
  get isAnimating() {
    return ih(this);
  }
  /**
   * When true, all current and future animations are paused.
   */
  get isPaused() {
    return y0(this);
  }
  /**
   *
   *
   */
  get isDelayed() {
    return this._state.delayed;
  }
  /** Advance the current animation by a number of milliseconds */
  advance(e10) {
    let t = true, n = false;
    const r = this.animation;
    let { toValues: o } = r;
    const { config: i } = r, u = yg(r.to);
    !u && Gc(r.to) && (o = iu(Fu(r.to))), r.values.forEach((y, k) => {
      if (y.done) return;
      const T = (
        // Animated strings always go from 0 to 1.
        y.constructor == N1 ? 1 : u ? u[k].lastPosition : o[k]
      );
      let R = r.immediate, I = T;
      if (!R) {
        if (I = y.lastPosition, i.tension <= 0) {
          y.done = true;
          return;
        }
        let P = y.elapsedTime += e10;
        const S = r.fromValues[k], U = y.v0 != null ? y.v0 : y.v0 = nn.arr(i.velocity) ? i.velocity[k] : i.velocity;
        let B;
        const X = i.precision || (S == T ? 5e-3 : Math.min(1, Math.abs(T - S) * 1e-3));
        if (nn.und(i.duration))
          if (i.decay) {
            const Z = i.decay === true ? 0.998 : i.decay, te = Math.exp(-(1 - Z) * P);
            I = S + U / (1 - Z) * (1 - te), R = Math.abs(y.lastPosition - I) <= X, B = U * te;
          } else {
            B = y.lastVelocity == null ? U : y.lastVelocity;
            const Z = i.restVelocity || X / 10, te = i.clamp ? 0 : i.bounce, Q = !nn.und(te), q = S == T ? y.v0 > 0 : S < T;
            let F, ne = false;
            const ae = 1, pe = Math.ceil(e10 / ae);
            for (let Ve = 0; Ve < pe && (F = Math.abs(B) > Z, !(!F && (R = Math.abs(T - I) <= X, R))); ++Ve) {
              Q && (ne = I == T || I > T == q, ne && (B = -B * te, I = T));
              const we = -i.tension * 1e-6 * (I - T), Te = -i.friction * 1e-3 * B, be = (we + Te) / i.mass;
              B = B + be * ae, I = I + B * ae;
            }
          }
        else {
          let Z = 1;
          i.duration > 0 && (this._memoizedDuration !== i.duration && (this._memoizedDuration = i.duration, y.durationProgress > 0 && (y.elapsedTime = i.duration * y.durationProgress, P = y.elapsedTime += e10)), Z = (i.progress || 0) + P / this._memoizedDuration, Z = Z > 1 ? 1 : Z < 0 ? 0 : Z, y.durationProgress = Z), I = S + i.easing(Z) * (T - S), B = (I - y.lastPosition) / e10, R = Z == 1;
        }
        y.lastVelocity = B, Number.isNaN(I) && (R = true);
      }
      u && !u[k].done && (R = false), R ? y.done = true : t = false, y.setValue(I, i.round) && (n = true);
    });
    const p = of(this), v = p.getValue();
    if (t) {
      const y = Fu(r.to);
      (v !== y || n) && !i.decay ? (p.setValue(y), this._onChange(y)) : n && i.decay && this._onChange(v), this._stop();
    } else n && this._onChange(v);
  }
  /** Set the current value, while stopping the current animation */
  set(e10) {
    return Cr.batchedUpdates(() => {
      this._stop(), this._focus(e10), this._set(e10);
    }), this;
  }
  /**
   * Freeze the active animation in time, as well as any updates merged
   * before `resume` is called.
   */
  pause() {
    this._update({ pause: true });
  }
  /** Resume the animation if paused. */
  resume() {
    this._update({ pause: false });
  }
  /** Skip to the end of the current animation. */
  finish() {
    if (ih(this)) {
      const { to: e10, config: t } = this.animation;
      Cr.batchedUpdates(() => {
        this._onStart(), t.decay || this._set(e10, false), this._stop();
      });
    }
    return this;
  }
  /** Push props into the pending queue. */
  update(e10) {
    return (this.queue || (this.queue = [])).push(e10), this;
  }
  start(e10, t) {
    let n;
    return nn.und(e10) ? (n = this.queue || [], this.queue = []) : n = [nn.obj(e10) ? e10 : { ...t, to: e10 }], Promise.all(
      n.map((r) => this._update(r))
    ).then((r) => y2(this, r));
  }
  /**
   * Stop the current animation, and cancel any delayed updates.
   *
   * Pass `true` to call `onRest` with `cancelled: true`.
   */
  stop(e10) {
    const { to: t } = this.animation;
    return this._focus(this.get()), lb(this._state, e10 && this._lastCallId), Cr.batchedUpdates(() => this._stop(t, e10)), this;
  }
  /** Restart the animation. */
  reset() {
    this._update({ reset: true });
  }
  /** @internal */
  eventObserved(e10) {
    e10.type == "change" ? this._start() : e10.type == "priority" && (this.priority = e10.priority + 1);
  }
  /**
   * Parse the `to` and `from` range from the given `props` object.
   *
   * This also ensures the initial value is available to animated components
   * during the render phase.
   */
  _prepareNode(e10) {
    const t = this.key || "";
    let { to: n, from: r } = e10;
    n = nn.obj(n) ? n[t] : n, (n == null || by(n)) && (n = void 0), r = nn.obj(r) ? r[t] : r, r == null && (r = void 0);
    const o = { to: n, from: r };
    return Pm(this) || (e10.reverse && ([n, r] = [r, n]), r = Fu(r), nn.und(r) ? of(this) || this._set(n) : this._set(r)), o;
  }
  /** Every update is processed by this method before merging. */
  _update({ ...e10 }, t) {
    const { key: n, defaultProps: r } = this;
    e10.default && Object.assign(
      r,
      wg(
        e10,
        (u, p) => /^on/.test(p) ? Mk(u, n) : u
      )
    ), vx(this, e10, "onProps"), _0(this, "onProps", e10, this);
    const o = this._prepareNode(e10);
    if (Object.isFrozen(this))
      throw Error(
        "Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?"
      );
    const i = this._state;
    return Nk(++this._lastCallId, {
      key: n,
      props: e10,
      defaultProps: r,
      state: i,
      actions: {
        pause: () => {
          y0(this) || (gx(this, true), B0(i.pauseQueue), _0(
            this,
            "onPause",
            Md(this, x0(this, this.animation.to)),
            this
          ));
        },
        resume: () => {
          y0(this) && (gx(this, false), ih(this) && this._resume(), B0(i.resumeQueue), _0(
            this,
            "onResume",
            Md(this, x0(this, this.animation.to)),
            this
          ));
        },
        start: this._merge.bind(this, o)
      }
    }).then((u) => {
      if (e10.loop && u.finished && !(t && u.noop)) {
        const p = Wk(e10);
        if (p)
          return this._update(p, true);
      }
      return u;
    });
  }
  /** Merge props into the current animation */
  _merge(e10, t, n) {
    if (t.cancel)
      return this.stop(true), n(Dp(this));
    const r = !nn.und(e10.to), o = !nn.und(e10.from);
    if (r || o)
      if (t.callId > this._lastToId)
        this._lastToId = t.callId;
      else
        return n(Dp(this));
    const { key: i, defaultProps: u, animation: p } = this, { to: v, from: y } = p;
    let { to: k = v, from: T = y } = e10;
    o && !r && (!t.default || nn.und(k)) && (k = T), t.reverse && ([k, T] = [T, k]);
    const R = !Mf(T, y);
    R && (p.from = T), T = Fu(T);
    const I = !Mf(k, v);
    I && this._focus(k);
    const P = by(t.to), { config: S } = p, { decay: U, velocity: B } = S;
    (r || o) && (S.velocity = 0), t.config && !P && Jpe(
      S,
      Nu(t.config, i),
      // Avoid calling the same "config" prop twice.
      t.config !== u.config ? Nu(u.config, i) : void 0
    );
    let X = of(this);
    if (!X || nn.und(k))
      return n(Md(this, true));
    const Z = (
      // When `reset` is undefined, the `from` prop implies `reset: true`,
      // except for declarative updates. When `reset` is defined, there
      // must exist a value to animate from.
      nn.und(t.reset) ? o && !t.default : !nn.und(T) && G0(t.reset, i)
    ), te = Z ? T : this.get(), Q = sb(k), q = nn.num(Q) || nn.arr(Q) || vg(Q), F = !P && (!q || G0(u.immediate || t.immediate, i));
    if (I) {
      const Ve = py(k);
      if (Ve !== X.constructor)
        if (F)
          X = this._set(Q);
        else
          throw Error(
            `Cannot animate between ${X.constructor.name} and ${Ve.name}, as the "to" prop suggests`
          );
    }
    const ne = X.constructor;
    let ae = Gc(k), pe = false;
    if (!ae) {
      const Ve = Z || !Pm(this) && R;
      (I || Ve) && (pe = Mf(sb(te), Q), ae = !pe), (!Mf(p.immediate, F) && !F || !Mf(S.decay, U) || !Mf(S.velocity, B)) && (ae = true);
    }
    if (pe && ih(this) && (p.changed && !Z ? ae = true : ae || this._stop(v)), !P && ((ae || Gc(v)) && (p.values = X.getPayload(), p.toValues = Gc(k) ? null : ne == N1 ? [1] : iu(Q)), p.immediate != F && (p.immediate = F, !F && !Z && this._set(v)), ae)) {
      const { onRest: Ve } = p;
      mr(t0e, (Te) => vx(this, t, Te));
      const we = Md(this, x0(this, v));
      B0(this._pendingCalls, we), this._pendingCalls.add(n), p.changed && Cr.batchedUpdates(() => {
        var Te;
        p.changed = !Z, Ve == null || Ve(we, this), Z ? Nu(u.onRest, we) : (Te = p.onStart) == null || Te.call(p, we, this);
      });
    }
    Z && this._set(te), P ? n(Bk(t.to, t, this._state, this)) : ae ? this._start() : ih(this) && !I ? this._pendingCalls.add(n) : n(Lk(te));
  }
  /** Update the `animation.to` value, which might be a `FluidValue` */
  _focus(e10) {
    const t = this.animation;
    e10 !== t.to && (ax(this) && this._detach(), t.to = e10, ax(this) && this._attach());
  }
  _attach() {
    let e10 = 0;
    const { to: t } = this.animation;
    Gc(t) && (t0(t, this), vy(t) && (e10 = t.priority + 1)), this.priority = e10;
  }
  _detach() {
    const { to: e10 } = this.animation;
    Gc(e10) && ib(e10, this);
  }
  /**
   * Update the current value from outside the frameloop,
   * and return the `Animated` node.
   */
  _set(e10, t = true) {
    const n = Fu(e10);
    if (!nn.und(n)) {
      const r = of(this);
      if (!r || !Mf(n, r.getValue())) {
        const o = py(n);
        !r || r.constructor != o ? m2(this, o.create(n)) : r.setValue(n), r && Cr.batchedUpdates(() => {
          this._onChange(n, t);
        });
      }
    }
    return of(this);
  }
  _onStart() {
    const e10 = this.animation;
    e10.changed || (e10.changed = true, _0(
      this,
      "onStart",
      Md(this, x0(this, e10.to)),
      this
    ));
  }
  _onChange(e10, t) {
    t || (this._onStart(), Nu(this.animation.onChange, e10, this)), Nu(this.defaultProps.onChange, e10, this), super._onChange(e10, t);
  }
  // This method resets the animation state (even if already animating) to
  // ensure the latest from/to range is used, and it also ensures this spring
  // is added to the frameloop.
  _start() {
    const e10 = this.animation;
    of(this).reset(Fu(e10.to)), e10.immediate || (e10.fromValues = e10.values.map((t) => t.lastPosition)), ih(this) || (bx(this, true), y0(this) || this._resume());
  }
  _resume() {
    Fd.skipAnimation ? this.finish() : bg.start(this);
  }
  /**
   * Exit the frameloop and notify `onRest` listeners.
   *
   * Always wrap `_stop` calls with `batchedUpdates`.
   */
  _stop(e10, t) {
    if (ih(this)) {
      bx(this, false);
      const n = this.animation;
      mr(n.values, (o) => {
        o.done = true;
      }), n.toValues && (n.onChange = n.onPause = n.onResume = void 0), ob(this, {
        type: "idle",
        parent: this
      });
      const r = t ? Dp(this.get()) : Md(this.get(), x0(this, e10 ?? n.to));
      B0(this._pendingCalls, r), n.changed && (n.changed = false, _0(this, "onRest", r, this));
    }
  }
};
function x0(e10, t) {
  const n = sb(t), r = sb(e10.get());
  return Mf(r, n);
}
function Wk(e10, t = e10.loop, n = e10.to) {
  const r = Nu(t);
  if (r) {
    const o = r !== true && v2(r), i = (o || e10).reverse, u = !o || o.reset;
    return ub({
      ...e10,
      loop: t,
      // Avoid updating default props when looping.
      default: false,
      // Never loop the `pause` prop.
      pause: void 0,
      // For the "reverse" prop to loop as expected, the "to" prop
      // must be undefined. The "reverse" prop is ignored when the
      // "to" prop is an array or function.
      to: !i || by(n) ? n : void 0,
      // Ignore the "from" prop except on reset.
      from: u ? e10.from : void 0,
      reset: u,
      // The "loop" prop can return a "useSpring" props object to
      // override any of the original props.
      ...o
    });
  }
}
function ub(e10) {
  const { to: t, from: n } = e10 = v2(e10), r = /* @__PURE__ */ new Set();
  return nn.obj(t) && mx(t, r), nn.obj(n) && mx(n, r), e10.keys = r.size ? Array.from(r) : null, e10;
}
function e0e(e10) {
  const t = ub(e10);
  return nn.und(t.default) && (t.default = wg(t)), t;
}
function mx(e10, t) {
  ff(e10, (n, r) => n != null && t.add(r));
}
var t0e = [
  "onStart",
  "onRest",
  "onChange",
  "onPause",
  "onResume"
];
function vx(e10, t, n) {
  e10.animation[n] = t[n] !== Ok(t, n) ? Mk(t[n], e10.key) : void 0;
}
function _0(e10, t, ...n) {
  var r, o, i, u;
  (o = (r = e10.animation)[t]) == null || o.call(r, ...n), (u = (i = e10.defaultProps)[t]) == null || u.call(i, ...n);
}
var n0e = ["onStart", "onChange", "onRest"], r0e = 1, Uk = class {
  constructor(t, n) {
    this.id = r0e++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = false, this._state = {
      paused: false,
      pauseQueue: /* @__PURE__ */ new Set(),
      resumeQueue: /* @__PURE__ */ new Set(),
      timeouts: /* @__PURE__ */ new Set()
    }, this._events = {
      onStart: /* @__PURE__ */ new Map(),
      onChange: /* @__PURE__ */ new Map(),
      onRest: /* @__PURE__ */ new Map()
    }, this._onFrame = this._onFrame.bind(this), n && (this._flush = n), t && this.start({ default: true, ...t });
  }
  /**
   * Equals `true` when no spring values are in the frameloop, and
   * no async animation is currently active.
   */
  get idle() {
    return !this._state.asyncTo && Object.values(this.springs).every((t) => t.idle && !t.isDelayed && !t.isPaused);
  }
  get item() {
    return this._item;
  }
  set item(t) {
    this._item = t;
  }
  /** Get the current values of our springs */
  get() {
    const t = {};
    return this.each((n, r) => t[r] = n.get()), t;
  }
  /** Set the current values without animating. */
  set(t) {
    for (const n in t) {
      const r = t[n];
      nn.und(r) || this.springs[n].set(r);
    }
  }
  /** Push an update onto the queue of each value. */
  update(t) {
    return t && this.queue.push(ub(t)), this;
  }
  /**
   * Start the queued animations for every spring, and resolve the returned
   * promise once all queued animations have finished or been cancelled.
   *
   * When you pass a queue (instead of nothing), that queue is used instead of
   * the queued animations added with the `update` method, which are left alone.
   */
  start(t) {
    let { queue: n } = this;
    return t ? n = iu(t).map(ub) : this.queue = [], this._flush ? this._flush(this, n) : (Yk(this, n), _y(this, n));
  }
  /** @internal */
  stop(t, n) {
    if (t !== !!t && (n = t), n) {
      const r = this.springs;
      mr(iu(n), (o) => r[o].stop(!!t));
    } else
      lb(this._state, this._lastAsyncId), this.each((r) => r.stop(!!t));
    return this;
  }
  /** Freeze the active animation in time */
  pause(t) {
    if (nn.und(t))
      this.start({ pause: true });
    else {
      const n = this.springs;
      mr(iu(t), (r) => n[r].pause());
    }
    return this;
  }
  /** Resume the animation if paused. */
  resume(t) {
    if (nn.und(t))
      this.start({ pause: false });
    else {
      const n = this.springs;
      mr(iu(t), (r) => n[r].resume());
    }
    return this;
  }
  /** Call a function once per spring value */
  each(t) {
    ff(this.springs, t);
  }
  /** @internal Called at the end of every animation frame */
  _onFrame() {
    const { onStart: t, onChange: n, onRest: r } = this._events, o = this._active.size > 0, i = this._changed.size > 0;
    (o && !this._started || i && !this._started) && (this._started = true, $0(t, ([v, y]) => {
      y.value = this.get(), v(y, this, this._item);
    }));
    const u = !o && this._started, p = i || u && r.size ? this.get() : null;
    i && n.size && $0(n, ([v, y]) => {
      y.value = p, v(y, this, this._item);
    }), u && (this._started = false, $0(r, ([v, y]) => {
      y.value = p, v(y, this, this._item);
    }));
  }
  /** @internal */
  eventObserved(t) {
    if (t.type == "change")
      this._changed.add(t.parent), t.idle || this._active.add(t.parent);
    else if (t.type == "idle")
      this._active.delete(t.parent);
    else return;
    Cr.onFrame(this._onFrame);
  }
};
function _y(e10, t) {
  return Promise.all(t.map((n) => Hk(e10, n))).then(
    (n) => y2(e10, n)
  );
}
async function Hk(e10, t, n) {
  const { keys: r, to: o, from: i, loop: u, onRest: p, onResolve: v } = t, y = nn.obj(t.default) && t.default;
  u && (t.loop = false), o === false && (t.to = null), i === false && (t.from = null);
  const k = nn.arr(o) || nn.fun(o) ? o : void 0;
  k ? (t.to = void 0, t.onRest = void 0, y && (y.onRest = void 0)) : mr(n0e, (S) => {
    const U = t[S];
    if (nn.fun(U)) {
      const B = e10._events[S];
      t[S] = ({ finished: X, cancelled: Z }) => {
        const te = B.get(U);
        te ? (X || (te.finished = false), Z && (te.cancelled = true)) : B.set(U, {
          value: null,
          finished: X || false,
          cancelled: Z || false
        });
      }, y && (y[S] = t[S]);
    }
  });
  const T = e10._state;
  t.pause === !T.paused ? (T.paused = t.pause, B0(t.pause ? T.pauseQueue : T.resumeQueue)) : T.paused && (t.pause = true);
  const R = (r || Object.keys(e10.springs)).map(
    (S) => e10.springs[S].start(t)
  ), I = t.cancel === true || Ok(t, "cancel") === true;
  (k || I && T.asyncId) && R.push(
    Nk(++e10._lastAsyncId, {
      props: t,
      state: T,
      actions: {
        pause: dy,
        resume: dy,
        start(S, U) {
          I ? (lb(T, e10._lastAsyncId), U(Dp(e10))) : (S.onRest = p, U(
            Bk(
              k,
              S,
              T,
              e10
            )
          ));
        }
      }
    })
  ), T.paused && await new Promise((S) => {
    T.resumeQueue.add(S);
  });
  const P = y2(e10, await Promise.all(R));
  if (u && P.finished && !(n && P.noop)) {
    const S = Wk(t, u, o);
    if (S)
      return Yk(e10, [S]), Hk(e10, S, true);
  }
  return v && Cr.batchedUpdates(() => v(P, e10, e10.item)), P;
}
function wy(e10, t) {
  const n = { ...e10.springs };
  return t && mr(iu(t), (r) => {
    nn.und(r.keys) && (r = ub(r)), nn.obj(r.to) || (r = { ...r, to: void 0 }), Gk(n, r, (o) => Vk(o));
  }), $k(e10, n), n;
}
function $k(e10, t) {
  ff(t, (n, r) => {
    e10.springs[r] || (e10.springs[r] = n, t0(n, e10));
  });
}
function Vk(e10, t) {
  const n = new qpe();
  return n.key = e10, t && t0(n, t), n;
}
function Gk(e10, t, n) {
  t.keys && mr(t.keys, (r) => {
    (e10[r] || (e10[r] = n(r)))._prepareNode(t);
  });
}
function Yk(e10, t) {
  mr(t, (n) => {
    Gk(e10.springs, n, (r) => Vk(r, e10));
  });
}
var Xk = reactExports.createContext({
  pause: false,
  immediate: false
}), Zk = () => {
  const e10 = [], t = function(r) {
    Dpe();
    const o = [];
    return mr(e10, (i, u) => {
      if (nn.und(r))
        o.push(i.start());
      else {
        const p = n(r, i, u);
        p && o.push(i.start(p));
      }
    }), o;
  };
  t.current = e10, t.add = function(r) {
    e10.includes(r) || e10.push(r);
  }, t.delete = function(r) {
    const o = e10.indexOf(r);
    ~o && e10.splice(o, 1);
  }, t.pause = function() {
    return mr(e10, (r) => r.pause(...arguments)), this;
  }, t.resume = function() {
    return mr(e10, (r) => r.resume(...arguments)), this;
  }, t.set = function(r) {
    mr(e10, (o, i) => {
      const u = nn.fun(r) ? r(i, o) : r;
      u && o.set(u);
    });
  }, t.start = function(r) {
    const o = [];
    return mr(e10, (i, u) => {
      if (nn.und(r))
        o.push(i.start());
      else {
        const p = this._getProps(r, i, u);
        p && o.push(i.start(p));
      }
    }), o;
  }, t.stop = function() {
    return mr(e10, (r) => r.stop(...arguments)), this;
  }, t.update = function(r) {
    return mr(e10, (o, i) => o.update(this._getProps(r, o, i))), this;
  };
  const n = function(r, o, i) {
    return nn.fun(r) ? r(i, o) : r;
  };
  return t._getProps = n, t;
};
function o0e(e10, t, n) {
  const r = nn.fun(t) && t;
  r && !n && (n = []);
  const o = reactExports.useMemo(
    () => r || arguments.length == 3 ? Zk() : void 0,
    []
  ), i = reactExports.useRef(0), u = b2(), p = reactExports.useMemo(
    () => ({
      ctrls: [],
      queue: [],
      flush(B, X) {
        const Z = wy(B, X);
        return i.current > 0 && !p.queue.length && !Object.keys(Z).some((Q) => !B.springs[Q]) ? _y(B, X) : new Promise((Q) => {
          $k(B, Z), p.queue.push(() => {
            Q(_y(B, X));
          }), u();
        });
      }
    }),
    []
  ), v = reactExports.useRef([...p.ctrls]), y = reactExports.useRef([]), k = hy(e10) || 0;
  reactExports.useMemo(() => {
    mr(v.current.slice(e10, k), (B) => {
      gy(B, o), B.stop(true);
    }), v.current.length = e10, T(k, e10);
  }, [e10]), reactExports.useMemo(() => {
    T(0, Math.min(k, e10));
  }, n);
  function T(B, X) {
    for (let Z = B; Z < X; Z++) {
      const te = v.current[Z] || (v.current[Z] = new Uk(null, p.flush)), Q = r ? r(Z, te) : t[Z];
      Q && (y.current[Z] = e0e(Q));
    }
  }
  const R = v.current.map(
    (B, X) => wy(B, y.current[X])
  ), I = reactExports.useContext(Xk), P = hy(I), S = I !== P && Dk(I);
  Xh(() => {
    i.current++, p.ctrls = v.current;
    const { queue: B } = p;
    B.length && (p.queue = [], mr(B, (X) => X())), mr(v.current, (X, Z) => {
      o == null || o.add(X), S && X.start({ default: I });
      const te = y.current[Z];
      te && (Fk(X, te.ref), X.ref ? X.queue.push(te) : X.start(te));
    });
  }), g2(() => () => {
    mr(p.ctrls, (B) => B.stop(true));
  });
  const U = R.map((B) => ({ ...B }));
  return o ? [U, o] : U;
}
function np(e10, t) {
  const n = nn.fun(e10), [[r], o] = o0e(
    1,
    n ? e10 : [e10],
    n ? [] : t
  );
  return n || arguments.length == 2 ? [r, o] : r;
}
function m1(e10, t, n) {
  const r = nn.fun(t) && t, {
    reset: o,
    sort: i,
    trail: u = 0,
    expires: p = true,
    exitBeforeEnter: v = false,
    onDestroyed: y,
    ref: k,
    config: T
  } = r ? r() : t, R = reactExports.useMemo(
    () => r || arguments.length == 3 ? Zk() : void 0,
    []
  ), I = iu(e10), P = [], S = reactExports.useRef(null), U = o ? null : S.current;
  Xh(() => {
    S.current = P;
  }), g2(() => (mr(P, (be) => {
    R == null || R.add(be.ctrl), be.ctrl.ref = R;
  }), () => {
    mr(S.current, (be) => {
      be.expired && clearTimeout(be.expirationId), gy(be.ctrl, R), be.ctrl.stop(true);
    });
  }));
  const B = a0e(I, r ? r() : t, U), X = o && S.current || [];
  Xh(
    () => mr(X, ({ ctrl: be, item: ie, key: de }) => {
      gy(be, R), Nu(y, ie, de);
    })
  );
  const Z = [];
  if (U && mr(U, (be, ie) => {
    be.expired ? (clearTimeout(be.expirationId), X.push(be)) : (ie = Z[ie] = B.indexOf(be.key), ~ie && (P[ie] = be));
  }), mr(I, (be, ie) => {
    P[ie] || (P[ie] = {
      key: B[ie],
      item: be,
      phase: "mount",
      ctrl: new Uk()
    }, P[ie].ctrl.item = be);
  }), Z.length) {
    let be = -1;
    const { leave: ie } = r ? r() : t;
    mr(Z, (de, ze) => {
      const nt = U[ze];
      ~de ? (be = P.indexOf(nt), P[be] = { ...nt, item: I[de] }) : ie && P.splice(++be, 0, nt);
    });
  }
  nn.fun(i) && P.sort((be, ie) => i(be.item, ie.item));
  let te = -u;
  const Q = b2(), q = wg(t), F = /* @__PURE__ */ new Map(), ne = reactExports.useRef(/* @__PURE__ */ new Map()), ae = reactExports.useRef(false);
  mr(P, (be, ie) => {
    const de = be.key, ze = be.phase, nt = r ? r() : t;
    let ut, Le;
    const oe = Nu(nt.delay || 0, de);
    if (ze == "mount")
      ut = nt.enter, Le = "enter";
    else {
      const Ze = B.indexOf(de) < 0;
      if (ze != "leave")
        if (Ze)
          ut = nt.leave, Le = "leave";
        else if (ut = nt.update)
          Le = "update";
        else return;
      else if (!Ze)
        ut = nt.enter, Le = "enter";
      else return;
    }
    if (ut = Nu(ut, be.item, ie), ut = nn.obj(ut) ? v2(ut) : { to: ut }, !ut.config) {
      const Ze = T || q.config;
      ut.config = Nu(Ze, be.item, ie, Le);
    }
    te += u;
    const Ue = {
      ...q,
      // we need to add our props.delay value you here.
      delay: oe + te,
      ref: k,
      immediate: nt.immediate,
      // This prevents implied resets.
      reset: false,
      // Merge any phase-specific props.
      ...ut
    };
    if (Le == "enter" && nn.und(Ue.from)) {
      const Ze = r ? r() : t, _e = nn.und(Ze.initial) || U ? Ze.from : Ze.initial;
      Ue.from = Nu(_e, be.item, ie);
    }
    const { onResolve: We } = Ue;
    Ue.onResolve = (Ze) => {
      Nu(We, Ze);
      const _e = S.current, st = _e.find((Ke) => Ke.key === de);
      if (st && !(Ze.cancelled && st.phase != "update") && st.ctrl.idle) {
        const Ke = _e.every((ht) => ht.ctrl.idle);
        if (st.phase == "leave") {
          const ht = Nu(p, st.item);
          if (ht !== false) {
            const gt = ht === true ? 0 : ht;
            if (st.expired = true, !Ke && gt > 0) {
              gt <= 2147483647 && (st.expirationId = setTimeout(Q, gt));
              return;
            }
          }
        }
        Ke && _e.some((ht) => ht.expired) && (ne.current.delete(st), v && (ae.current = true), Q());
      }
    };
    const Ge = wy(be.ctrl, Ue);
    Le === "leave" && v ? ne.current.set(be, { phase: Le, springs: Ge, payload: Ue }) : F.set(be, { phase: Le, springs: Ge, payload: Ue });
  });
  const pe = reactExports.useContext(Xk), Ve = hy(pe), we = pe !== Ve && Dk(pe);
  Xh(() => {
    we && mr(P, (be) => {
      be.ctrl.start({ default: pe });
    });
  }, [pe]), mr(F, (be, ie) => {
    if (ne.current.size) {
      const de = P.findIndex((ze) => ze.key === ie.key);
      P.splice(de, 1);
    }
  }), Xh(
    () => {
      mr(
        ne.current.size ? ne.current : F,
        ({ phase: be, payload: ie }, de) => {
          const { ctrl: ze } = de;
          de.phase = be, R == null || R.add(ze), we && be == "enter" && ze.start({ default: pe }), ie && (Fk(ze, ie.ref), (ze.ref || R) && !ae.current ? ze.update(ie) : (ze.start(ie), ae.current && (ae.current = false)));
        }
      );
    },
    o ? void 0 : n
  );
  const Te = (be) => /* @__PURE__ */ reactExports.createElement(reactExports.Fragment, null, P.map((ie, de) => {
    const { springs: ze } = F.get(ie) || ie.ctrl, nt = be({ ...ze }, ie.item, ie, de), ut = nn.str(ie.key) || nn.num(ie.key) ? ie.key : ie.ctrl.id, Le = reactExports.version < "19.0.0", oe = (nt == null ? void 0 : nt.props) ?? {}, Ue = Le ? nt == null ? void 0 : nt.ref : oe == null ? void 0 : oe.ref;
    return nt && nt.type ? /* @__PURE__ */ reactExports.createElement(nt.type, { ...oe, key: ut, ref: Ue }) : nt;
  }));
  return R ? [Te, R] : Te;
}
var i0e = 1;
function a0e(e10, { key: t, keys: n = t }, r) {
  if (n === null) {
    const o = /* @__PURE__ */ new Set();
    return e10.map((i) => {
      const u = r && r.find(
        (p) => p.item === i && p.phase !== "leave" && !o.has(p)
      );
      return u ? (o.add(u), u.key) : i0e++;
    });
  }
  return nn.und(n) ? e10 : nn.fun(n) ? e10.map(n) : iu(n);
}
var s0e = class extends x2 {
  constructor(e10, t) {
    super(), this.source = e10, this.idle = true, this._active = /* @__PURE__ */ new Set(), this.calc = nb(...t);
    const n = this._get(), r = py(n);
    m2(this, r.create(n));
  }
  advance(e10) {
    const t = this._get(), n = this.get();
    Mf(t, n) || (of(this).setValue(t), this._onChange(t, this.idle)), !this.idle && yx(this._active) && Rm(this);
  }
  _get() {
    const e10 = nn.arr(this.source) ? this.source.map(Fu) : iu(Fu(this.source));
    return this.calc(...e10);
  }
  _start() {
    this.idle && !yx(this._active) && (this.idle = false, mr(yg(this), (e10) => {
      e10.done = false;
    }), Fd.skipAnimation ? (Cr.batchedUpdates(() => this.advance()), Rm(this)) : bg.start(this));
  }
  // Observe our sources only when we're observed.
  _attach() {
    let e10 = 1;
    mr(iu(this.source), (t) => {
      Gc(t) && t0(t, this), vy(t) && (t.idle || this._active.add(t), e10 = Math.max(e10, t.priority + 1));
    }), this.priority = e10, this._start();
  }
  // Stop observing our sources once we have no observers.
  _detach() {
    mr(iu(this.source), (e10) => {
      Gc(e10) && ib(e10, this);
    }), this._active.clear(), Rm(this);
  }
  /** @internal */
  eventObserved(e10) {
    e10.type == "change" ? e10.idle ? this.advance() : (this._active.add(e10.parent), this._start()) : e10.type == "idle" ? this._active.delete(e10.parent) : e10.type == "priority" && (this.priority = iu(this.source).reduce(
      (t, n) => Math.max(t, (vy(n) ? n.priority : 0) + 1),
      0
    ));
  }
};
function l0e(e10) {
  return e10.idle !== false;
}
function yx(e10) {
  return !e10.size || Array.from(e10).every(l0e);
}
function Rm(e10) {
  e10.idle || (e10.idle = true, mr(yg(e10), (t) => {
    t.done = true;
  }), ob(e10, {
    type: "idle",
    parent: e10
  }));
}
Fd.assign({
  createStringInterpolator: Ck,
  to: (e10, t) => new s0e(e10, t)
});
var Kk = /^--/;
function u0e(e10, t) {
  return t == null || typeof t == "boolean" || t === "" ? "" : typeof t == "number" && t !== 0 && !Kk.test(e10) && !(Y0.hasOwnProperty(e10) && Y0[e10]) ? t + "px" : ("" + t).trim();
}
var xx = {};
function c0e(e10, t) {
  if (!e10.nodeType || !e10.setAttribute)
    return false;
  const n = e10.nodeName === "filter" || e10.parentNode && e10.parentNode.nodeName === "filter", {
    className: r,
    style: o,
    children: i,
    scrollTop: u,
    scrollLeft: p,
    viewBox: v,
    ...y
  } = t, k = Object.values(y), T = Object.keys(y).map(
    (R) => n || e10.hasAttribute(R) ? R : xx[R] || (xx[R] = R.replace(
      /([A-Z])/g,
      // Attributes are written in dash case
      (I) => "-" + I.toLowerCase()
    ))
  );
  i !== void 0 && (e10.textContent = i);
  for (const R in o)
    if (o.hasOwnProperty(R)) {
      const I = u0e(R, o[R]);
      Kk.test(R) ? e10.style.setProperty(R, I) : e10.style[R] = I;
    }
  T.forEach((R, I) => {
    e10.setAttribute(R, k[I]);
  }), r !== void 0 && (e10.className = r), u !== void 0 && (e10.scrollTop = u), p !== void 0 && (e10.scrollLeft = p), v !== void 0 && e10.setAttribute("viewBox", v);
}
var Y0 = {
  animationIterationCount: true,
  borderImageOutset: true,
  borderImageSlice: true,
  borderImageWidth: true,
  boxFlex: true,
  boxFlexGroup: true,
  boxOrdinalGroup: true,
  columnCount: true,
  columns: true,
  flex: true,
  flexGrow: true,
  flexPositive: true,
  flexShrink: true,
  flexNegative: true,
  flexOrder: true,
  gridRow: true,
  gridRowEnd: true,
  gridRowSpan: true,
  gridRowStart: true,
  gridColumn: true,
  gridColumnEnd: true,
  gridColumnSpan: true,
  gridColumnStart: true,
  fontWeight: true,
  lineClamp: true,
  lineHeight: true,
  opacity: true,
  order: true,
  orphans: true,
  tabSize: true,
  widows: true,
  zIndex: true,
  zoom: true,
  // SVG-related properties
  fillOpacity: true,
  floodOpacity: true,
  stopOpacity: true,
  strokeDasharray: true,
  strokeDashoffset: true,
  strokeMiterlimit: true,
  strokeOpacity: true,
  strokeWidth: true
}, d0e = (e10, t) => e10 + t.charAt(0).toUpperCase() + t.substring(1), f0e = ["Webkit", "Ms", "Moz", "O"];
Y0 = Object.keys(Y0).reduce((e10, t) => (f0e.forEach((n) => e10[d0e(n, t)] = e10[t]), e10), Y0);
var h0e = /^(matrix|translate|scale|rotate|skew)/, p0e = /^(translate)/, b0e = /^(rotate|skew)/, Im = (e10, t) => nn.num(e10) && e10 !== 0 ? e10 + t : e10, v1 = (e10, t) => nn.arr(e10) ? e10.every((n) => v1(n, t)) : nn.num(e10) ? e10 === t : parseFloat(e10) === t, g0e = class extends _g {
  constructor({ x: e10, y: t, z: n, ...r }) {
    const o = [], i = [];
    (e10 || t || n) && (o.push([e10 || 0, t || 0, n || 0]), i.push((u) => [
      `translate3d(${u.map((p) => Im(p, "px")).join(",")})`,
      // prettier-ignore
      v1(u, 0)
    ])), ff(r, (u, p) => {
      if (p === "transform")
        o.push([u || ""]), i.push((v) => [v, v === ""]);
      else if (h0e.test(p)) {
        if (delete r[p], nn.und(u)) return;
        const v = p0e.test(p) ? "px" : b0e.test(p) ? "deg" : "";
        o.push(iu(u)), i.push(
          p === "rotate3d" ? ([y, k, T, R]) => [
            `rotate3d(${y},${k},${T},${Im(R, v)})`,
            v1(R, 0)
          ] : (y) => [
            `${p}(${y.map((k) => Im(k, v)).join(",")})`,
            v1(y, p.startsWith("scale") ? 1 : 0)
          ]
        );
      }
    }), o.length && (r.transform = new m0e(o, i)), super(r);
  }
}, m0e = class extends Tk {
  constructor(e10, t) {
    super(), this.inputs = e10, this.transforms = t, this._value = null;
  }
  get() {
    return this._value || (this._value = this._get());
  }
  _get() {
    let e10 = "", t = true;
    return mr(this.inputs, (n, r) => {
      const o = Fu(n[0]), [i, u] = this.transforms[r](
        nn.arr(o) ? o : n.map(Fu)
      );
      e10 += " " + i, t = t && u;
    }), t ? "none" : e10;
  }
  // Start observing our inputs once we have an observer.
  observerAdded(e10) {
    e10 == 1 && mr(
      this.inputs,
      (t) => mr(
        t,
        (n) => Gc(n) && t0(n, this)
      )
    );
  }
  // Stop observing our inputs once we have no observers.
  observerRemoved(e10) {
    e10 == 0 && mr(
      this.inputs,
      (t) => mr(
        t,
        (n) => Gc(n) && ib(n, this)
      )
    );
  }
  eventObserved(e10) {
    e10.type == "change" && (this._value = null), ob(this, e10);
  }
}, v0e = [
  "a",
  "abbr",
  "address",
  "area",
  "article",
  "aside",
  "audio",
  "b",
  "base",
  "bdi",
  "bdo",
  "big",
  "blockquote",
  "body",
  "br",
  "button",
  "canvas",
  "caption",
  "cite",
  "code",
  "col",
  "colgroup",
  "data",
  "datalist",
  "dd",
  "del",
  "details",
  "dfn",
  "dialog",
  "div",
  "dl",
  "dt",
  "em",
  "embed",
  "fieldset",
  "figcaption",
  "figure",
  "footer",
  "form",
  "h1",
  "h2",
  "h3",
  "h4",
  "h5",
  "h6",
  "head",
  "header",
  "hgroup",
  "hr",
  "html",
  "i",
  "iframe",
  "img",
  "input",
  "ins",
  "kbd",
  "keygen",
  "label",
  "legend",
  "li",
  "link",
  "main",
  "map",
  "mark",
  "menu",
  "menuitem",
  "meta",
  "meter",
  "nav",
  "noscript",
  "object",
  "ol",
  "optgroup",
  "option",
  "output",
  "p",
  "param",
  "picture",
  "pre",
  "progress",
  "q",
  "rp",
  "rt",
  "ruby",
  "s",
  "samp",
  "script",
  "section",
  "select",
  "small",
  "source",
  "span",
  "strong",
  "style",
  "sub",
  "summary",
  "sup",
  "table",
  "tbody",
  "td",
  "textarea",
  "tfoot",
  "th",
  "thead",
  "time",
  "title",
  "tr",
  "track",
  "u",
  "ul",
  "var",
  "video",
  "wbr",
  // SVG
  "circle",
  "clipPath",
  "defs",
  "ellipse",
  "foreignObject",
  "g",
  "image",
  "line",
  "linearGradient",
  "mask",
  "path",
  "pattern",
  "polygon",
  "polyline",
  "radialGradient",
  "rect",
  "stop",
  "svg",
  "text",
  "tspan"
];
Fd.assign({
  batchedUpdates: reactDomExports.unstable_batchedUpdates,
  createStringInterpolator: Ck,
  colors: fpe
});
var y0e = $pe(v0e, {
  applyAnimatedValues: c0e,
  createAnimatedStyle: (e10) => new g0e(e10),
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
  getComponentProps: ({ scrollTop: e10, scrollLeft: t, ...n }) => n
}), yh = y0e.animated;
const x0e = ({
  word: e10,
  delay: t,
  duration: n
}) => {
  const r = np({
    from: {
      opacity: 0,
      transform: "translateY(20px)"
    },
    to: {
      opacity: 1,
      transform: "translateY(0)"
    },
    config: {
      duration: n
    },
    delay: t
  });
  return jsxRuntimeExports.jsx(yh.span, {
    style: {
      marginRight: 4,
      ...r
    },
    children: L0(e10).children
  });
}, _0e = (e10, t) => {
  if (typeof e10 != "string" || !t)
    return e10;
  const n = e10.split(" "), r = t.duration ?? 300, o = t.delay ?? 75, i = t.initialDelay ?? 0;
  return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
    children: n.map((u, p) => {
      const v = i + n.slice(0, p).reduce((k, T) => k + r, o * p), y = p < n.length - 1;
      return jsxRuntimeExports.jsx(x0e, {
        word: u + (y ? " " : ""),
        delay: v,
        duration: r
      }, p);
    })
  });
}, w0e = (e10, t) => {
  if (e10 && typeof e10 == "object" && Object.keys(e10).length > 0) {
    const n = Object.keys(e10);
    t = `<span>${t}</span>`, n.forEach((r) => {
      t = t.replace(`<${r}>`, `</span><a>${r}</a><span>`);
    });
  }
  return t;
}, T0e = (e10, t) => {
  const n = {
    ...e10
  };
  return n && t && typeof t == "string" && Object.keys(n).forEach((r) => {
    if (typeof t == "string") {
      const o = t == null ? void 0 : t.match(new RegExp(`<${r}>(.*?)</${r}>`));
      if (o !== null) {
        const i = o[1];
        n[r].text = i, t = t.replace(new RegExp(`<${r}>.*?</${r}>`), `<${r}>`);
      }
    }
  }), w0e(n, t);
};
var B1 = "__wrap_b", _x = "__wrap_o", Jk = typeof window > "u", wx = Jk ? React.useEffect : React.useLayoutEffect, Qk = (e10, t, n) => {
  n = n || document.querySelector(`[data-br="${e10}"]`);
  let r = n.parentElement, o = (k) => n.style.maxWidth = k + "px";
  n.style.maxWidth = "";
  let i = r.clientWidth, u = r.clientHeight, p = i / 2 - 0.25, v = i + 0.5, y;
  if (i) {
    for (; p + 1 < v; ) y = Math.round((p + v) / 2), o(y), r.clientHeight === u ? v = y : p = y;
    o(v * t + i * (1 - t));
  }
  n.__wrap_o || (typeof ResizeObserver < "u" ? (n.__wrap_o = new ResizeObserver(() => {
    self.__wrap_b(0, +n.dataset.brr, n);
  })).observe(r) : "production");
}, k0e = Qk.toString(), E0e = (e10, t = "") => React.createElement("script", { suppressHydrationWarning: true, dangerouslySetInnerHTML: { __html: (e10 ? "" : `self.${B1}=${k0e};`) + t } }), C0e = React.createContext(false), S0e = ({ as: e10 = "span", ratio: t = 1, children: n, ...r }) => {
  let o = React.useId(), i = React.useRef(), u = React.useContext(C0e);
  return wx(() => {
    i.current && (self[B1] = Qk)(0, t, i.current);
  }, [n, t]), wx(() => () => {
    if (!i.current) return;
    let p = i.current[_x];
    !p || (p.disconnect(), delete i.current[_x]);
  }, []), React.createElement(React.Fragment, null, React.createElement(e10, { ...r, "data-br": o, "data-brr": t, ref: i, style: { display: "inline-block", verticalAlign: "top", textDecoration: "inherit" }, suppressHydrationWarning: true }, n), E0e(u, `self.${B1}("${o}",${t})`));
};
var A0e = S0e;
const Mm = (e10) => {
  const {
    balanced: t,
    children: n
  } = e10;
  return t ? jsxRuntimeExports.jsx(A0e, {
    children: n
  }) : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
    children: n
  });
};
var Fh = {}, w0 = {};
var Tx;
function P0e() {
  if (Tx) return w0;
  Tx = 1;
  var e10 = React, t = ch;
  function n(b) {
    var m = "https://react.dev/errors/" + b;
    if (1 < arguments.length) {
      m += "?args[]=" + encodeURIComponent(arguments[1]);
      for (var A = 2; A < arguments.length; A++)
        m += "&args[]=" + encodeURIComponent(arguments[A]);
    }
    return "Minified React error #" + b + "; visit " + m + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  var r = Symbol.for("react.transitional.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), v = Symbol.for("react.consumer"), y = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), S = Symbol.for("react.scope"), U = Symbol.for("react.activity"), B = Symbol.for("react.legacy_hidden"), X = Symbol.for("react.memo_cache_sentinel"), Z = Symbol.for("react.view_transition"), te = Symbol.iterator;
  function Q(b) {
    return b === null || typeof b != "object" ? null : (b = te && b[te] || b["@@iterator"], typeof b == "function" ? b : null);
  }
  var q = Array.isArray;
  function F(b, m) {
    var A = b.length & 3, N = b.length - A, Y = m;
    for (m = 0; m < N; ) {
      var xe = b.charCodeAt(m) & 255 | (b.charCodeAt(++m) & 255) << 8 | (b.charCodeAt(++m) & 255) << 16 | (b.charCodeAt(++m) & 255) << 24;
      ++m, xe = 3432918353 * (xe & 65535) + ((3432918353 * (xe >>> 16) & 65535) << 16) & 4294967295, xe = xe << 15 | xe >>> 17, xe = 461845907 * (xe & 65535) + ((461845907 * (xe >>> 16) & 65535) << 16) & 4294967295, Y ^= xe, Y = Y << 13 | Y >>> 19, Y = 5 * (Y & 65535) + ((5 * (Y >>> 16) & 65535) << 16) & 4294967295, Y = (Y & 65535) + 27492 + (((Y >>> 16) + 58964 & 65535) << 16);
    }
    switch (xe = 0, A) {
      case 3:
        xe ^= (b.charCodeAt(m + 2) & 255) << 16;
      case 2:
        xe ^= (b.charCodeAt(m + 1) & 255) << 8;
      case 1:
        xe ^= b.charCodeAt(m) & 255, xe = 3432918353 * (xe & 65535) + ((3432918353 * (xe >>> 16) & 65535) << 16) & 4294967295, xe = xe << 15 | xe >>> 17, Y ^= 461845907 * (xe & 65535) + ((461845907 * (xe >>> 16) & 65535) << 16) & 4294967295;
    }
    return Y ^= b.length, Y ^= Y >>> 16, Y = 2246822507 * (Y & 65535) + ((2246822507 * (Y >>> 16) & 65535) << 16) & 4294967295, Y ^= Y >>> 13, Y = 3266489909 * (Y & 65535) + ((3266489909 * (Y >>> 16) & 65535) << 16) & 4294967295, (Y ^ Y >>> 16) >>> 0;
  }
  var ne = Object.assign, ae = Object.prototype.hasOwnProperty, pe = RegExp(
    "^[: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]*$"
  ), Ve = {}, we = {};
  function Te(b) {
    return ae.call(we, b) ? true : ae.call(Ve, b) ? false : pe.test(b) ? we[b] = true : (Ve[b] = true, false);
  }
  var be = new Set(
    "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
      " "
    )
  ), ie = /* @__PURE__ */ new Map([
    ["acceptCharset", "accept-charset"],
    ["htmlFor", "for"],
    ["httpEquiv", "http-equiv"],
    ["crossOrigin", "crossorigin"],
    ["accentHeight", "accent-height"],
    ["alignmentBaseline", "alignment-baseline"],
    ["arabicForm", "arabic-form"],
    ["baselineShift", "baseline-shift"],
    ["capHeight", "cap-height"],
    ["clipPath", "clip-path"],
    ["clipRule", "clip-rule"],
    ["colorInterpolation", "color-interpolation"],
    ["colorInterpolationFilters", "color-interpolation-filters"],
    ["colorProfile", "color-profile"],
    ["colorRendering", "color-rendering"],
    ["dominantBaseline", "dominant-baseline"],
    ["enableBackground", "enable-background"],
    ["fillOpacity", "fill-opacity"],
    ["fillRule", "fill-rule"],
    ["floodColor", "flood-color"],
    ["floodOpacity", "flood-opacity"],
    ["fontFamily", "font-family"],
    ["fontSize", "font-size"],
    ["fontSizeAdjust", "font-size-adjust"],
    ["fontStretch", "font-stretch"],
    ["fontStyle", "font-style"],
    ["fontVariant", "font-variant"],
    ["fontWeight", "font-weight"],
    ["glyphName", "glyph-name"],
    ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
    ["glyphOrientationVertical", "glyph-orientation-vertical"],
    ["horizAdvX", "horiz-adv-x"],
    ["horizOriginX", "horiz-origin-x"],
    ["imageRendering", "image-rendering"],
    ["letterSpacing", "letter-spacing"],
    ["lightingColor", "lighting-color"],
    ["markerEnd", "marker-end"],
    ["markerMid", "marker-mid"],
    ["markerStart", "marker-start"],
    ["overlinePosition", "overline-position"],
    ["overlineThickness", "overline-thickness"],
    ["paintOrder", "paint-order"],
    ["panose-1", "panose-1"],
    ["pointerEvents", "pointer-events"],
    ["renderingIntent", "rendering-intent"],
    ["shapeRendering", "shape-rendering"],
    ["stopColor", "stop-color"],
    ["stopOpacity", "stop-opacity"],
    ["strikethroughPosition", "strikethrough-position"],
    ["strikethroughThickness", "strikethrough-thickness"],
    ["strokeDasharray", "stroke-dasharray"],
    ["strokeDashoffset", "stroke-dashoffset"],
    ["strokeLinecap", "stroke-linecap"],
    ["strokeLinejoin", "stroke-linejoin"],
    ["strokeMiterlimit", "stroke-miterlimit"],
    ["strokeOpacity", "stroke-opacity"],
    ["strokeWidth", "stroke-width"],
    ["textAnchor", "text-anchor"],
    ["textDecoration", "text-decoration"],
    ["textRendering", "text-rendering"],
    ["transformOrigin", "transform-origin"],
    ["underlinePosition", "underline-position"],
    ["underlineThickness", "underline-thickness"],
    ["unicodeBidi", "unicode-bidi"],
    ["unicodeRange", "unicode-range"],
    ["unitsPerEm", "units-per-em"],
    ["vAlphabetic", "v-alphabetic"],
    ["vHanging", "v-hanging"],
    ["vIdeographic", "v-ideographic"],
    ["vMathematical", "v-mathematical"],
    ["vectorEffect", "vector-effect"],
    ["vertAdvY", "vert-adv-y"],
    ["vertOriginX", "vert-origin-x"],
    ["vertOriginY", "vert-origin-y"],
    ["wordSpacing", "word-spacing"],
    ["writingMode", "writing-mode"],
    ["xmlnsXlink", "xmlns:xlink"],
    ["xHeight", "x-height"]
  ]), de = /["'&<>]/;
  function ze(b) {
    if (typeof b == "boolean" || typeof b == "number" || typeof b == "bigint")
      return "" + b;
    b = "" + b;
    var m = de.exec(b);
    if (m) {
      var A = "", N, Y = 0;
      for (N = m.index; N < b.length; N++) {
        switch (b.charCodeAt(N)) {
          case 34:
            m = "&quot;";
            break;
          case 38:
            m = "&amp;";
            break;
          case 39:
            m = "&#x27;";
            break;
          case 60:
            m = "&lt;";
            break;
          case 62:
            m = "&gt;";
            break;
          default:
            continue;
        }
        Y !== N && (A += b.slice(Y, N)), Y = N + 1, A += m;
      }
      b = Y !== N ? A + b.slice(Y, N) : A;
    }
    return b;
  }
  var nt = /([A-Z])/g, ut = /^ms-/, Le = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
  function oe(b) {
    return Le.test("" + b) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : b;
  }
  var Ue = e10.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, We = t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Ge = {
    pending: false,
    data: null,
    method: null,
    action: null
  }, Ze = We.d;
  We.d = {
    f: Ze.f,
    r: Ze.r,
    D: pn,
    C: ar,
    L: vi,
    m: Sn,
    X: lu,
    S: ui,
    M: ci
  };
  var _e = [], st = null, Ke = /(<\/|<)(s)(cript)/gi;
  function ht(b, m, A, N) {
    return "" + m + (A === "s" ? "\\u0073" : "\\u0053") + N;
  }
  function gt(b, m, A, N, Y) {
    return {
      idPrefix: b === void 0 ? "" : b,
      nextFormID: 0,
      streamingFormat: 0,
      bootstrapScriptContent: A,
      bootstrapScripts: N,
      bootstrapModules: Y,
      instructions: 0,
      hasBody: false,
      hasHtml: false,
      unknownResources: {},
      dnsResources: {},
      connectResources: { default: {}, anonymous: {}, credentials: {} },
      imageResources: {},
      styleResources: {},
      scriptResources: {},
      moduleUnknownResources: {},
      moduleScriptResources: {}
    };
  }
  function xt(b, m, A, N) {
    return {
      insertionMode: b,
      selectedValue: m,
      tagScope: A,
      viewTransition: N
    };
  }
  function ct(b, m, A) {
    var N = b.tagScope & -25;
    switch (m) {
      case "noscript":
        return xt(2, null, N | 1, null);
      case "select":
        return xt(
          2,
          A.value != null ? A.value : A.defaultValue,
          N,
          null
        );
      case "svg":
        return xt(4, null, N, null);
      case "picture":
        return xt(2, null, N | 2, null);
      case "math":
        return xt(5, null, N, null);
      case "foreignObject":
        return xt(2, null, N, null);
      case "table":
        return xt(6, null, N, null);
      case "thead":
      case "tbody":
      case "tfoot":
        return xt(7, null, N, null);
      case "colgroup":
        return xt(9, null, N, null);
      case "tr":
        return xt(8, null, N, null);
      case "head":
        if (2 > b.insertionMode)
          return xt(3, null, N, null);
        break;
      case "html":
        if (b.insertionMode === 0)
          return xt(1, null, N, null);
    }
    return 6 <= b.insertionMode || 2 > b.insertionMode ? xt(2, null, N, null) : b.tagScope !== N ? xt(
      b.insertionMode,
      b.selectedValue,
      N,
      null
    ) : b;
  }
  function yt(b) {
    return b === null ? null : {
      update: b.update,
      enter: "none",
      exit: "none",
      share: b.update,
      name: b.autoName,
      autoName: b.autoName,
      nameIdx: 0
    };
  }
  function Ot(b, m) {
    return m.tagScope & 32 && (b.instructions |= 128), xt(
      m.insertionMode,
      m.selectedValue,
      m.tagScope | 12,
      yt(m.viewTransition)
    );
  }
  function qe(b, m) {
    b = yt(m.viewTransition);
    var A = m.tagScope | 16;
    return b !== null && b.share !== "none" && (A |= 64), xt(
      m.insertionMode,
      m.selectedValue,
      A,
      b
    );
  }
  var wt = /* @__PURE__ */ new Map();
  function en(b, m) {
    if (typeof m != "object") throw Error(n(62));
    var A = true, N;
    for (N in m)
      if (ae.call(m, N)) {
        var Y = m[N];
        if (Y != null && typeof Y != "boolean" && Y !== "") {
          if (N.indexOf("--") === 0) {
            var xe = ze(N);
            Y = ze(("" + Y).trim());
          } else
            xe = wt.get(N), xe === void 0 && (xe = ze(
              N.replace(nt, "-$1").toLowerCase().replace(ut, "-ms-")
            ), wt.set(N, xe)), Y = typeof Y == "number" ? Y === 0 || be.has(N) ? "" + Y : Y + "px" : ze(("" + Y).trim());
          A ? (A = false, b.push(' style="', xe, ":", Y)) : b.push(";", xe, ":", Y);
        }
      }
    A || b.push('"');
  }
  function Vt(b, m, A) {
    A && typeof A != "function" && typeof A != "symbol" && b.push(" ", m, '=""');
  }
  function wn(b, m, A) {
    typeof A != "function" && typeof A != "symbol" && typeof A != "boolean" && b.push(" ", m, '="', ze(A), '"');
  }
  var dn = ze(
    "javascript:throw new Error('React form unexpectedly submitted.')"
  );
  function zt(b, m) {
    this.push('<input type="hidden"'), jt(b), wn(this, "name", m), wn(this, "value", b), this.push("/>");
  }
  function jt(b) {
    if (typeof b != "string") throw Error(n(480));
  }
  function _t(b, m) {
    if (typeof m.$$FORM_ACTION == "function") {
      var A = b.nextFormID++;
      b = b.idPrefix + A;
      try {
        var N = m.$$FORM_ACTION(b);
        if (N) {
          var Y = N.data;
          Y != null && Y.forEach(jt);
        }
        return N;
      } catch (xe) {
        if (typeof xe == "object" && xe !== null && typeof xe.then == "function")
          throw xe;
      }
    }
    return null;
  }
  function Pt(b, m, A, N, Y, xe, Be, vt) {
    var Qe = null;
    if (typeof N == "function") {
      var bt = _t(m, N);
      bt !== null ? (vt = bt.name, N = bt.action || "", Y = bt.encType, xe = bt.method, Be = bt.target, Qe = bt.data) : (b.push(" ", "formAction", '="', dn, '"'), Be = xe = Y = N = vt = null, hn(m, A));
    }
    return vt != null && Ht(b, "name", vt), N != null && Ht(b, "formAction", N), Y != null && Ht(b, "formEncType", Y), xe != null && Ht(b, "formMethod", xe), Be != null && Ht(b, "formTarget", Be), Qe;
  }
  function Ht(b, m, A) {
    switch (m) {
      case "className":
        wn(b, "class", A);
        break;
      case "tabIndex":
        wn(b, "tabindex", A);
        break;
      case "dir":
      case "role":
      case "viewBox":
      case "width":
      case "height":
        wn(b, m, A);
        break;
      case "style":
        en(b, A);
        break;
      case "src":
      case "href":
        if (A === "") break;
      case "action":
      case "formAction":
        if (A == null || typeof A == "function" || typeof A == "symbol" || typeof A == "boolean")
          break;
        A = oe("" + A), b.push(" ", m, '="', ze(A), '"');
        break;
      case "defaultValue":
      case "defaultChecked":
      case "innerHTML":
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "ref":
        break;
      case "autoFocus":
      case "multiple":
      case "muted":
        Vt(b, m.toLowerCase(), A);
        break;
      case "xlinkHref":
        if (typeof A == "function" || typeof A == "symbol" || typeof A == "boolean")
          break;
        A = oe("" + A), b.push(" ", "xlink:href", '="', ze(A), '"');
        break;
      case "contentEditable":
      case "spellCheck":
      case "draggable":
      case "value":
      case "autoReverse":
      case "externalResourcesRequired":
      case "focusable":
      case "preserveAlpha":
        typeof A != "function" && typeof A != "symbol" && b.push(" ", m, '="', ze(A), '"');
        break;
      case "inert":
      case "allowFullScreen":
      case "async":
      case "autoPlay":
      case "controls":
      case "default":
      case "defer":
      case "disabled":
      case "disablePictureInPicture":
      case "disableRemotePlayback":
      case "formNoValidate":
      case "hidden":
      case "loop":
      case "noModule":
      case "noValidate":
      case "open":
      case "playsInline":
      case "readOnly":
      case "required":
      case "reversed":
      case "scoped":
      case "seamless":
      case "itemScope":
        A && typeof A != "function" && typeof A != "symbol" && b.push(" ", m, '=""');
        break;
      case "capture":
      case "download":
        A === true ? b.push(" ", m, '=""') : A !== false && typeof A != "function" && typeof A != "symbol" && b.push(" ", m, '="', ze(A), '"');
        break;
      case "cols":
      case "rows":
      case "size":
      case "span":
        typeof A != "function" && typeof A != "symbol" && !isNaN(A) && 1 <= A && b.push(" ", m, '="', ze(A), '"');
        break;
      case "rowSpan":
      case "start":
        typeof A == "function" || typeof A == "symbol" || isNaN(A) || b.push(" ", m, '="', ze(A), '"');
        break;
      case "xlinkActuate":
        wn(b, "xlink:actuate", A);
        break;
      case "xlinkArcrole":
        wn(b, "xlink:arcrole", A);
        break;
      case "xlinkRole":
        wn(b, "xlink:role", A);
        break;
      case "xlinkShow":
        wn(b, "xlink:show", A);
        break;
      case "xlinkTitle":
        wn(b, "xlink:title", A);
        break;
      case "xlinkType":
        wn(b, "xlink:type", A);
        break;
      case "xmlBase":
        wn(b, "xml:base", A);
        break;
      case "xmlLang":
        wn(b, "xml:lang", A);
        break;
      case "xmlSpace":
        wn(b, "xml:space", A);
        break;
      default:
        if ((!(2 < m.length) || m[0] !== "o" && m[0] !== "O" || m[1] !== "n" && m[1] !== "N") && (m = ie.get(m) || m, Te(m))) {
          switch (typeof A) {
            case "function":
            case "symbol":
              return;
            case "boolean":
              var N = m.toLowerCase().slice(0, 5);
              if (N !== "data-" && N !== "aria-") return;
          }
          b.push(" ", m, '="', ze(A), '"');
        }
    }
  }
  function kn(b, m, A) {
    if (m != null) {
      if (A != null) throw Error(n(60));
      if (typeof m != "object" || !("__html" in m))
        throw Error(n(61));
      m = m.__html, m != null && b.push("" + m);
    }
  }
  function Tn(b) {
    var m = "";
    return e10.Children.forEach(b, function(A) {
      A != null && (m += A);
    }), m;
  }
  function hn(b, m) {
    if ((b.instructions & 16) === 0) {
      b.instructions |= 16;
      var A = m.preamble, N = m.bootstrapChunks;
      (A.htmlChunks || A.headChunks) && N.length === 0 ? (N.push(m.startInlineScript), Zt(N, b), N.push(
        ">",
        `addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,
        "<\/script>"
      )) : N.unshift(
        m.startInlineScript,
        ">",
        `addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,
        "<\/script>"
      );
    }
  }
  function Nt(b, m) {
    b.push(_n("link"));
    for (var A in m)
      if (ae.call(m, A)) {
        var N = m[A];
        if (N != null)
          switch (A) {
            case "children":
            case "dangerouslySetInnerHTML":
              throw Error(n(399, "link"));
            default:
              Ht(b, A, N);
          }
      }
    return b.push("/>"), null;
  }
  var Qn = /(<\/|<)(s)(tyle)/gi;
  function hr(b, m, A, N) {
    return "" + m + (A === "s" ? "\\73 " : "\\53 ") + N;
  }
  function Wt(b, m, A) {
    b.push(_n(A));
    for (var N in m)
      if (ae.call(m, N)) {
        var Y = m[N];
        if (Y != null)
          switch (N) {
            case "children":
            case "dangerouslySetInnerHTML":
              throw Error(n(399, A));
            default:
              Ht(b, N, Y);
          }
      }
    return b.push("/>"), null;
  }
  function ir(b, m) {
    b.push(_n("title"));
    var A = null, N = null, Y;
    for (Y in m)
      if (ae.call(m, Y)) {
        var xe = m[Y];
        if (xe != null)
          switch (Y) {
            case "children":
              A = xe;
              break;
            case "dangerouslySetInnerHTML":
              N = xe;
              break;
            default:
              Ht(b, Y, xe);
          }
      }
    return b.push(">"), m = Array.isArray(A) ? 2 > A.length ? A[0] : null : A, typeof m != "function" && typeof m != "symbol" && m !== null && m !== void 0 && b.push(ze("" + m)), kn(b, N, A), b.push(Mn("title")), null;
  }
  function sn(b, m) {
    b.push(_n("script"));
    var A = null, N = null, Y;
    for (Y in m)
      if (ae.call(m, Y)) {
        var xe = m[Y];
        if (xe != null)
          switch (Y) {
            case "children":
              A = xe;
              break;
            case "dangerouslySetInnerHTML":
              N = xe;
              break;
            default:
              Ht(b, Y, xe);
          }
      }
    return b.push(">"), kn(b, N, A), typeof A == "string" && b.push(("" + A).replace(Ke, ht)), b.push(Mn("script")), null;
  }
  function Rt(b, m, A) {
    b.push(_n(A));
    var N = A = null, Y;
    for (Y in m)
      if (ae.call(m, Y)) {
        var xe = m[Y];
        if (xe != null)
          switch (Y) {
            case "children":
              A = xe;
              break;
            case "dangerouslySetInnerHTML":
              N = xe;
              break;
            default:
              Ht(b, Y, xe);
          }
      }
    return b.push(">"), kn(b, N, A), A;
  }
  function $t(b, m, A) {
    b.push(_n(A));
    var N = A = null, Y;
    for (Y in m)
      if (ae.call(m, Y)) {
        var xe = m[Y];
        if (xe != null)
          switch (Y) {
            case "children":
              A = xe;
              break;
            case "dangerouslySetInnerHTML":
              N = xe;
              break;
            default:
              Ht(b, Y, xe);
          }
      }
    return b.push(">"), kn(b, N, A), typeof A == "string" ? (b.push(ze(A)), null) : A;
  }
  var En = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, In = /* @__PURE__ */ new Map();
  function _n(b) {
    var m = In.get(b);
    if (m === void 0) {
      if (!En.test(b))
        throw Error(n(65, b));
      m = "<" + b, In.set(b, m);
    }
    return m;
  }
  function bn(b, m, A, N, Y, xe, Be, vt, Qe) {
    switch (m) {
      case "div":
      case "span":
      case "svg":
      case "path":
        break;
      case "a":
        b.push(_n("a"));
        var bt = null, Dt = null, Mt;
        for (Mt in A)
          if (ae.call(A, Mt)) {
            var on = A[Mt];
            if (on != null)
              switch (Mt) {
                case "children":
                  bt = on;
                  break;
                case "dangerouslySetInnerHTML":
                  Dt = on;
                  break;
                case "href":
                  on === "" ? wn(b, "href", "") : Ht(b, Mt, on);
                  break;
                default:
                  Ht(b, Mt, on);
              }
          }
        if (b.push(">"), kn(b, Dt, bt), typeof bt == "string") {
          b.push(ze(bt));
          var Fn = null;
        } else Fn = bt;
        return Fn;
      case "g":
      case "p":
      case "li":
        break;
      case "select":
        b.push(_n("select"));
        var cr = null, Zn = null, Wn;
        for (Wn in A)
          if (ae.call(A, Wn)) {
            var qn = A[Wn];
            if (qn != null)
              switch (Wn) {
                case "children":
                  cr = qn;
                  break;
                case "dangerouslySetInnerHTML":
                  Zn = qn;
                  break;
                case "defaultValue":
                case "value":
                  break;
                default:
                  Ht(
                    b,
                    Wn,
                    qn
                  );
              }
          }
        return b.push(">"), kn(b, Zn, cr), cr;
      case "option":
        var $n = vt.selectedValue;
        b.push(_n("option"));
        var _o = null, dr = null, Ar = null, Gr = null, tr;
        for (tr in A)
          if (ae.call(A, tr)) {
            var Ao = A[tr];
            if (Ao != null)
              switch (tr) {
                case "children":
                  _o = Ao;
                  break;
                case "selected":
                  Ar = Ao;
                  break;
                case "dangerouslySetInnerHTML":
                  Gr = Ao;
                  break;
                case "value":
                  dr = Ao;
                default:
                  Ht(
                    b,
                    tr,
                    Ao
                  );
              }
          }
        if ($n != null) {
          var zr = dr !== null ? "" + dr : Tn(_o);
          if (q($n)) {
            for (var na = 0; na < $n.length; na++)
              if ("" + $n[na] === zr) {
                b.push(' selected=""');
                break;
              }
          } else
            "" + $n === zr && b.push(' selected=""');
        } else Ar && b.push(' selected=""');
        return b.push(">"), kn(b, Gr, _o), _o;
      case "textarea":
        b.push(_n("textarea"));
        var Xr = null, Rr = null, Wr = null, er;
        for (er in A)
          if (ae.call(A, er)) {
            var Ur = A[er];
            if (Ur != null)
              switch (er) {
                case "children":
                  Wr = Ur;
                  break;
                case "value":
                  Xr = Ur;
                  break;
                case "defaultValue":
                  Rr = Ur;
                  break;
                case "dangerouslySetInnerHTML":
                  throw Error(n(91));
                default:
                  Ht(
                    b,
                    er,
                    Ur
                  );
              }
          }
        if (Xr === null && Rr !== null && (Xr = Rr), b.push(">"), Wr != null) {
          if (Xr != null) throw Error(n(92));
          if (q(Wr)) {
            if (1 < Wr.length)
              throw Error(n(93));
            Xr = "" + Wr[0];
          }
          Xr = "" + Wr;
        }
        return typeof Xr == "string" && Xr[0] === `
` && b.push(`
`), Xr !== null && b.push(ze("" + Xr)), null;
      case "input":
        b.push(_n("input"));
        var Si = null, br = null, $l = null, El = null, ra = null, xs = null, _s = null, ws = null, il = null, Cl;
        for (Cl in A)
          if (ae.call(A, Cl)) {
            var yi = A[Cl];
            if (yi != null)
              switch (Cl) {
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(n(399, "input"));
                case "name":
                  Si = yi;
                  break;
                case "formAction":
                  br = yi;
                  break;
                case "formEncType":
                  $l = yi;
                  break;
                case "formMethod":
                  El = yi;
                  break;
                case "formTarget":
                  ra = yi;
                  break;
                case "defaultChecked":
                  il = yi;
                  break;
                case "defaultValue":
                  _s = yi;
                  break;
                case "checked":
                  ws = yi;
                  break;
                case "value":
                  xs = yi;
                  break;
                default:
                  Ht(
                    b,
                    Cl,
                    yi
                  );
              }
          }
        var hu = Pt(
          b,
          N,
          Y,
          br,
          $l,
          El,
          ra,
          Si
        );
        return ws !== null ? Vt(b, "checked", ws) : il !== null && Vt(b, "checked", il), xs !== null ? Ht(b, "value", xs) : _s !== null && Ht(b, "value", _s), b.push("/>"), hu != null && hu.forEach(zt, b), null;
      case "button":
        b.push(_n("button"));
        var pu = null, _c = null, nd = null, Vu = null, Vl = null, oa = null, wc = null, ia;
        for (ia in A)
          if (ae.call(A, ia)) {
            var qa = A[ia];
            if (qa != null)
              switch (ia) {
                case "children":
                  pu = qa;
                  break;
                case "dangerouslySetInnerHTML":
                  _c = qa;
                  break;
                case "name":
                  nd = qa;
                  break;
                case "formAction":
                  Vu = qa;
                  break;
                case "formEncType":
                  Vl = qa;
                  break;
                case "formMethod":
                  oa = qa;
                  break;
                case "formTarget":
                  wc = qa;
                  break;
                default:
                  Ht(
                    b,
                    ia,
                    qa
                  );
              }
          }
        var Sl = Pt(
          b,
          N,
          Y,
          Vu,
          Vl,
          oa,
          wc,
          nd
        );
        if (b.push(">"), Sl != null && Sl.forEach(zt, b), kn(b, _c, pu), typeof pu == "string") {
          b.push(ze(pu));
          var Tc = null;
        } else Tc = pu;
        return Tc;
      case "form":
        b.push(_n("form"));
        var Al = null, rd = null, di = null, kc = null, Gl = null, Gu = null, bu;
        for (bu in A)
          if (ae.call(A, bu)) {
            var ti = A[bu];
            if (ti != null)
              switch (bu) {
                case "children":
                  Al = ti;
                  break;
                case "dangerouslySetInnerHTML":
                  rd = ti;
                  break;
                case "action":
                  di = ti;
                  break;
                case "encType":
                  kc = ti;
                  break;
                case "method":
                  Gl = ti;
                  break;
                case "target":
                  Gu = ti;
                  break;
                default:
                  Ht(
                    b,
                    bu,
                    ti
                  );
              }
          }
        var es = null, fr = null;
        if (typeof di == "function") {
          var Pl = _t(
            N,
            di
          );
          Pl !== null ? (di = Pl.action || "", kc = Pl.encType, Gl = Pl.method, Gu = Pl.target, es = Pl.data, fr = Pl.name) : (b.push(
            " ",
            "action",
            '="',
            dn,
            '"'
          ), Gu = Gl = kc = di = null, hn(N, Y));
        }
        if (di != null && Ht(b, "action", di), kc != null && Ht(b, "encType", kc), Gl != null && Ht(b, "method", Gl), Gu != null && Ht(b, "target", Gu), b.push(">"), fr !== null && (b.push('<input type="hidden"'), wn(b, "name", fr), b.push("/>"), es != null && es.forEach(zt, b)), kn(b, rd, Al), typeof Al == "string") {
          b.push(ze(Al));
          var Yu = null;
        } else Yu = Al;
        return Yu;
      case "menuitem":
        b.push(_n("menuitem"));
        for (var Yl in A)
          if (ae.call(A, Yl)) {
            var Po = A[Yl];
            if (Po != null)
              switch (Yl) {
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(n(400));
                default:
                  Ht(
                    b,
                    Yl,
                    Po
                  );
              }
          }
        return b.push(">"), null;
      case "object":
        b.push(_n("object"));
        var ka = null, Xl = null, gu;
        for (gu in A)
          if (ae.call(A, gu)) {
            var Ts = A[gu];
            if (Ts != null)
              switch (gu) {
                case "children":
                  ka = Ts;
                  break;
                case "dangerouslySetInnerHTML":
                  Xl = Ts;
                  break;
                case "data":
                  var $i = oe("" + Ts);
                  if ($i === "") break;
                  b.push(
                    " ",
                    "data",
                    '="',
                    ze($i),
                    '"'
                  );
                  break;
                default:
                  Ht(
                    b,
                    gu,
                    Ts
                  );
              }
          }
        if (b.push(">"), kn(b, Xl, ka), typeof ka == "string") {
          b.push(ze(ka));
          var Xu = null;
        } else Xu = ka;
        return Xu;
      case "title":
        var aa = vt.tagScope & 1, Hd = vt.tagScope & 4;
        if (vt.insertionMode === 4 || aa || A.itemProp != null)
          var mu = ir(
            b,
            A
          );
        else
          Hd ? mu = null : (ir(Y.hoistableChunks, A), mu = void 0);
        return mu;
      case "link":
        var Ec = vt.tagScope & 1, od = vt.tagScope & 4, id2 = A.rel, al = A.href, vu = A.precedence;
        if (vt.insertionMode === 4 || Ec || A.itemProp != null || typeof id2 != "string" || typeof al != "string" || al === "") {
          Nt(b, A);
          var yu = null;
        } else if (A.rel === "stylesheet")
          if (typeof vu != "string" || A.disabled != null || A.onLoad || A.onError)
            yu = Nt(
              b,
              A
            );
          else {
            var sa = Y.styles.get(vu), Cc = N.styleResources.hasOwnProperty(al) ? N.styleResources[al] : void 0;
            if (Cc !== null) {
              N.styleResources[al] = null, sa || (sa = {
                precedence: ze(vu),
                rules: [],
                hrefs: [],
                sheets: /* @__PURE__ */ new Map()
              }, Y.styles.set(vu, sa));
              var Sc = {
                state: 0,
                props: ne({}, A, {
                  "data-precedence": A.precedence,
                  precedence: null
                })
              };
              if (Cc) {
                Cc.length === 2 && jn(Sc.props, Cc);
                var $d = Y.preloads.stylesheets.get(al);
                $d && 0 < $d.length ? $d.length = 0 : Sc.state = 1;
              }
              sa.sheets.set(al, Sc), Be && Be.stylesheets.add(Sc);
            } else if (sa) {
              var Vd = sa.sheets.get(al);
              Vd && Be && Be.stylesheets.add(Vd);
            }
            Qe && b.push("<!-- -->"), yu = null;
          }
        else
          A.onLoad || A.onError ? yu = Nt(
            b,
            A
          ) : (Qe && b.push("<!-- -->"), yu = od ? null : Nt(Y.hoistableChunks, A));
        return yu;
      case "script":
        var ad = vt.tagScope & 1, Gd = A.async;
        if (typeof A.src != "string" || !A.src || !Gd || typeof Gd == "function" || typeof Gd == "symbol" || A.onLoad || A.onError || vt.insertionMode === 4 || ad || A.itemProp != null)
          var Yd = sn(
            b,
            A
          );
        else {
          var fi = A.src;
          if (A.type === "module")
            var sd = N.moduleScriptResources, Ac = Y.preloads.moduleScripts;
          else
            sd = N.scriptResources, Ac = Y.preloads.scripts;
          var Pc = sd.hasOwnProperty(fi) ? sd[fi] : void 0;
          if (Pc !== null) {
            sd[fi] = null;
            var ld = A;
            if (Pc) {
              Pc.length === 2 && (ld = ne({}, A), jn(ld, Pc));
              var Xd = Ac.get(fi);
              Xd && (Xd.length = 0);
            }
            var ud = [];
            Y.scripts.add(ud), sn(ud, ld);
          }
          Qe && b.push("<!-- -->"), Yd = null;
        }
        return Yd;
      case "style":
        var cd = vt.tagScope & 1, Zl = A.precedence, ks = A.href, gf = A.nonce;
        if (vt.insertionMode === 4 || cd || A.itemProp != null || typeof Zl != "string" || typeof ks != "string" || ks === "") {
          b.push(_n("style"));
          var xu = null, Rc = null, Vs;
          for (Vs in A)
            if (ae.call(A, Vs)) {
              var Zu = A[Vs];
              if (Zu != null)
                switch (Vs) {
                  case "children":
                    xu = Zu;
                    break;
                  case "dangerouslySetInnerHTML":
                    Rc = Zu;
                    break;
                  default:
                    Ht(
                      b,
                      Vs,
                      Zu
                    );
                }
            }
          b.push(">");
          var Kl = Array.isArray(xu) ? 2 > xu.length ? xu[0] : null : xu;
          typeof Kl != "function" && typeof Kl != "symbol" && Kl !== null && Kl !== void 0 && b.push(("" + Kl).replace(Qn, hr)), kn(b, Rc, xu), b.push(Mn("style"));
          var Ic = null;
        } else {
          var Jl = Y.styles.get(Zl);
          if ((N.styleResources.hasOwnProperty(ks) ? N.styleResources[ks] : void 0) !== null) {
            N.styleResources[ks] = null, Jl || (Jl = {
              precedence: ze(Zl),
              rules: [],
              hrefs: [],
              sheets: /* @__PURE__ */ new Map()
            }, Y.styles.set(Zl, Jl));
            var mf = Y.nonce.style;
            if (!mf || mf === gf) {
              Jl.hrefs.push(ze(ks));
              var vf = Jl.rules, Gs = null, Ku = null, ts;
              for (ts in A)
                if (ae.call(A, ts)) {
                  var Ql = A[ts];
                  if (Ql != null)
                    switch (ts) {
                      case "children":
                        Gs = Ql;
                        break;
                      case "dangerouslySetInnerHTML":
                        Ku = Ql;
                    }
                }
              var _u = Array.isArray(Gs) ? 2 > Gs.length ? Gs[0] : null : Gs;
              typeof _u != "function" && typeof _u != "symbol" && _u !== null && _u !== void 0 && vf.push(
                ("" + _u).replace(Qn, hr)
              ), kn(vf, Ku, Gs);
            }
          }
          Jl && Be && Be.styles.add(Jl), Qe && b.push("<!-- -->"), Ic = void 0;
        }
        return Ic;
      case "meta":
        var Es = vt.tagScope & 1, Zd = vt.tagScope & 4;
        if (vt.insertionMode === 4 || Es || A.itemProp != null)
          var yf = Wt(
            b,
            A,
            "meta"
          );
        else
          Qe && b.push("<!-- -->"), yf = Zd ? null : typeof A.charSet == "string" ? Wt(Y.charsetChunks, A, "meta") : A.name === "viewport" ? Wt(Y.viewportChunks, A, "meta") : Wt(Y.hoistableChunks, A, "meta");
        return yf;
      case "listing":
      case "pre":
        b.push(_n(m));
        var Ju = null, h = null, g;
        for (g in A)
          if (ae.call(A, g)) {
            var C = A[g];
            if (C != null)
              switch (g) {
                case "children":
                  Ju = C;
                  break;
                case "dangerouslySetInnerHTML":
                  h = C;
                  break;
                default:
                  Ht(
                    b,
                    g,
                    C
                  );
              }
          }
        if (b.push(">"), h != null) {
          if (Ju != null) throw Error(n(60));
          if (typeof h != "object" || !("__html" in h))
            throw Error(n(61));
          var L = h.__html;
          L != null && (typeof L == "string" && 0 < L.length && L[0] === `
` ? b.push(`
`, L) : b.push("" + L));
        }
        return typeof Ju == "string" && Ju[0] === `
` && b.push(`
`), Ju;
      case "img":
        var $ = vt.tagScope & 3, ce = A.src, ke = A.srcSet;
        if (!(A.loading === "lazy" || !ce && !ke || typeof ce != "string" && ce != null || typeof ke != "string" && ke != null || A.fetchPriority === "low" || $) && (typeof ce != "string" || ce[4] !== ":" || ce[0] !== "d" && ce[0] !== "D" || ce[1] !== "a" && ce[1] !== "A" || ce[2] !== "t" && ce[2] !== "T" || ce[3] !== "a" && ce[3] !== "A") && (typeof ke != "string" || ke[4] !== ":" || ke[0] !== "d" && ke[0] !== "D" || ke[1] !== "a" && ke[1] !== "A" || ke[2] !== "t" && ke[2] !== "T" || ke[3] !== "a" && ke[3] !== "A")) {
          Be !== null && vt.tagScope & 64 && (Be.suspenseyImages = true);
          var rt = typeof A.sizes == "string" ? A.sizes : void 0, Xe = ke ? ke + `
` + (rt || "") : ce, ot = Y.preloads.images, mt = ot.get(Xe);
          if (mt)
            (A.fetchPriority === "high" || 10 > Y.highImagePreloads.size) && (ot.delete(Xe), Y.highImagePreloads.add(mt));
          else if (!N.imageResources.hasOwnProperty(Xe)) {
            N.imageResources[Xe] = _e;
            var Ct = A.crossOrigin, cn = typeof Ct == "string" ? Ct === "use-credentials" ? Ct : "" : void 0, ln = Y.headers, wr;
            ln && 0 < ln.remainingCapacity && typeof A.srcSet != "string" && (A.fetchPriority === "high" || 500 > ln.highImagePreloads.length) && (wr = Pr(ce, "image", {
              imageSrcSet: A.srcSet,
              imageSizes: A.sizes,
              crossOrigin: cn,
              integrity: A.integrity,
              nonce: A.nonce,
              type: A.type,
              fetchPriority: A.fetchPriority,
              referrerPolicy: A.refererPolicy
            }), 0 <= (ln.remainingCapacity -= wr.length + 2)) ? (Y.resets.image[Xe] = _e, ln.highImagePreloads && (ln.highImagePreloads += ", "), ln.highImagePreloads += wr) : (mt = [], Nt(mt, {
              rel: "preload",
              as: "image",
              href: ke ? void 0 : ce,
              imageSrcSet: ke,
              imageSizes: rt,
              crossOrigin: cn,
              integrity: A.integrity,
              type: A.type,
              fetchPriority: A.fetchPriority,
              referrerPolicy: A.referrerPolicy
            }), A.fetchPriority === "high" || 10 > Y.highImagePreloads.size ? Y.highImagePreloads.add(mt) : (Y.bulkPreloads.add(mt), ot.set(Xe, mt)));
          }
        }
        return Wt(b, A, "img");
      case "base":
      case "area":
      case "br":
      case "col":
      case "embed":
      case "hr":
      case "keygen":
      case "param":
      case "source":
      case "track":
      case "wbr":
        return Wt(b, A, m);
      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":
        break;
      case "head":
        if (2 > vt.insertionMode) {
          var Kn = xe || Y.preamble;
          if (Kn.headChunks)
            throw Error(n(545, "`<head>`"));
          xe !== null && b.push("<!--head-->"), Kn.headChunks = [];
          var Tr = Rt(
            Kn.headChunks,
            A,
            "head"
          );
        } else
          Tr = $t(
            b,
            A,
            "head"
          );
        return Tr;
      case "body":
        if (2 > vt.insertionMode) {
          var Ro = xe || Y.preamble;
          if (Ro.bodyChunks)
            throw Error(n(545, "`<body>`"));
          xe !== null && b.push("<!--body-->"), Ro.bodyChunks = [];
          var bo = Rt(
            Ro.bodyChunks,
            A,
            "body"
          );
        } else
          bo = $t(
            b,
            A,
            "body"
          );
        return bo;
      case "html":
        if (vt.insertionMode === 0) {
          var Vi = xe || Y.preamble;
          if (Vi.htmlChunks)
            throw Error(n(545, "`<html>`"));
          xe !== null && b.push("<!--html-->"), Vi.htmlChunks = [""];
          var Fa = Rt(
            Vi.htmlChunks,
            A,
            "html"
          );
        } else
          Fa = $t(
            b,
            A,
            "html"
          );
        return Fa;
      default:
        if (m.indexOf("-") !== -1) {
          b.push(_n(m));
          var Cs = null, Jn = null, la;
          for (la in A)
            if (ae.call(A, la)) {
              var ni = A[la];
              if (ni != null) {
                var Ea = la;
                switch (la) {
                  case "children":
                    Cs = ni;
                    break;
                  case "dangerouslySetInnerHTML":
                    Jn = ni;
                    break;
                  case "style":
                    en(b, ni);
                    break;
                  case "suppressContentEditableWarning":
                  case "suppressHydrationWarning":
                  case "ref":
                    break;
                  case "className":
                    Ea = "class";
                  default:
                    if (Te(la) && typeof ni != "function" && typeof ni != "symbol" && ni !== false) {
                      if (ni === true) ni = "";
                      else if (typeof ni == "object") continue;
                      b.push(
                        " ",
                        Ea,
                        '="',
                        ze(ni),
                        '"'
                      );
                    }
                }
              }
            }
          return b.push(">"), kn(b, Jn, Cs), Cs;
        }
    }
    return $t(b, A, m);
  }
  var Sr = /* @__PURE__ */ new Map();
  function Mn(b) {
    var m = Sr.get(b);
    return m === void 0 && (m = "</" + b + ">", Sr.set(b, m)), m;
  }
  function gr(b, m) {
    b = b.preamble, b.htmlChunks === null && m.htmlChunks && (b.htmlChunks = m.htmlChunks), b.headChunks === null && m.headChunks && (b.headChunks = m.headChunks), b.bodyChunks === null && m.bodyChunks && (b.bodyChunks = m.bodyChunks);
  }
  function mi(b, m) {
    m = m.bootstrapChunks;
    for (var A = 0; A < m.length - 1; A++)
      b.push(m[A]);
    return A < m.length ? (A = m[A], m.length = 0, b.push(A)) : true;
  }
  function Co(b, m, A) {
    if (b.push('<!--$?--><template id="'), A === null) throw Error(n(395));
    return b.push(m.boundaryPrefix), m = A.toString(16), b.push(m), b.push('"></template>');
  }
  function No(b, m, A, N) {
    switch (A.insertionMode) {
      case 0:
      case 1:
      case 3:
      case 2:
        return b.push('<div hidden id="'), b.push(m.segmentPrefix), m = N.toString(16), b.push(m), b.push('">');
      case 4:
        return b.push('<svg aria-hidden="true" style="display:none" id="'), b.push(m.segmentPrefix), m = N.toString(16), b.push(m), b.push('">');
      case 5:
        return b.push('<math aria-hidden="true" style="display:none" id="'), b.push(m.segmentPrefix), m = N.toString(16), b.push(m), b.push('">');
      case 6:
        return b.push('<table hidden id="'), b.push(m.segmentPrefix), m = N.toString(16), b.push(m), b.push('">');
      case 7:
        return b.push('<table hidden><tbody id="'), b.push(m.segmentPrefix), m = N.toString(16), b.push(m), b.push('">');
      case 8:
        return b.push('<table hidden><tr id="'), b.push(m.segmentPrefix), m = N.toString(16), b.push(m), b.push('">');
      case 9:
        return b.push('<table hidden><colgroup id="'), b.push(m.segmentPrefix), m = N.toString(16), b.push(m), b.push('">');
      default:
        throw Error(n(397));
    }
  }
  function ls(b, m) {
    switch (m.insertionMode) {
      case 0:
      case 1:
      case 3:
      case 2:
        return b.push("</div>");
      case 4:
        return b.push("</svg>");
      case 5:
        return b.push("</math>");
      case 6:
        return b.push("</table>");
      case 7:
        return b.push("</tbody></table>");
      case 8:
        return b.push("</tr></table>");
      case 9:
        return b.push("</colgroup></table>");
      default:
        throw Error(n(397));
    }
  }
  var Qi = /[<\u2028\u2029]/g;
  function Fr(b) {
    return JSON.stringify(b).replace(
      Qi,
      function(m) {
        switch (m) {
          case "<":
            return "\\u003c";
          case "\u2028":
            return "\\u2028";
          case "\u2029":
            return "\\u2029";
          default:
            throw Error(
              "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
            );
        }
      }
    );
  }
  var Yr = /[&><\u2028\u2029]/g;
  function yr(b) {
    return JSON.stringify(b).replace(
      Yr,
      function(m) {
        switch (m) {
          case "&":
            return "\\u0026";
          case ">":
            return "\\u003e";
          case "<":
            return "\\u003c";
          case "\u2028":
            return "\\u2028";
          case "\u2029":
            return "\\u2029";
          default:
            throw Error(
              "escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
            );
        }
      }
    );
  }
  var uo = false, xr = true;
  function to(b) {
    var m = b.rules, A = b.hrefs, N = 0;
    if (A.length) {
      for (this.push(st.startInlineStyle), this.push(' media="not all" data-precedence="'), this.push(b.precedence), this.push('" data-href="'); N < A.length - 1; N++)
        this.push(A[N]), this.push(" ");
      for (this.push(A[N]), this.push('">'), N = 0; N < m.length; N++) this.push(m[N]);
      xr = this.push("</style>"), uo = true, m.length = 0, A.length = 0;
    }
  }
  function ur(b) {
    return b.state !== 2 ? uo = true : false;
  }
  function ki(b, m, A) {
    return uo = false, xr = true, st = A, m.styles.forEach(to, b), st = null, m.stylesheets.forEach(ur), uo && (A.stylesToHoist = true), xr;
  }
  function Nr(b) {
    for (var m = 0; m < b.length; m++) this.push(b[m]);
    b.length = 0;
  }
  var Gn = [];
  function qo(b) {
    Nt(Gn, b.props);
    for (var m = 0; m < Gn.length; m++)
      this.push(Gn[m]);
    Gn.length = 0, b.state = 2;
  }
  function Dn(b) {
    var m = 0 < b.sheets.size;
    b.sheets.forEach(qo, this), b.sheets.clear();
    var A = b.rules, N = b.hrefs;
    if (!m || N.length) {
      if (this.push(st.startInlineStyle), this.push(' data-precedence="'), this.push(b.precedence), b = 0, N.length) {
        for (this.push('" data-href="'); b < N.length - 1; b++)
          this.push(N[b]), this.push(" ");
        this.push(N[b]);
      }
      for (this.push('">'), b = 0; b < A.length; b++)
        this.push(A[b]);
      this.push("</style>"), A.length = 0, N.length = 0;
    }
  }
  function At(b) {
    if (b.state === 0) {
      b.state = 1;
      var m = b.props;
      for (Nt(Gn, {
        rel: "preload",
        as: "style",
        href: b.props.href,
        crossOrigin: m.crossOrigin,
        fetchPriority: m.fetchPriority,
        integrity: m.integrity,
        media: m.media,
        hrefLang: m.hrefLang,
        referrerPolicy: m.referrerPolicy
      }), b = 0; b < Gn.length; b++)
        this.push(Gn[b]);
      Gn.length = 0;
    }
  }
  function it(b) {
    b.sheets.forEach(At, this), b.sheets.clear();
  }
  function Zt(b, m) {
    (m.instructions & 32) === 0 && (m.instructions |= 32, b.push(
      ' id="',
      ze("_" + m.idPrefix + "R_"),
      '"'
    ));
  }
  function un(b, m) {
    b.push("[");
    var A = "[";
    m.stylesheets.forEach(function(N) {
      if (N.state !== 2)
        if (N.state === 3)
          b.push(A), N = yr(
            "" + N.props.href
          ), b.push(N), b.push("]"), A = ",[";
        else {
          b.push(A);
          var Y = N.props["data-precedence"], xe = N.props, Be = oe("" + N.props.href);
          Be = yr(Be), b.push(Be), Y = "" + Y, b.push(","), Y = yr(Y), b.push(Y);
          for (var vt in xe)
            if (ae.call(xe, vt) && (Y = xe[vt], Y != null))
              switch (vt) {
                case "href":
                case "rel":
                case "precedence":
                case "data-precedence":
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(n(399, "link"));
                default:
                  dt(
                    b,
                    vt,
                    Y
                  );
              }
          b.push("]"), A = ",[", N.state = 3;
        }
    }), b.push("]");
  }
  function dt(b, m, A) {
    var N = m.toLowerCase();
    switch (typeof A) {
      case "function":
      case "symbol":
        return;
    }
    switch (m) {
      case "innerHTML":
      case "dangerouslySetInnerHTML":
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "style":
      case "ref":
        return;
      case "className":
        N = "class", m = "" + A;
        break;
      case "hidden":
        if (A === false) return;
        m = "";
        break;
      case "src":
      case "href":
        A = oe(A), m = "" + A;
        break;
      default:
        if (2 < m.length && (m[0] === "o" || m[0] === "O") && (m[1] === "n" || m[1] === "N") || !Te(m))
          return;
        m = "" + A;
    }
    b.push(","), N = yr(N), b.push(N), b.push(","), N = yr(m), b.push(N);
  }
  function kt() {
    return { styles: /* @__PURE__ */ new Set(), stylesheets: /* @__PURE__ */ new Set(), suspenseyImages: false };
  }
  function pn(b) {
    var m = Oe || null;
    if (m) {
      var A = m.resumableState, N = m.renderState;
      if (typeof b == "string" && b) {
        if (!A.dnsResources.hasOwnProperty(b)) {
          A.dnsResources[b] = null, A = N.headers;
          var Y, xe;
          (xe = A && 0 < A.remainingCapacity) && (xe = (Y = "<" + ("" + b).replace(
            Wu,
            Wl
          ) + ">; rel=dns-prefetch", 0 <= (A.remainingCapacity -= Y.length + 2))), xe ? (N.resets.dns[b] = null, A.preconnects && (A.preconnects += ", "), A.preconnects += Y) : (Y = [], Nt(Y, { href: b, rel: "dns-prefetch" }), N.preconnects.add(Y));
        }
        Oi(m);
      }
    } else Ze.D(b);
  }
  function ar(b, m) {
    var A = Oe || null;
    if (A) {
      var N = A.resumableState, Y = A.renderState;
      if (typeof b == "string" && b) {
        var xe = m === "use-credentials" ? "credentials" : typeof m == "string" ? "anonymous" : "default";
        if (!N.connectResources[xe].hasOwnProperty(b)) {
          N.connectResources[xe][b] = null, N = Y.headers;
          var Be, vt;
          if (vt = N && 0 < N.remainingCapacity) {
            if (vt = "<" + ("" + b).replace(
              Wu,
              Wl
            ) + ">; rel=preconnect", typeof m == "string") {
              var Qe = ("" + m).replace(
                wa,
                xl
              );
              vt += '; crossorigin="' + Qe + '"';
            }
            vt = (Be = vt, 0 <= (N.remainingCapacity -= Be.length + 2));
          }
          vt ? (Y.resets.connect[xe][b] = null, N.preconnects && (N.preconnects += ", "), N.preconnects += Be) : (xe = [], Nt(xe, {
            rel: "preconnect",
            href: b,
            crossOrigin: m
          }), Y.preconnects.add(xe));
        }
        Oi(A);
      }
    } else Ze.C(b, m);
  }
  function vi(b, m, A) {
    var N = Oe || null;
    if (N) {
      var Y = N.resumableState, xe = N.renderState;
      if (m && b) {
        switch (m) {
          case "image":
            if (A)
              var Be = A.imageSrcSet, vt = A.imageSizes, Qe = A.fetchPriority;
            var bt = Be ? Be + `
` + (vt || "") : b;
            if (Y.imageResources.hasOwnProperty(bt)) return;
            Y.imageResources[bt] = _e, Y = xe.headers;
            var Dt;
            Y && 0 < Y.remainingCapacity && typeof Be != "string" && Qe === "high" && (Dt = Pr(b, m, A), 0 <= (Y.remainingCapacity -= Dt.length + 2)) ? (xe.resets.image[bt] = _e, Y.highImagePreloads && (Y.highImagePreloads += ", "), Y.highImagePreloads += Dt) : (Y = [], Nt(
              Y,
              ne(
                { rel: "preload", href: Be ? void 0 : b, as: m },
                A
              )
            ), Qe === "high" ? xe.highImagePreloads.add(Y) : (xe.bulkPreloads.add(Y), xe.preloads.images.set(bt, Y)));
            break;
          case "style":
            if (Y.styleResources.hasOwnProperty(b)) return;
            Be = [], Nt(
              Be,
              ne({ rel: "preload", href: b, as: m }, A)
            ), Y.styleResources[b] = !A || typeof A.crossOrigin != "string" && typeof A.integrity != "string" ? _e : [A.crossOrigin, A.integrity], xe.preloads.stylesheets.set(b, Be), xe.bulkPreloads.add(Be);
            break;
          case "script":
            if (Y.scriptResources.hasOwnProperty(b)) return;
            Be = [], xe.preloads.scripts.set(b, Be), xe.bulkPreloads.add(Be), Nt(
              Be,
              ne({ rel: "preload", href: b, as: m }, A)
            ), Y.scriptResources[b] = !A || typeof A.crossOrigin != "string" && typeof A.integrity != "string" ? _e : [A.crossOrigin, A.integrity];
            break;
          default:
            if (Y.unknownResources.hasOwnProperty(m)) {
              if (Be = Y.unknownResources[m], Be.hasOwnProperty(b))
                return;
            } else
              Be = {}, Y.unknownResources[m] = Be;
            if (Be[b] = _e, (Y = xe.headers) && 0 < Y.remainingCapacity && m === "font" && (bt = Pr(b, m, A), 0 <= (Y.remainingCapacity -= bt.length + 2)))
              xe.resets.font[b] = _e, Y.fontPreloads && (Y.fontPreloads += ", "), Y.fontPreloads += bt;
            else
              switch (Y = [], b = ne({ rel: "preload", href: b, as: m }, A), Nt(Y, b), m) {
                case "font":
                  xe.fontPreloads.add(Y);
                  break;
                default:
                  xe.bulkPreloads.add(Y);
              }
        }
        Oi(N);
      }
    } else Ze.L(b, m, A);
  }
  function Sn(b, m) {
    var A = Oe || null;
    if (A) {
      var N = A.resumableState, Y = A.renderState;
      if (b) {
        var xe = m && typeof m.as == "string" ? m.as : "script";
        switch (xe) {
          case "script":
            if (N.moduleScriptResources.hasOwnProperty(b)) return;
            xe = [], N.moduleScriptResources[b] = !m || typeof m.crossOrigin != "string" && typeof m.integrity != "string" ? _e : [m.crossOrigin, m.integrity], Y.preloads.moduleScripts.set(b, xe);
            break;
          default:
            if (N.moduleUnknownResources.hasOwnProperty(xe)) {
              var Be = N.unknownResources[xe];
              if (Be.hasOwnProperty(b)) return;
            } else
              Be = {}, N.moduleUnknownResources[xe] = Be;
            xe = [], Be[b] = _e;
        }
        Nt(xe, ne({ rel: "modulepreload", href: b }, m)), Y.bulkPreloads.add(xe), Oi(A);
      }
    } else Ze.m(b, m);
  }
  function ui(b, m, A) {
    var N = Oe || null;
    if (N) {
      var Y = N.resumableState, xe = N.renderState;
      if (b) {
        m = m || "default";
        var Be = xe.styles.get(m), vt = Y.styleResources.hasOwnProperty(b) ? Y.styleResources[b] : void 0;
        vt !== null && (Y.styleResources[b] = null, Be || (Be = {
          precedence: ze(m),
          rules: [],
          hrefs: [],
          sheets: /* @__PURE__ */ new Map()
        }, xe.styles.set(m, Be)), m = {
          state: 0,
          props: ne(
            { rel: "stylesheet", href: b, "data-precedence": m },
            A
          )
        }, vt && (vt.length === 2 && jn(m.props, vt), (xe = xe.preloads.stylesheets.get(b)) && 0 < xe.length ? xe.length = 0 : m.state = 1), Be.sheets.set(b, m), Oi(N));
      }
    } else Ze.S(b, m, A);
  }
  function lu(b, m) {
    var A = Oe || null;
    if (A) {
      var N = A.resumableState, Y = A.renderState;
      if (b) {
        var xe = N.scriptResources.hasOwnProperty(b) ? N.scriptResources[b] : void 0;
        xe !== null && (N.scriptResources[b] = null, m = ne({ src: b, async: true }, m), xe && (xe.length === 2 && jn(m, xe), b = Y.preloads.scripts.get(b)) && (b.length = 0), b = [], Y.scripts.add(b), sn(b, m), Oi(A));
      }
    } else Ze.X(b, m);
  }
  function ci(b, m) {
    var A = Oe || null;
    if (A) {
      var N = A.resumableState, Y = A.renderState;
      if (b) {
        var xe = N.moduleScriptResources.hasOwnProperty(
          b
        ) ? N.moduleScriptResources[b] : void 0;
        xe !== null && (N.moduleScriptResources[b] = null, m = ne({ src: b, type: "module", async: true }, m), xe && (xe.length === 2 && jn(m, xe), b = Y.preloads.moduleScripts.get(b)) && (b.length = 0), b = [], Y.scripts.add(b), sn(b, m), Oi(A));
      }
    } else Ze.M(b, m);
  }
  function jn(b, m) {
    b.crossOrigin == null && (b.crossOrigin = m[0]), b.integrity == null && (b.integrity = m[1]);
  }
  function Pr(b, m, A) {
    b = ("" + b).replace(
      Wu,
      Wl
    ), m = ("" + m).replace(
      wa,
      xl
    ), m = "<" + b + '>; rel=preload; as="' + m + '"';
    for (var N in A)
      ae.call(A, N) && (b = A[N], typeof b == "string" && (m += "; " + N.toLowerCase() + '="' + ("" + b).replace(
        wa,
        xl
      ) + '"'));
    return m;
  }
  var Wu = /[<>\r\n]/g;
  function Wl(b) {
    switch (b) {
      case "<":
        return "%3C";
      case ">":
        return "%3E";
      case `
`:
        return "%0A";
      case "\r":
        return "%0D";
      default:
        throw Error(
          "escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
        );
    }
  }
  var wa = /["';,\r\n]/g;
  function xl(b) {
    switch (b) {
      case '"':
        return "%22";
      case "'":
        return "%27";
      case ";":
        return "%3B";
      case ",":
        return "%2C";
      case `
`:
        return "%0A";
      case "\r":
        return "%0D";
      default:
        throw Error(
          "escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
        );
    }
  }
  function Uu(b) {
    this.styles.add(b);
  }
  function td(b) {
    this.stylesheets.add(b);
  }
  function Ul(b, m) {
    m.styles.forEach(Uu, b), m.stylesheets.forEach(td, b), m.suspenseyImages && (b.suspenseyImages = true);
  }
  function Hl(b, m) {
    var A = b.idPrefix, N = [], Y = b.bootstrapScriptContent, xe = b.bootstrapScripts, Be = b.bootstrapModules;
    Y !== void 0 && (N.push("<script"), Zt(N, b), N.push(
      ">",
      ("" + Y).replace(Ke, ht),
      "<\/script>"
    )), Y = A + "P:";
    var vt = A + "S:";
    A += "B:";
    var Qe = /* @__PURE__ */ new Set(), bt = /* @__PURE__ */ new Set(), Dt = /* @__PURE__ */ new Set(), Mt = /* @__PURE__ */ new Map(), on = /* @__PURE__ */ new Set(), Fn = /* @__PURE__ */ new Set(), cr = /* @__PURE__ */ new Set(), Zn = {
      images: /* @__PURE__ */ new Map(),
      stylesheets: /* @__PURE__ */ new Map(),
      scripts: /* @__PURE__ */ new Map(),
      moduleScripts: /* @__PURE__ */ new Map()
    };
    if (xe !== void 0)
      for (var Wn = 0; Wn < xe.length; Wn++) {
        var qn = xe[Wn], $n, _o = void 0, dr = void 0, Ar = {
          rel: "preload",
          as: "script",
          fetchPriority: "low",
          nonce: void 0
        };
        typeof qn == "string" ? Ar.href = $n = qn : (Ar.href = $n = qn.src, Ar.integrity = dr = typeof qn.integrity == "string" ? qn.integrity : void 0, Ar.crossOrigin = _o = typeof qn == "string" || qn.crossOrigin == null ? void 0 : qn.crossOrigin === "use-credentials" ? "use-credentials" : ""), qn = b;
        var Gr = $n;
        qn.scriptResources[Gr] = null, qn.moduleScriptResources[Gr] = null, qn = [], Nt(qn, Ar), on.add(qn), N.push('<script src="', ze($n), '"'), typeof dr == "string" && N.push(
          ' integrity="',
          ze(dr),
          '"'
        ), typeof _o == "string" && N.push(
          ' crossorigin="',
          ze(_o),
          '"'
        ), Zt(N, b), N.push(' async=""><\/script>');
      }
    if (Be !== void 0)
      for (xe = 0; xe < Be.length; xe++)
        Ar = Be[xe], _o = $n = void 0, dr = {
          rel: "modulepreload",
          fetchPriority: "low",
          nonce: void 0
        }, typeof Ar == "string" ? dr.href = Wn = Ar : (dr.href = Wn = Ar.src, dr.integrity = _o = typeof Ar.integrity == "string" ? Ar.integrity : void 0, dr.crossOrigin = $n = typeof Ar == "string" || Ar.crossOrigin == null ? void 0 : Ar.crossOrigin === "use-credentials" ? "use-credentials" : ""), Ar = b, qn = Wn, Ar.scriptResources[qn] = null, Ar.moduleScriptResources[qn] = null, Ar = [], Nt(Ar, dr), on.add(Ar), N.push(
          '<script type="module" src="',
          ze(Wn),
          '"'
        ), typeof _o == "string" && N.push(
          ' integrity="',
          ze(_o),
          '"'
        ), typeof $n == "string" && N.push(
          ' crossorigin="',
          ze($n),
          '"'
        ), Zt(N, b), N.push(' async=""><\/script>');
    return {
      placeholderPrefix: Y,
      segmentPrefix: vt,
      boundaryPrefix: A,
      startInlineScript: "<script",
      startInlineStyle: "<style",
      preamble: { htmlChunks: null, headChunks: null, bodyChunks: null },
      externalRuntimeScript: null,
      bootstrapChunks: N,
      importMapChunks: [],
      onHeaders: void 0,
      headers: null,
      resets: {
        font: {},
        dns: {},
        connect: { default: {}, anonymous: {}, credentials: {} },
        image: {},
        style: {}
      },
      charsetChunks: [],
      viewportChunks: [],
      hoistableChunks: [],
      preconnects: Qe,
      fontPreloads: bt,
      highImagePreloads: Dt,
      styles: Mt,
      bootstrapScripts: on,
      scripts: Fn,
      bulkPreloads: cr,
      preloads: Zn,
      nonce: { script: void 0, style: void 0 },
      stylesToHoist: false,
      generateStaticMarkup: m
    };
  }
  function us(b, m, A, N) {
    return A.generateStaticMarkup ? (b.push(ze(m)), false) : (m === "" ? b = N : (N && b.push("<!-- -->"), b.push(ze(m)), b = true), b);
  }
  function cs(b, m, A, N) {
    m.generateStaticMarkup || A && N && b.push("<!-- -->");
  }
  var Hu = Function.prototype.bind, uu = Symbol.for("react.client.reference");
  function cu(b) {
    if (b == null) return null;
    if (typeof b == "function")
      return b.$$typeof === uu ? null : b.displayName || b.name || null;
    if (typeof b == "string") return b;
    switch (b) {
      case i:
        return "Fragment";
      case p:
        return "Profiler";
      case u:
        return "StrictMode";
      case T:
        return "Suspense";
      case R:
        return "SuspenseList";
      case U:
        return "Activity";
    }
    if (typeof b == "object")
      switch (b.$$typeof) {
        case o:
          return "Portal";
        case y:
          return b.displayName || "Context";
        case v:
          return (b._context.displayName || "Context") + ".Consumer";
        case k:
          var m = b.render;
          return b = b.displayName, b || (b = m.displayName || m.name || "", b = b !== "" ? "ForwardRef(" + b + ")" : "ForwardRef"), b;
        case I:
          return m = b.displayName || null, m !== null ? m : cu(b.type) || "Memo";
        case P:
          m = b._payload, b = b._init;
          try {
            return cu(b(m));
          } catch {
          }
      }
    return null;
  }
  var Go = {}, ds = null;
  function Oa(b, m) {
    if (b !== m) {
      b.context._currentValue2 = b.parentValue, b = b.parent;
      var A = m.parent;
      if (b === null) {
        if (A !== null) throw Error(n(401));
      } else {
        if (A === null) throw Error(n(401));
        Oa(b, A);
      }
      m.context._currentValue2 = m.value;
    }
  }
  function Ya(b) {
    b.context._currentValue2 = b.parentValue, b = b.parent, b !== null && Ya(b);
  }
  function ji(b) {
    var m = b.parent;
    m !== null && ji(m), b.context._currentValue2 = b.value;
  }
  function du(b, m) {
    if (b.context._currentValue2 = b.parentValue, b = b.parent, b === null) throw Error(n(402));
    b.depth === m.depth ? Oa(b, m) : du(b, m);
  }
  function Lo(b, m) {
    var A = m.parent;
    if (A === null) throw Error(n(402));
    b.depth === A.depth ? Oa(b, A) : Lo(b, A), m.context._currentValue2 = m.value;
  }
  function yo(b) {
    var m = ds;
    m !== b && (m === null ? ji(b) : b === null ? Ya(m) : m.depth === b.depth ? Oa(m, b) : m.depth > b.depth ? du(m, b) : Lo(m, b), ds = b);
  }
  var Ei = {
    enqueueSetState: function(b, m) {
      b = b._reactInternals, b.queue !== null && b.queue.push(m);
    },
    enqueueReplaceState: function(b, m) {
      b = b._reactInternals, b.replace = true, b.queue = [m];
    },
    enqueueForceUpdate: function() {
    }
  }, fs = { id: 1, overflow: "" };
  function Yo(b, m, A) {
    var N = b.id;
    b = b.overflow;
    var Y = 32 - zs(N) - 1;
    N &= ~(1 << Y), A += 1;
    var xe = 32 - zs(m) + Y;
    if (30 < xe) {
      var Be = Y - Y % 5;
      return xe = (N & (1 << Be) - 1).toString(32), N >>= Be, Y -= Be, {
        id: 1 << 32 - zs(m) + Y | A << Y | N,
        overflow: xe + b
      };
    }
    return {
      id: 1 << xe | A << Y | N,
      overflow: b
    };
  }
  var zs = Math.clz32 ? Math.clz32 : Ri, Ws = Math.log, nl = Math.LN2;
  function Ri(b) {
    return b >>>= 0, b === 0 ? 32 : 31 - (Ws(b) / nl | 0) | 0;
  }
  function ei() {
  }
  var Lr = Error(n(460));
  function rl(b, m, A) {
    switch (A = b[A], A === void 0 ? b.push(m) : A !== m && (m.then(ei, ei), m = A), m.status) {
      case "fulfilled":
        return m.value;
      case "rejected":
        throw m.reason;
      default:
        switch (typeof m.status == "string" ? m.then(ei, ei) : (b = m, b.status = "pending", b.then(
          function(N) {
            if (m.status === "pending") {
              var Y = m;
              Y.status = "fulfilled", Y.value = N;
            }
          },
          function(N) {
            if (m.status === "pending") {
              var Y = m;
              Y.status = "rejected", Y.reason = N;
            }
          }
        )), m.status) {
          case "fulfilled":
            return m.value;
          case "rejected":
            throw m.reason;
        }
        throw Ta = m, Lr;
    }
  }
  var Ta = null;
  function Bi() {
    if (Ta === null) throw Error(n(459));
    var b = Ta;
    return Ta = null, b;
  }
  function xc(b, m) {
    return b === m && (b !== 0 || 1 / b === 1 / m) || b !== b && m !== m;
  }
  var hs = typeof Object.is == "function" ? Object.is : xc, Xa = null, _l = null, ps = null, bs = null, Us = null, Yn = null, Da = false, Bo = false, qi = 0, co = 0, Hs = -1, wl = 0, gs = null, ms = null, Xo = 0;
  function jr() {
    if (Xa === null)
      throw Error(n(321));
    return Xa;
  }
  function Za() {
    if (0 < Xo) throw Error(n(312));
    return { memoizedState: null, queue: null, next: null };
  }
  function Zo() {
    return Yn === null ? Us === null ? (Da = false, Us = Yn = Za()) : (Da = true, Yn = Us) : Yn.next === null ? (Da = false, Yn = Yn.next = Za()) : (Da = true, Yn = Yn.next), Yn;
  }
  function ol() {
    var b = gs;
    return gs = null, b;
  }
  function Tl() {
    bs = ps = _l = Xa = null, Bo = false, Us = null, Xo = 0, Yn = ms = null;
  }
  function Ko(b, m) {
    return typeof m == "function" ? m(b) : m;
  }
  function Ci(b, m, A) {
    if (Xa = jr(), Yn = Zo(), Da) {
      var N = Yn.queue;
      if (m = N.dispatch, ms !== null && (A = ms.get(N), A !== void 0)) {
        ms.delete(N), N = Yn.memoizedState;
        do
          N = b(N, A.action), A = A.next;
        while (A !== null);
        return Yn.memoizedState = N, [N, m];
      }
      return [Yn.memoizedState, m];
    }
    return b = b === Ko ? typeof m == "function" ? m() : m : A !== void 0 ? A(m) : m, Yn.memoizedState = b, b = Yn.queue = { last: null, dispatch: null }, b = b.dispatch = Ja.bind(
      null,
      Xa,
      b
    ), [Yn.memoizedState, b];
  }
  function Ka(b, m) {
    if (Xa = jr(), Yn = Zo(), m = m === void 0 ? null : m, Yn !== null) {
      var A = Yn.memoizedState;
      if (A !== null && m !== null) {
        var N = A[1];
        e: if (N === null) N = false;
        else {
          for (var Y = 0; Y < N.length && Y < m.length; Y++)
            if (!hs(m[Y], N[Y])) {
              N = false;
              break e;
            }
          N = true;
        }
        if (N) return A[0];
      }
    }
    return b = b(), Yn.memoizedState = [b, m], b;
  }
  function Ja(b, m, A) {
    if (25 <= Xo) throw Error(n(301));
    if (b === Xa)
      if (Bo = true, b = { action: A, next: null }, ms === null && (ms = /* @__PURE__ */ new Map()), A = ms.get(m), A === void 0)
        ms.set(m, b);
      else {
        for (m = A; m.next !== null; ) m = m.next;
        m.next = b;
      }
  }
  function fu() {
    throw Error(n(440));
  }
  function vs() {
    throw Error(n(394));
  }
  function zo() {
    throw Error(n(479));
  }
  function ea(b, m, A) {
    jr();
    var N = co++, Y = ps;
    if (typeof b.$$FORM_ACTION == "function") {
      var xe = null, Be = bs;
      Y = Y.formState;
      var vt = b.$$IS_SIGNATURE_EQUAL;
      if (Y !== null && typeof vt == "function") {
        var Qe = Y[1];
        vt.call(b, Y[2], Y[3]) && (xe = A !== void 0 ? "p" + A : "k" + F(
          JSON.stringify([Be, null, N]),
          0
        ), Qe === xe && (Hs = N, m = Y[0]));
      }
      var bt = b.bind(null, m);
      return b = function(Mt) {
        bt(Mt);
      }, typeof bt.$$FORM_ACTION == "function" && (b.$$FORM_ACTION = function(Mt) {
        Mt = bt.$$FORM_ACTION(Mt), A !== void 0 && (A += "", Mt.action = A);
        var on = Mt.data;
        return on && (xe === null && (xe = A !== void 0 ? "p" + A : "k" + F(
          JSON.stringify([
            Be,
            null,
            N
          ]),
          0
        )), on.append("$ACTION_KEY", xe)), Mt;
      }), [m, b, false];
    }
    var Dt = b.bind(null, m);
    return [
      m,
      function(Mt) {
        Dt(Mt);
      },
      false
    ];
  }
  function ys(b) {
    var m = wl;
    return wl += 1, gs === null && (gs = []), rl(gs, b, m);
  }
  function Jo() {
    throw Error(n(393));
  }
  var f = {
    readContext: function(b) {
      return b._currentValue2;
    },
    use: function(b) {
      if (b !== null && typeof b == "object") {
        if (typeof b.then == "function") return ys(b);
        if (b.$$typeof === y)
          return b._currentValue2;
      }
      throw Error(n(438, String(b)));
    },
    useContext: function(b) {
      return jr(), b._currentValue2;
    },
    useMemo: Ka,
    useReducer: Ci,
    useRef: function(b) {
      Xa = jr(), Yn = Zo();
      var m = Yn.memoizedState;
      return m === null ? (b = { current: b }, Yn.memoizedState = b) : m;
    },
    useState: function(b) {
      return Ci(Ko, b);
    },
    useInsertionEffect: ei,
    useLayoutEffect: ei,
    useCallback: function(b, m) {
      return Ka(function() {
        return b;
      }, m);
    },
    useImperativeHandle: ei,
    useEffect: ei,
    useDebugValue: ei,
    useDeferredValue: function(b, m) {
      return jr(), m !== void 0 ? m : b;
    },
    useTransition: function() {
      return jr(), [false, vs];
    },
    useId: function() {
      var b = _l.treeContext, m = b.overflow;
      b = b.id, b = (b & ~(1 << 32 - zs(b) - 1)).toString(32) + m;
      var A = x;
      if (A === null) throw Error(n(404));
      return m = qi++, b = "_" + A.idPrefix + "R_" + b, 0 < m && (b += "H" + m.toString(32)), b + "_";
    },
    useSyncExternalStore: function(b, m, A) {
      if (A === void 0)
        throw Error(n(407));
      return A();
    },
    useOptimistic: function(b) {
      return jr(), [b, zo];
    },
    useActionState: ea,
    useFormState: ea,
    useHostTransitionStatus: function() {
      return jr(), Ge;
    },
    useMemoCache: function(b) {
      for (var m = Array(b), A = 0; A < b; A++)
        m[A] = X;
      return m;
    },
    useCacheRefresh: function() {
      return Jo;
    },
    useEffectEvent: function() {
      return fu;
    }
  }, x = null, E = {
    getCacheForType: function() {
      throw Error(n(248));
    },
    cacheSignal: function() {
      throw Error(n(248));
    }
  }, D, W;
  function V(b) {
    if (D === void 0)
      try {
        throw Error();
      } catch (A) {
        var m = A.stack.trim().match(/\n( *(at )?)/);
        D = m && m[1] || "", W = -1 < A.stack.indexOf(`
    at`) ? " (<anonymous>)" : -1 < A.stack.indexOf("@") ? "@unknown:0:0" : "";
      }
    return `
` + D + b + W;
  }
  var ge = false;
  function De(b, m) {
    if (!b || ge) return "";
    ge = true;
    var A = Error.prepareStackTrace;
    Error.prepareStackTrace = void 0;
    try {
      var N = {
        DetermineComponentFrameRoot: function() {
          try {
            if (m) {
              var Mt = function() {
                throw Error();
              };
              if (Object.defineProperty(Mt.prototype, "props", {
                set: function() {
                  throw Error();
                }
              }), typeof Reflect == "object" && Reflect.construct) {
                try {
                  Reflect.construct(Mt, []);
                } catch (Fn) {
                  var on = Fn;
                }
                Reflect.construct(b, [], Mt);
              } else {
                try {
                  Mt.call();
                } catch (Fn) {
                  on = Fn;
                }
                b.call(Mt.prototype);
              }
            } else {
              try {
                throw Error();
              } catch (Fn) {
                on = Fn;
              }
              (Mt = b()) && typeof Mt.catch == "function" && Mt.catch(function() {
              });
            }
          } catch (Fn) {
            if (Fn && on && typeof Fn.stack == "string")
              return [Fn.stack, on.stack];
          }
          return [null, null];
        }
      };
      N.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
      var Y = Object.getOwnPropertyDescriptor(
        N.DetermineComponentFrameRoot,
        "name"
      );
      Y && Y.configurable && Object.defineProperty(
        N.DetermineComponentFrameRoot,
        "name",
        { value: "DetermineComponentFrameRoot" }
      );
      var xe = N.DetermineComponentFrameRoot(), Be = xe[0], vt = xe[1];
      if (Be && vt) {
        var Qe = Be.split(`
`), bt = vt.split(`
`);
        for (Y = N = 0; N < Qe.length && !Qe[N].includes("DetermineComponentFrameRoot"); )
          N++;
        for (; Y < bt.length && !bt[Y].includes(
          "DetermineComponentFrameRoot"
        ); )
          Y++;
        if (N === Qe.length || Y === bt.length)
          for (N = Qe.length - 1, Y = bt.length - 1; 1 <= N && 0 <= Y && Qe[N] !== bt[Y]; )
            Y--;
        for (; 1 <= N && 0 <= Y; N--, Y--)
          if (Qe[N] !== bt[Y]) {
            if (N !== 1 || Y !== 1)
              do
                if (N--, Y--, 0 > Y || Qe[N] !== bt[Y]) {
                  var Dt = `
` + Qe[N].replace(" at new ", " at ");
                  return b.displayName && Dt.includes("<anonymous>") && (Dt = Dt.replace("<anonymous>", b.displayName)), Dt;
                }
              while (1 <= N && 0 <= Y);
            break;
          }
      }
    } finally {
      ge = false, Error.prepareStackTrace = A;
    }
    return (A = b ? b.displayName || b.name : "") ? V(A) : "";
  }
  function ve(b) {
    if (typeof b == "string") return V(b);
    if (typeof b == "function")
      return b.prototype && b.prototype.isReactComponent ? De(b, true) : De(b, false);
    if (typeof b == "object" && b !== null) {
      switch (b.$$typeof) {
        case k:
          return De(b.render, false);
        case I:
          return De(b.type, false);
        case P:
          var m = b, A = m._payload;
          m = m._init;
          try {
            b = m(A);
          } catch {
            return V("Lazy");
          }
          return ve(b);
      }
      if (typeof b.name == "string") {
        e: {
          A = b.name, m = b.env;
          var N = b.debugLocation;
          if (N != null && (b = Error.prepareStackTrace, Error.prepareStackTrace = void 0, N = N.stack, Error.prepareStackTrace = b, N.startsWith(`Error: react-stack-top-frame
`) && (N = N.slice(29)), b = N.indexOf(`
`), b !== -1 && (N = N.slice(b + 1)), b = N.indexOf("react_stack_bottom_frame"), b !== -1 && (b = N.lastIndexOf(`
`, b)), b = b !== -1 ? N = N.slice(0, b) : "", N = b.lastIndexOf(`
`), b = N === -1 ? b : b.slice(N + 1), b.indexOf(A) !== -1)) {
            A = `
` + b;
            break e;
          }
          A = V(
            A + (m ? " [" + m + "]" : "")
          );
        }
        return A;
      }
    }
    switch (b) {
      case R:
        return V("SuspenseList");
      case T:
        return V("Suspense");
    }
    return "";
  }
  function Fe(b, m) {
    return (500 < m.byteSize || false) && m.contentPreamble === null;
  }
  function He(b) {
    if (typeof b == "object" && b !== null && typeof b.environmentName == "string") {
      var m = b.environmentName;
      b = [b].slice(0), typeof b[0] == "string" ? b.splice(
        0,
        1,
        "[%s] " + b[0],
        " " + m + " "
      ) : b.splice(0, 0, "[%s]", " " + m + " "), b.unshift(console), m = Hu.apply(console.error, b), m();
    }
    return null;
  }
  function tt(b, m, A, N, Y, xe, Be, vt, Qe, bt, Dt) {
    var Mt = /* @__PURE__ */ new Set();
    this.destination = null, this.flushScheduled = false, this.resumableState = b, this.renderState = m, this.rootFormatContext = A, this.progressiveChunkSize = N === void 0 ? 12800 : N, this.status = 10, this.fatalError = null, this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0, this.completedPreambleSegments = this.completedRootSegment = null, this.byteSize = 0, this.abortableTasks = Mt, this.pingedTasks = [], this.clientRenderedBoundaries = [], this.completedBoundaries = [], this.partialBoundaries = [], this.trackedPostpones = null, this.onError = Y === void 0 ? He : Y, this.onPostpone = bt === void 0 ? ei : bt, this.onAllReady = xe === void 0 ? ei : xe, this.onShellReady = Be === void 0 ? ei : Be, this.onShellError = vt === void 0 ? ei : vt, this.onFatalError = Qe === void 0 ? ei : Qe, this.formState = Dt === void 0 ? null : Dt;
  }
  function me(b, m, A, N, Y, xe, Be, vt, Qe, bt, Dt, Mt) {
    return m = new tt(
      m,
      A,
      N,
      Y,
      xe,
      Be,
      vt,
      Qe,
      bt,
      Dt,
      Mt
    ), A = ee(
      m,
      0,
      null,
      N,
      false,
      false
    ), A.parentFlushed = true, b = Ne(
      m,
      null,
      b,
      -1,
      null,
      A,
      null,
      null,
      m.abortableTasks,
      null,
      N,
      null,
      fs,
      null,
      null
    ), K(b), m.pingedTasks.push(b), m;
  }
  var Oe = null;
  function ye(b, m) {
    b.pingedTasks.push(m), b.pingedTasks.length === 1 && (b.flushScheduled = b.destination !== null, xo(b));
  }
  function Ee(b, m, A, N, Y) {
    return A = {
      status: 0,
      rootSegmentID: -1,
      parentFlushed: false,
      pendingTasks: 0,
      row: m,
      completedSegments: [],
      byteSize: 0,
      fallbackAbortableTasks: A,
      errorDigest: null,
      contentState: kt(),
      fallbackState: kt(),
      contentPreamble: N,
      fallbackPreamble: Y,
      trackedContentKeyPath: null,
      trackedFallbackNode: null
    }, m !== null && (m.pendingTasks++, N = m.boundaries, N !== null && (b.allPendingTasks++, A.pendingTasks++, N.push(A)), b = m.inheritedHoistables, b !== null && Ul(A.contentState, b)), A;
  }
  function Ne(b, m, A, N, Y, xe, Be, vt, Qe, bt, Dt, Mt, on, Fn, cr) {
    b.allPendingTasks++, Y === null ? b.pendingRootTasks++ : Y.pendingTasks++, Fn !== null && Fn.pendingTasks++;
    var Zn = {
      replay: null,
      node: A,
      childIndex: N,
      ping: function() {
        return ye(b, Zn);
      },
      blockedBoundary: Y,
      blockedSegment: xe,
      blockedPreamble: Be,
      hoistableState: vt,
      abortSet: Qe,
      keyPath: bt,
      formatContext: Dt,
      context: Mt,
      treeContext: on,
      row: Fn,
      componentStack: cr,
      thenableState: m
    };
    return Qe.add(Zn), Zn;
  }
  function j(b, m, A, N, Y, xe, Be, vt, Qe, bt, Dt, Mt, on, Fn) {
    b.allPendingTasks++, xe === null ? b.pendingRootTasks++ : xe.pendingTasks++, on !== null && on.pendingTasks++, A.pendingTasks++;
    var cr = {
      replay: A,
      node: N,
      childIndex: Y,
      ping: function() {
        return ye(b, cr);
      },
      blockedBoundary: xe,
      blockedSegment: null,
      blockedPreamble: null,
      hoistableState: Be,
      abortSet: vt,
      keyPath: Qe,
      formatContext: bt,
      context: Dt,
      treeContext: Mt,
      row: on,
      componentStack: Fn,
      thenableState: m
    };
    return vt.add(cr), cr;
  }
  function ee(b, m, A, N, Y, xe) {
    return {
      status: 0,
      parentFlushed: false,
      id: -1,
      index: m,
      chunks: [],
      children: [],
      preambleChildren: [],
      parentFormatContext: N,
      boundary: A,
      lastPushedText: Y,
      textEmbedded: xe
    };
  }
  function K(b) {
    var m = b.node;
    if (typeof m == "object" && m !== null)
      switch (m.$$typeof) {
        case r:
          b.componentStack = { parent: b.componentStack, type: m.type };
      }
  }
  function J(b) {
    return b === null ? null : { parent: b.parent, type: "Suspense Fallback" };
  }
  function se(b) {
    var m = {};
    return b && Object.defineProperty(m, "componentStack", {
      configurable: true,
      enumerable: true,
      get: function() {
        try {
          var A = "", N = b;
          do
            A += ve(N.type), N = N.parent;
          while (N);
          var Y = A;
        } catch (xe) {
          Y = `
Error generating stack: ` + xe.message + `
` + xe.stack;
        }
        return Object.defineProperty(m, "componentStack", {
          value: Y
        }), Y;
      }
    }), m;
  }
  function fe(b, m, A) {
    if (b = b.onError, m = b(m, A), m == null || typeof m == "string") return m;
  }
  function Ce(b, m) {
    var A = b.onShellError, N = b.onFatalError;
    A(m), N(m), b.destination !== null ? (b.status = 14, b.destination.destroy(m)) : (b.status = 13, b.fatalError = m);
  }
  function Se(b, m) {
    ft(b, m.next, m.hoistables);
  }
  function ft(b, m, A) {
    for (; m !== null; ) {
      A !== null && (Ul(m.hoistables, A), m.inheritedHoistables = A);
      var N = m.boundaries;
      if (N !== null) {
        m.boundaries = null;
        for (var Y = 0; Y < N.length; Y++) {
          var xe = N[Y];
          A !== null && Ul(xe.contentState, A), mn(b, xe, null, null);
        }
      }
      if (m.pendingTasks--, 0 < m.pendingTasks) break;
      A = m.hoistables, m = m.next;
    }
  }
  function tn(b, m) {
    var A = m.boundaries;
    if (A !== null && m.pendingTasks === A.length) {
      for (var N = true, Y = 0; Y < A.length; Y++) {
        var xe = A[Y];
        if (xe.pendingTasks !== 1 || xe.parentFlushed || Fe(b, xe)) {
          N = false;
          break;
        }
      }
      N && ft(b, m, m.hoistables);
    }
  }
  function qt(b) {
    var m = {
      pendingTasks: 1,
      boundaries: null,
      hoistables: kt(),
      inheritedHoistables: null,
      together: false,
      next: null
    };
    return b !== null && 0 < b.pendingTasks && (m.pendingTasks++, m.boundaries = [], b.next = m), m;
  }
  function Gt(b, m, A, N, Y) {
    var xe = m.keyPath, Be = m.treeContext, vt = m.row;
    m.keyPath = A, A = N.length;
    var Qe = null;
    if (m.replay !== null) {
      var bt = m.replay.slots;
      if (bt !== null && typeof bt == "object")
        for (var Dt = 0; Dt < A; Dt++) {
          var Mt = Y !== "backwards" && Y !== "unstable_legacy-backwards" ? Dt : A - 1 - Dt, on = N[Mt];
          m.row = Qe = qt(
            Qe
          ), m.treeContext = Yo(Be, A, Mt);
          var Fn = bt[Mt];
          typeof Fn == "number" ? (Ye(b, m, Fn, on, Mt), delete bt[Mt]) : sr(b, m, on, Mt), --Qe.pendingTasks === 0 && Se(b, Qe);
        }
      else
        for (bt = 0; bt < A; bt++)
          Dt = Y !== "backwards" && Y !== "unstable_legacy-backwards" ? bt : A - 1 - bt, Mt = N[Dt], m.row = Qe = qt(Qe), m.treeContext = Yo(Be, A, Dt), sr(b, m, Mt, Dt), --Qe.pendingTasks === 0 && Se(b, Qe);
    } else if (Y !== "backwards" && Y !== "unstable_legacy-backwards")
      for (Y = 0; Y < A; Y++)
        bt = N[Y], m.row = Qe = qt(Qe), m.treeContext = Yo(
          Be,
          A,
          Y
        ), sr(b, m, bt, Y), --Qe.pendingTasks === 0 && Se(b, Qe);
    else {
      for (Y = m.blockedSegment, bt = Y.children.length, Dt = Y.chunks.length, Mt = A - 1; 0 <= Mt; Mt--) {
        on = N[Mt], m.row = Qe = qt(
          Qe
        ), m.treeContext = Yo(Be, A, Mt), Fn = ee(
          b,
          Dt,
          null,
          m.formatContext,
          Mt === 0 ? Y.lastPushedText : true,
          true
        ), Y.children.splice(bt, 0, Fn), m.blockedSegment = Fn;
        try {
          sr(b, m, on, Mt), cs(
            Fn.chunks,
            b.renderState,
            Fn.lastPushedText,
            Fn.textEmbedded
          ), Fn.status = 1, --Qe.pendingTasks === 0 && Se(b, Qe);
        } catch (cr) {
          throw Fn.status = b.status === 12 ? 3 : 4, cr;
        }
      }
      m.blockedSegment = Y, Y.lastPushedText = false;
    }
    vt !== null && Qe !== null && 0 < Qe.pendingTasks && (vt.pendingTasks++, Qe.next = vt), m.treeContext = Be, m.row = vt, m.keyPath = xe;
  }
  function vn(b, m, A, N, Y, xe) {
    var Be = m.thenableState;
    for (m.thenableState = null, Xa = {}, _l = m, ps = b, bs = A, co = qi = 0, Hs = -1, wl = 0, gs = Be, b = N(Y, xe); Bo; )
      Bo = false, co = qi = 0, Hs = -1, wl = 0, Xo += 1, Yn = null, b = N(Y, xe);
    return Tl(), b;
  }
  function gn(b, m, A, N, Y, xe, Be) {
    var vt = false;
    if (xe !== 0 && b.formState !== null) {
      var Qe = m.blockedSegment;
      if (Qe !== null) {
        vt = true, Qe = Qe.chunks;
        for (var bt = 0; bt < xe; bt++)
          bt === Be ? Qe.push("<!--F!-->") : Qe.push("<!--F-->");
      }
    }
    xe = m.keyPath, m.keyPath = A, Y ? (A = m.treeContext, m.treeContext = Yo(A, 1, 0), sr(b, m, N, -1), m.treeContext = A) : vt ? sr(b, m, N, -1) : Pe(b, m, N, -1), m.keyPath = xe;
  }
  function Et(b, m, A, N, Y, xe) {
    if (typeof N == "function")
      if (N.prototype && N.prototype.isReactComponent) {
        var Be = Y;
        if ("ref" in Y) {
          Be = {};
          for (var vt in Y)
            vt !== "ref" && (Be[vt] = Y[vt]);
        }
        var Qe = N.defaultProps;
        if (Qe) {
          Be === Y && (Be = ne({}, Be, Y));
          for (var bt in Qe)
            Be[bt] === void 0 && (Be[bt] = Qe[bt]);
        }
        Y = Be, Be = Go, Qe = N.contextType, typeof Qe == "object" && Qe !== null && (Be = Qe._currentValue2), Be = new N(Y, Be);
        var Dt = Be.state !== void 0 ? Be.state : null;
        if (Be.updater = Ei, Be.props = Y, Be.state = Dt, Qe = { queue: [], replace: false }, Be._reactInternals = Qe, xe = N.contextType, Be.context = typeof xe == "object" && xe !== null ? xe._currentValue2 : Go, xe = N.getDerivedStateFromProps, typeof xe == "function" && (xe = xe(Y, Dt), Dt = xe == null ? Dt : ne({}, Dt, xe), Be.state = Dt), typeof N.getDerivedStateFromProps != "function" && typeof Be.getSnapshotBeforeUpdate != "function" && (typeof Be.UNSAFE_componentWillMount == "function" || typeof Be.componentWillMount == "function"))
          if (N = Be.state, typeof Be.componentWillMount == "function" && Be.componentWillMount(), typeof Be.UNSAFE_componentWillMount == "function" && Be.UNSAFE_componentWillMount(), N !== Be.state && Ei.enqueueReplaceState(
            Be,
            Be.state,
            null
          ), Qe.queue !== null && 0 < Qe.queue.length)
            if (N = Qe.queue, xe = Qe.replace, Qe.queue = null, Qe.replace = false, xe && N.length === 1)
              Be.state = N[0];
            else {
              for (Qe = xe ? N[0] : Be.state, Dt = true, xe = xe ? 1 : 0; xe < N.length; xe++)
                bt = N[xe], bt = typeof bt == "function" ? bt.call(Be, Qe, Y, void 0) : bt, bt != null && (Dt ? (Dt = false, Qe = ne({}, Qe, bt)) : ne(Qe, bt));
              Be.state = Qe;
            }
          else Qe.queue = null;
        if (N = Be.render(), b.status === 12) throw null;
        Y = m.keyPath, m.keyPath = A, Pe(b, m, N, -1), m.keyPath = Y;
      } else {
        if (N = vn(b, m, A, N, Y, void 0), b.status === 12) throw null;
        gn(
          b,
          m,
          A,
          N,
          qi !== 0,
          co,
          Hs
        );
      }
    else if (typeof N == "string")
      if (Be = m.blockedSegment, Be === null)
        Be = Y.children, Qe = m.formatContext, Dt = m.keyPath, m.formatContext = ct(Qe, N, Y), m.keyPath = A, sr(b, m, Be, -1), m.formatContext = Qe, m.keyPath = Dt;
      else {
        if (Dt = bn(
          Be.chunks,
          N,
          Y,
          b.resumableState,
          b.renderState,
          m.blockedPreamble,
          m.hoistableState,
          m.formatContext,
          Be.lastPushedText
        ), Be.lastPushedText = false, Qe = m.formatContext, xe = m.keyPath, m.keyPath = A, (m.formatContext = ct(Qe, N, Y)).insertionMode === 3) {
          A = ee(
            b,
            0,
            null,
            m.formatContext,
            false,
            false
          ), Be.preambleChildren.push(A), m.blockedSegment = A;
          try {
            A.status = 6, sr(b, m, Dt, -1), cs(
              A.chunks,
              b.renderState,
              A.lastPushedText,
              A.textEmbedded
            ), A.status = 1;
          } finally {
            m.blockedSegment = Be;
          }
        } else sr(b, m, Dt, -1);
        m.formatContext = Qe, m.keyPath = xe;
        e: {
          switch (m = Be.chunks, b = b.resumableState, N) {
            case "title":
            case "style":
            case "script":
            case "area":
            case "base":
            case "br":
            case "col":
            case "embed":
            case "hr":
            case "img":
            case "input":
            case "keygen":
            case "link":
            case "meta":
            case "param":
            case "source":
            case "track":
            case "wbr":
              break e;
            case "body":
              if (1 >= Qe.insertionMode) {
                b.hasBody = true;
                break e;
              }
              break;
            case "html":
              if (Qe.insertionMode === 0) {
                b.hasHtml = true;
                break e;
              }
              break;
            case "head":
              if (1 >= Qe.insertionMode) break e;
          }
          m.push(Mn(N));
        }
        Be.lastPushedText = false;
      }
    else {
      switch (N) {
        case B:
        case u:
        case p:
        case i:
          N = m.keyPath, m.keyPath = A, Pe(b, m, Y.children, -1), m.keyPath = N;
          return;
        case U:
          N = m.blockedSegment, N === null ? Y.mode !== "hidden" && (N = m.keyPath, m.keyPath = A, sr(b, m, Y.children, -1), m.keyPath = N) : Y.mode !== "hidden" && (b.renderState.generateStaticMarkup || N.chunks.push("<!--&-->"), N.lastPushedText = false, Be = m.keyPath, m.keyPath = A, sr(b, m, Y.children, -1), m.keyPath = Be, b.renderState.generateStaticMarkup || N.chunks.push("<!--/&-->"), N.lastPushedText = false);
          return;
        case R:
          e: {
            if (N = Y.children, Y = Y.revealOrder, Y === "forwards" || Y === "backwards" || Y === "unstable_legacy-backwards") {
              if (q(N)) {
                Gt(b, m, A, N, Y);
                break e;
              }
              if ((Be = Q(N)) && (Be = Be.call(N))) {
                if (Qe = Be.next(), !Qe.done) {
                  do
                    Qe = Be.next();
                  while (!Qe.done);
                  Gt(b, m, A, N, Y);
                }
                break e;
              }
            }
            Y === "together" ? (Y = m.keyPath, Be = m.row, Qe = m.row = qt(null), Qe.boundaries = [], Qe.together = true, m.keyPath = A, Pe(b, m, N, -1), --Qe.pendingTasks === 0 && Se(b, Qe), m.keyPath = Y, m.row = Be, Be !== null && 0 < Qe.pendingTasks && (Be.pendingTasks++, Qe.next = Be)) : (Y = m.keyPath, m.keyPath = A, Pe(b, m, N, -1), m.keyPath = Y);
          }
          return;
        case Z:
        case S:
          throw Error(n(343));
        case T:
          e: if (m.replay !== null) {
            N = m.keyPath, Be = m.formatContext, Qe = m.row, m.keyPath = A, m.formatContext = qe(
              b.resumableState,
              Be
            ), m.row = null, A = Y.children;
            try {
              sr(b, m, A, -1);
            } finally {
              m.keyPath = N, m.formatContext = Be, m.row = Qe;
            }
          } else {
            N = m.keyPath, xe = m.formatContext;
            var Mt = m.row, on = m.blockedBoundary;
            bt = m.blockedPreamble;
            var Fn = m.hoistableState;
            vt = m.blockedSegment;
            var cr = Y.fallback;
            Y = Y.children;
            var Zn = /* @__PURE__ */ new Set(), Wn = Ee(
              b,
              m.row,
              Zn,
              null,
              null
            );
            b.trackedPostpones !== null && (Wn.trackedContentKeyPath = A);
            var qn = ee(
              b,
              vt.chunks.length,
              Wn,
              m.formatContext,
              false,
              false
            );
            vt.children.push(qn), vt.lastPushedText = false;
            var $n = ee(
              b,
              0,
              null,
              m.formatContext,
              false,
              false
            );
            if ($n.parentFlushed = true, b.trackedPostpones !== null) {
              Be = m.componentStack, Qe = [A[0], "Suspense Fallback", A[2]], Dt = [Qe[1], Qe[2], [], null], b.trackedPostpones.workingMap.set(Qe, Dt), Wn.trackedFallbackNode = Dt, m.blockedSegment = qn, m.blockedPreamble = Wn.fallbackPreamble, m.keyPath = Qe, m.formatContext = Ot(
                b.resumableState,
                xe
              ), m.componentStack = J(Be), qn.status = 6;
              try {
                sr(b, m, cr, -1), cs(
                  qn.chunks,
                  b.renderState,
                  qn.lastPushedText,
                  qn.textEmbedded
                ), qn.status = 1;
              } catch (_o) {
                throw qn.status = b.status === 12 ? 3 : 4, _o;
              } finally {
                m.blockedSegment = vt, m.blockedPreamble = bt, m.keyPath = N, m.formatContext = xe;
              }
              m = Ne(
                b,
                null,
                Y,
                -1,
                Wn,
                $n,
                Wn.contentPreamble,
                Wn.contentState,
                m.abortSet,
                A,
                qe(
                  b.resumableState,
                  m.formatContext
                ),
                m.context,
                m.treeContext,
                null,
                Be
              ), K(m), b.pingedTasks.push(m);
            } else {
              m.blockedBoundary = Wn, m.blockedPreamble = Wn.contentPreamble, m.hoistableState = Wn.contentState, m.blockedSegment = $n, m.keyPath = A, m.formatContext = qe(
                b.resumableState,
                xe
              ), m.row = null, $n.status = 6;
              try {
                if (sr(b, m, Y, -1), cs(
                  $n.chunks,
                  b.renderState,
                  $n.lastPushedText,
                  $n.textEmbedded
                ), $n.status = 1, Br(Wn, $n), Wn.pendingTasks === 0 && Wn.status === 0) {
                  if (Wn.status = 1, !Fe(b, Wn)) {
                    Mt !== null && --Mt.pendingTasks === 0 && Se(b, Mt), b.pendingRootTasks === 0 && m.blockedPreamble && Ui(b);
                    break e;
                  }
                } else
                  Mt !== null && Mt.together && tn(b, Mt);
              } catch (_o) {
                Wn.status = 4, b.status === 12 ? ($n.status = 3, Be = b.fatalError) : ($n.status = 4, Be = _o), Qe = se(m.componentStack), Dt = fe(
                  b,
                  Be,
                  Qe
                ), Wn.errorDigest = Dt, yn(b, Wn);
              } finally {
                m.blockedBoundary = on, m.blockedPreamble = bt, m.hoistableState = Fn, m.blockedSegment = vt, m.keyPath = N, m.formatContext = xe, m.row = Mt;
              }
              m = Ne(
                b,
                null,
                cr,
                -1,
                on,
                qn,
                Wn.fallbackPreamble,
                Wn.fallbackState,
                Zn,
                [A[0], "Suspense Fallback", A[2]],
                Ot(
                  b.resumableState,
                  m.formatContext
                ),
                m.context,
                m.treeContext,
                m.row,
                J(
                  m.componentStack
                )
              ), K(m), b.pingedTasks.push(m);
            }
          }
          return;
      }
      if (typeof N == "object" && N !== null)
        switch (N.$$typeof) {
          case k:
            if ("ref" in Y)
              for (cr in Be = {}, Y)
                cr !== "ref" && (Be[cr] = Y[cr]);
            else Be = Y;
            N = vn(
              b,
              m,
              A,
              N.render,
              Be,
              xe
            ), gn(
              b,
              m,
              A,
              N,
              qi !== 0,
              co,
              Hs
            );
            return;
          case I:
            Et(b, m, A, N.type, Y, xe);
            return;
          case y:
            if (Qe = Y.children, Be = m.keyPath, Y = Y.value, Dt = N._currentValue2, N._currentValue2 = Y, xe = ds, ds = N = {
              parent: xe,
              depth: xe === null ? 0 : xe.depth + 1,
              context: N,
              parentValue: Dt,
              value: Y
            }, m.context = N, m.keyPath = A, Pe(b, m, Qe, -1), b = ds, b === null) throw Error(n(403));
            b.context._currentValue2 = b.parentValue, b = ds = b.parent, m.context = b, m.keyPath = Be;
            return;
          case v:
            Y = Y.children, N = Y(N._context._currentValue2), Y = m.keyPath, m.keyPath = A, Pe(b, m, N, -1), m.keyPath = Y;
            return;
          case P:
            if (Be = N._init, N = Be(N._payload), b.status === 12) throw null;
            Et(b, m, A, N, Y, xe);
            return;
        }
      throw Error(
        n(130, N == null ? N : typeof N, "")
      );
    }
  }
  function Ye(b, m, A, N, Y) {
    var xe = m.replay, Be = m.blockedBoundary, vt = ee(
      b,
      0,
      null,
      m.formatContext,
      false,
      false
    );
    vt.id = A, vt.parentFlushed = true;
    try {
      m.replay = null, m.blockedSegment = vt, sr(b, m, N, Y), vt.status = 1, Be === null ? b.completedRootSegment = vt : (Br(Be, vt), Be.parentFlushed && b.partialBoundaries.push(Be));
    } finally {
      m.replay = xe, m.blockedSegment = null;
    }
  }
  function Pe(b, m, A, N) {
    m.replay !== null && typeof m.replay.slots == "number" ? Ye(b, m, m.replay.slots, A, N) : (m.node = A, m.childIndex = N, A = m.componentStack, K(m), ue(b, m), m.componentStack = A);
  }
  function ue(b, m) {
    var A = m.node, N = m.childIndex;
    if (A !== null) {
      if (typeof A == "object") {
        switch (A.$$typeof) {
          case r:
            var Y = A.type, xe = A.key, Be = A.props;
            A = Be.ref;
            var vt = A !== void 0 ? A : null, Qe = cu(Y), bt = xe ?? (N === -1 ? 0 : N);
            if (xe = [m.keyPath, Qe, bt], m.replay !== null)
              e: {
                var Dt = m.replay;
                for (N = Dt.nodes, A = 0; A < N.length; A++) {
                  var Mt = N[A];
                  if (bt === Mt[1]) {
                    if (Mt.length === 4) {
                      if (Qe !== null && Qe !== Mt[0])
                        throw Error(
                          n(490, Mt[0], Qe)
                        );
                      var on = Mt[2];
                      Qe = Mt[3], bt = m.node, m.replay = {
                        nodes: on,
                        slots: Qe,
                        pendingTasks: 1
                      };
                      try {
                        if (Et(b, m, xe, Y, Be, vt), m.replay.pendingTasks === 1 && 0 < m.replay.nodes.length)
                          throw Error(n(488));
                        m.replay.pendingTasks--;
                      } catch (Gr) {
                        if (typeof Gr == "object" && Gr !== null && (Gr === Lr || typeof Gr.then == "function"))
                          throw m.node === bt ? m.replay = Dt : N.splice(A, 1), Gr;
                        m.replay.pendingTasks--, Be = se(m.componentStack), xe = b, b = m.blockedBoundary, Y = Gr, Be = fe(xe, Y, Be), fo(
                          xe,
                          b,
                          on,
                          Qe,
                          Y,
                          Be
                        );
                      }
                      m.replay = Dt;
                    } else {
                      if (Y !== T)
                        throw Error(
                          n(
                            490,
                            "Suspense",
                            cu(Y) || "Unknown"
                          )
                        );
                      t: {
                        Dt = void 0, Y = Mt[5], vt = Mt[2], Qe = Mt[3], bt = Mt[4] === null ? [] : Mt[4][2], Mt = Mt[4] === null ? null : Mt[4][3];
                        var Fn = m.keyPath, cr = m.formatContext, Zn = m.row, Wn = m.replay, qn = m.blockedBoundary, $n = m.hoistableState, _o = Be.children, dr = Be.fallback, Ar = /* @__PURE__ */ new Set();
                        Be = Ee(
                          b,
                          m.row,
                          Ar,
                          null,
                          null
                        ), Be.parentFlushed = true, Be.rootSegmentID = Y, m.blockedBoundary = Be, m.hoistableState = Be.contentState, m.keyPath = xe, m.formatContext = qe(
                          b.resumableState,
                          cr
                        ), m.row = null, m.replay = {
                          nodes: vt,
                          slots: Qe,
                          pendingTasks: 1
                        };
                        try {
                          if (sr(b, m, _o, -1), m.replay.pendingTasks === 1 && 0 < m.replay.nodes.length)
                            throw Error(n(488));
                          if (m.replay.pendingTasks--, Be.pendingTasks === 0 && Be.status === 0) {
                            Be.status = 1, b.completedBoundaries.push(Be);
                            break t;
                          }
                        } catch (Gr) {
                          Be.status = 4, on = se(m.componentStack), Dt = fe(
                            b,
                            Gr,
                            on
                          ), Be.errorDigest = Dt, m.replay.pendingTasks--, b.clientRenderedBoundaries.push(Be);
                        } finally {
                          m.blockedBoundary = qn, m.hoistableState = $n, m.replay = Wn, m.keyPath = Fn, m.formatContext = cr, m.row = Zn;
                        }
                        on = j(
                          b,
                          null,
                          {
                            nodes: bt,
                            slots: Mt,
                            pendingTasks: 0
                          },
                          dr,
                          -1,
                          qn,
                          Be.fallbackState,
                          Ar,
                          [xe[0], "Suspense Fallback", xe[2]],
                          Ot(
                            b.resumableState,
                            m.formatContext
                          ),
                          m.context,
                          m.treeContext,
                          m.row,
                          J(
                            m.componentStack
                          )
                        ), K(on), b.pingedTasks.push(on);
                      }
                    }
                    N.splice(A, 1);
                    break e;
                  }
                }
              }
            else Et(b, m, xe, Y, Be, vt);
            return;
          case o:
            throw Error(n(257));
          case P:
            if (on = A._init, A = on(A._payload), b.status === 12) throw null;
            Pe(b, m, A, N);
            return;
        }
        if (q(A)) {
          Ie(b, m, A, N);
          return;
        }
        if ((on = Q(A)) && (on = on.call(A))) {
          if (A = on.next(), !A.done) {
            Be = [];
            do
              Be.push(A.value), A = on.next();
            while (!A.done);
            Ie(b, m, Be, N);
          }
          return;
        }
        if (typeof A.then == "function")
          return m.thenableState = null, Pe(b, m, ys(A), N);
        if (A.$$typeof === y)
          return Pe(
            b,
            m,
            A._currentValue2,
            N
          );
        throw N = Object.prototype.toString.call(A), Error(
          n(
            31,
            N === "[object Object]" ? "object with keys {" + Object.keys(A).join(", ") + "}" : N
          )
        );
      }
      typeof A == "string" ? (N = m.blockedSegment, N !== null && (N.lastPushedText = us(
        N.chunks,
        A,
        b.renderState,
        N.lastPushedText
      ))) : (typeof A == "number" || typeof A == "bigint") && (N = m.blockedSegment, N !== null && (N.lastPushedText = us(
        N.chunks,
        "" + A,
        b.renderState,
        N.lastPushedText
      )));
    }
  }
  function Ie(b, m, A, N) {
    var Y = m.keyPath;
    if (N !== -1 && (m.keyPath = [m.keyPath, "Fragment", N], m.replay !== null)) {
      for (var xe = m.replay, Be = xe.nodes, vt = 0; vt < Be.length; vt++) {
        var Qe = Be[vt];
        if (Qe[1] === N) {
          N = Qe[2], Qe = Qe[3], m.replay = { nodes: N, slots: Qe, pendingTasks: 1 };
          try {
            if (Ie(b, m, A, -1), m.replay.pendingTasks === 1 && 0 < m.replay.nodes.length)
              throw Error(n(488));
            m.replay.pendingTasks--;
          } catch (Mt) {
            if (typeof Mt == "object" && Mt !== null && (Mt === Lr || typeof Mt.then == "function"))
              throw Mt;
            m.replay.pendingTasks--, A = se(m.componentStack);
            var bt = m.blockedBoundary, Dt = Mt;
            A = fe(b, Dt, A), fo(
              b,
              bt,
              N,
              Qe,
              Dt,
              A
            );
          }
          m.replay = xe, Be.splice(vt, 1);
          break;
        }
      }
      m.keyPath = Y;
      return;
    }
    if (xe = m.treeContext, Be = A.length, m.replay !== null && (vt = m.replay.slots, vt !== null && typeof vt == "object")) {
      for (N = 0; N < Be; N++)
        Qe = A[N], m.treeContext = Yo(xe, Be, N), bt = vt[N], typeof bt == "number" ? (Ye(b, m, bt, Qe, N), delete vt[N]) : sr(b, m, Qe, N);
      m.treeContext = xe, m.keyPath = Y;
      return;
    }
    for (vt = 0; vt < Be; vt++)
      N = A[vt], m.treeContext = Yo(xe, Be, vt), sr(b, m, N, vt);
    m.treeContext = xe, m.keyPath = Y;
  }
  function It(b, m, A) {
    if (A.status = 5, A.rootSegmentID = b.nextSegmentId++, b = A.trackedContentKeyPath, b === null) throw Error(n(486));
    var N = A.trackedFallbackNode, Y = [], xe = m.workingMap.get(b);
    return xe === void 0 ? (A = [
      b[1],
      b[2],
      Y,
      null,
      N,
      A.rootSegmentID
    ], m.workingMap.set(b, A), qr(A, b[0], m), A) : (xe[4] = N, xe[5] = A.rootSegmentID, xe);
  }
  function pt(b, m, A, N) {
    N.status = 5;
    var Y = A.keyPath, xe = A.blockedBoundary;
    if (xe === null)
      N.id = b.nextSegmentId++, m.rootSlots = N.id, b.completedRootSegment !== null && (b.completedRootSegment.status = 5);
    else {
      if (xe !== null && xe.status === 0) {
        var Be = It(
          b,
          m,
          xe
        );
        if (xe.trackedContentKeyPath === Y && A.childIndex === -1) {
          N.id === -1 && (N.id = N.parentFlushed ? xe.rootSegmentID : b.nextSegmentId++), Be[3] = N.id;
          return;
        }
      }
      if (N.id === -1 && (N.id = N.parentFlushed && xe !== null ? xe.rootSegmentID : b.nextSegmentId++), A.childIndex === -1)
        Y === null ? m.rootSlots = N.id : (A = m.workingMap.get(Y), A === void 0 ? (A = [Y[1], Y[2], [], N.id], qr(A, Y[0], m)) : A[3] = N.id);
      else {
        if (Y === null) {
          if (b = m.rootSlots, b === null)
            b = m.rootSlots = {};
          else if (typeof b == "number")
            throw Error(n(491));
        } else if (xe = m.workingMap, Be = xe.get(Y), Be === void 0)
          b = {}, Be = [Y[1], Y[2], [], b], xe.set(Y, Be), qr(Be, Y[0], m);
        else if (b = Be[3], b === null)
          b = Be[3] = {};
        else if (typeof b == "number")
          throw Error(n(491));
        b[A.childIndex] = N.id;
      }
    }
  }
  function yn(b, m) {
    b = b.trackedPostpones, b !== null && (m = m.trackedContentKeyPath, m !== null && (m = b.workingMap.get(m), m !== void 0 && (m.length = 4, m[2] = [], m[3] = null)));
  }
  function zn(b, m, A) {
    return j(
      b,
      A,
      m.replay,
      m.node,
      m.childIndex,
      m.blockedBoundary,
      m.hoistableState,
      m.abortSet,
      m.keyPath,
      m.formatContext,
      m.context,
      m.treeContext,
      m.row,
      m.componentStack
    );
  }
  function Bn(b, m, A) {
    var N = m.blockedSegment, Y = ee(
      b,
      N.chunks.length,
      null,
      m.formatContext,
      N.lastPushedText,
      true
    );
    return N.children.push(Y), N.lastPushedText = false, Ne(
      b,
      A,
      m.node,
      m.childIndex,
      m.blockedBoundary,
      Y,
      m.blockedPreamble,
      m.hoistableState,
      m.abortSet,
      m.keyPath,
      m.formatContext,
      m.context,
      m.treeContext,
      m.row,
      m.componentStack
    );
  }
  function sr(b, m, A, N) {
    var Y = m.formatContext, xe = m.context, Be = m.keyPath, vt = m.treeContext, Qe = m.componentStack, bt = m.blockedSegment;
    if (bt === null) {
      bt = m.replay;
      try {
        return Pe(b, m, A, N);
      } catch (on) {
        if (Tl(), A = on === Lr ? Bi() : on, b.status !== 12 && typeof A == "object" && A !== null) {
          if (typeof A.then == "function") {
            N = on === Lr ? ol() : null, b = zn(b, m, N).ping, A.then(b, b), m.formatContext = Y, m.context = xe, m.keyPath = Be, m.treeContext = vt, m.componentStack = Qe, m.replay = bt, yo(xe);
            return;
          }
          if (A.message === "Maximum call stack size exceeded") {
            A = on === Lr ? ol() : null, A = zn(b, m, A), b.pingedTasks.push(A), m.formatContext = Y, m.context = xe, m.keyPath = Be, m.treeContext = vt, m.componentStack = Qe, m.replay = bt, yo(xe);
            return;
          }
        }
      }
    } else {
      var Dt = bt.children.length, Mt = bt.chunks.length;
      try {
        return Pe(b, m, A, N);
      } catch (on) {
        if (Tl(), bt.children.length = Dt, bt.chunks.length = Mt, A = on === Lr ? Bi() : on, b.status !== 12 && typeof A == "object" && A !== null) {
          if (typeof A.then == "function") {
            bt = A, A = on === Lr ? ol() : null, b = Bn(b, m, A).ping, bt.then(b, b), m.formatContext = Y, m.context = xe, m.keyPath = Be, m.treeContext = vt, m.componentStack = Qe, yo(xe);
            return;
          }
          if (A.message === "Maximum call stack size exceeded") {
            bt = on === Lr ? ol() : null, bt = Bn(b, m, bt), b.pingedTasks.push(bt), m.formatContext = Y, m.context = xe, m.keyPath = Be, m.treeContext = vt, m.componentStack = Qe, yo(xe);
            return;
          }
        }
      }
    }
    throw m.formatContext = Y, m.context = xe, m.keyPath = Be, m.treeContext = vt, yo(xe), A;
  }
  function Vr(b) {
    var m = b.blockedBoundary, A = b.blockedSegment;
    A !== null && (A.status = 3, mn(this, m, b.row, A));
  }
  function fo(b, m, A, N, Y, xe) {
    for (var Be = 0; Be < A.length; Be++) {
      var vt = A[Be];
      if (vt.length === 4)
        fo(
          b,
          m,
          vt[2],
          vt[3],
          Y,
          xe
        );
      else {
        vt = vt[5];
        var Qe = b, bt = xe, Dt = Ee(
          Qe,
          null,
          /* @__PURE__ */ new Set(),
          null,
          null
        );
        Dt.parentFlushed = true, Dt.rootSegmentID = vt, Dt.status = 4, Dt.errorDigest = bt, Dt.parentFlushed && Qe.clientRenderedBoundaries.push(Dt);
      }
    }
    if (A.length = 0, N !== null) {
      if (m === null) throw Error(n(487));
      if (m.status !== 4 && (m.status = 4, m.errorDigest = xe, m.parentFlushed && b.clientRenderedBoundaries.push(m)), typeof N == "object") for (var Mt in N) delete N[Mt];
    }
  }
  function zi(b, m, A) {
    var N = b.blockedBoundary, Y = b.blockedSegment;
    if (Y !== null) {
      if (Y.status === 6) return;
      Y.status = 3;
    }
    var xe = se(b.componentStack);
    if (N === null) {
      if (m.status !== 13 && m.status !== 14) {
        if (N = b.replay, N === null) {
          m.trackedPostpones !== null && Y !== null ? (N = m.trackedPostpones, fe(m, A, xe), pt(m, N, b, Y), mn(m, null, b.row, Y)) : (fe(m, A, xe), Ce(m, A));
          return;
        }
        N.pendingTasks--, N.pendingTasks === 0 && 0 < N.nodes.length && (Y = fe(m, A, xe), fo(
          m,
          null,
          N.nodes,
          N.slots,
          A,
          Y
        )), m.pendingRootTasks--, m.pendingRootTasks === 0 && ho(m);
      }
    } else {
      var Be = m.trackedPostpones;
      if (N.status !== 4) {
        if (Be !== null && Y !== null)
          return fe(m, A, xe), pt(m, Be, b, Y), N.fallbackAbortableTasks.forEach(function(vt) {
            return zi(vt, m, A);
          }), N.fallbackAbortableTasks.clear(), mn(m, N, b.row, Y);
        N.status = 4, Y = fe(m, A, xe), N.status = 4, N.errorDigest = Y, yn(m, N), N.parentFlushed && m.clientRenderedBoundaries.push(N);
      }
      N.pendingTasks--, Y = N.row, Y !== null && --Y.pendingTasks === 0 && Se(m, Y), N.fallbackAbortableTasks.forEach(function(vt) {
        return zi(vt, m, A);
      }), N.fallbackAbortableTasks.clear();
    }
    b = b.row, b !== null && --b.pendingTasks === 0 && Se(m, b), m.allPendingTasks--, m.allPendingTasks === 0 && So(m);
  }
  function Ii(b, m) {
    try {
      var A = b.renderState, N = A.onHeaders;
      if (N) {
        var Y = A.headers;
        if (Y) {
          A.headers = null;
          var xe = Y.preconnects;
          if (Y.fontPreloads && (xe && (xe += ", "), xe += Y.fontPreloads), Y.highImagePreloads && (xe && (xe += ", "), xe += Y.highImagePreloads), !m) {
            var Be = A.styles.values(), vt = Be.next();
            e: for (; 0 < Y.remainingCapacity && !vt.done; vt = Be.next())
              for (var Qe = vt.value.sheets.values(), bt = Qe.next(); 0 < Y.remainingCapacity && !bt.done; bt = Qe.next()) {
                var Dt = bt.value, Mt = Dt.props, on = Mt.href, Fn = Dt.props, cr = Pr(Fn.href, "style", {
                  crossOrigin: Fn.crossOrigin,
                  integrity: Fn.integrity,
                  nonce: Fn.nonce,
                  type: Fn.type,
                  fetchPriority: Fn.fetchPriority,
                  referrerPolicy: Fn.referrerPolicy,
                  media: Fn.media
                });
                if (0 <= (Y.remainingCapacity -= cr.length + 2))
                  A.resets.style[on] = _e, xe && (xe += ", "), xe += cr, A.resets.style[on] = typeof Mt.crossOrigin == "string" || typeof Mt.integrity == "string" ? [Mt.crossOrigin, Mt.integrity] : _e;
                else break e;
              }
          }
          N(xe ? { Link: xe } : {});
        }
      }
    } catch (Zn) {
      fe(b, Zn, {});
    }
  }
  function ho(b) {
    b.trackedPostpones === null && Ii(b, true), b.trackedPostpones === null && Ui(b), b.onShellError = ei, b = b.onShellReady, b();
  }
  function So(b) {
    Ii(
      b,
      b.trackedPostpones === null ? true : b.completedRootSegment === null || b.completedRootSegment.status !== 5
    ), Ui(b), b = b.onAllReady, b();
  }
  function Br(b, m) {
    if (m.chunks.length === 0 && m.children.length === 1 && m.children[0].boundary === null && m.children[0].id === -1) {
      var A = m.children[0];
      A.id = m.id, A.parentFlushed = true, A.status !== 1 && A.status !== 3 && A.status !== 4 || Br(b, A);
    } else b.completedSegments.push(m);
  }
  function mn(b, m, A, N) {
    if (A !== null && (--A.pendingTasks === 0 ? Se(b, A) : A.together && tn(b, A)), b.allPendingTasks--, m === null) {
      if (N !== null && N.parentFlushed) {
        if (b.completedRootSegment !== null)
          throw Error(n(389));
        b.completedRootSegment = N;
      }
      b.pendingRootTasks--, b.pendingRootTasks === 0 && ho(b);
    } else if (m.pendingTasks--, m.status !== 4)
      if (m.pendingTasks === 0) {
        if (m.status === 0 && (m.status = 1), N !== null && N.parentFlushed && (N.status === 1 || N.status === 3) && Br(m, N), m.parentFlushed && b.completedBoundaries.push(m), m.status === 1)
          A = m.row, A !== null && Ul(A.hoistables, m.contentState), Fe(b, m) || (m.fallbackAbortableTasks.forEach(Vr, b), m.fallbackAbortableTasks.clear(), A !== null && --A.pendingTasks === 0 && Se(b, A)), b.pendingRootTasks === 0 && b.trackedPostpones === null && m.contentPreamble !== null && Ui(b);
        else if (m.status === 5 && (m = m.row, m !== null)) {
          if (b.trackedPostpones !== null) {
            A = b.trackedPostpones;
            var Y = m.next;
            if (Y !== null && (N = Y.boundaries, N !== null))
              for (Y.boundaries = null, Y = 0; Y < N.length; Y++) {
                var xe = N[Y];
                It(b, A, xe), mn(b, xe, null, null);
              }
          }
          --m.pendingTasks === 0 && Se(b, m);
        }
      } else
        N === null || !N.parentFlushed || N.status !== 1 && N.status !== 3 || (Br(m, N), m.completedSegments.length === 1 && m.parentFlushed && b.partialBoundaries.push(m)), m = m.row, m !== null && m.together && tn(b, m);
    b.allPendingTasks === 0 && So(b);
  }
  function xo(b) {
    if (b.status !== 14 && b.status !== 13) {
      var m = ds, A = Ue.H;
      Ue.H = f;
      var N = Ue.A;
      Ue.A = E;
      var Y = Oe;
      Oe = b;
      var xe = x;
      x = b.resumableState;
      try {
        var Be = b.pingedTasks, vt;
        for (vt = 0; vt < Be.length; vt++) {
          var Qe = Be[vt], bt = b, Dt = Qe.blockedSegment;
          if (Dt === null) {
            var Mt = bt;
            if (Qe.replay.pendingTasks !== 0) {
              yo(Qe.context);
              try {
                if (typeof Qe.replay.slots == "number" ? Ye(
                  Mt,
                  Qe,
                  Qe.replay.slots,
                  Qe.node,
                  Qe.childIndex
                ) : ue(Mt, Qe), Qe.replay.pendingTasks === 1 && 0 < Qe.replay.nodes.length)
                  throw Error(n(488));
                Qe.replay.pendingTasks--, Qe.abortSet.delete(Qe), mn(
                  Mt,
                  Qe.blockedBoundary,
                  Qe.row,
                  null
                );
              } catch (er) {
                Tl();
                var on = er === Lr ? Bi() : er;
                if (typeof on == "object" && on !== null && typeof on.then == "function") {
                  var Fn = Qe.ping;
                  on.then(Fn, Fn), Qe.thenableState = er === Lr ? ol() : null;
                } else {
                  Qe.replay.pendingTasks--, Qe.abortSet.delete(Qe);
                  var cr = se(Qe.componentStack);
                  bt = void 0;
                  var Zn = Mt, Wn = Qe.blockedBoundary, qn = Mt.status === 12 ? Mt.fatalError : on, $n = Qe.replay.nodes, _o = Qe.replay.slots;
                  bt = fe(
                    Zn,
                    qn,
                    cr
                  ), fo(
                    Zn,
                    Wn,
                    $n,
                    _o,
                    qn,
                    bt
                  ), Mt.pendingRootTasks--, Mt.pendingRootTasks === 0 && ho(Mt), Mt.allPendingTasks--, Mt.allPendingTasks === 0 && So(Mt);
                }
              } finally {
              }
            }
          } else if (Mt = void 0, Zn = Dt, Zn.status === 0) {
            Zn.status = 6, yo(Qe.context);
            var dr = Zn.children.length, Ar = Zn.chunks.length;
            try {
              ue(bt, Qe), cs(
                Zn.chunks,
                bt.renderState,
                Zn.lastPushedText,
                Zn.textEmbedded
              ), Qe.abortSet.delete(Qe), Zn.status = 1, mn(
                bt,
                Qe.blockedBoundary,
                Qe.row,
                Zn
              );
            } catch (er) {
              Tl(), Zn.children.length = dr, Zn.chunks.length = Ar;
              var Gr = er === Lr ? Bi() : bt.status === 12 ? bt.fatalError : er;
              if (bt.status === 12 && bt.trackedPostpones !== null) {
                var tr = bt.trackedPostpones, Ao = se(Qe.componentStack);
                Qe.abortSet.delete(Qe), fe(bt, Gr, Ao), pt(bt, tr, Qe, Zn), mn(
                  bt,
                  Qe.blockedBoundary,
                  Qe.row,
                  Zn
                );
              } else if (typeof Gr == "object" && Gr !== null && typeof Gr.then == "function") {
                Zn.status = 0, Qe.thenableState = er === Lr ? ol() : null;
                var zr = Qe.ping;
                Gr.then(zr, zr);
              } else {
                var na = se(Qe.componentStack);
                Qe.abortSet.delete(Qe), Zn.status = 4;
                var Xr = Qe.blockedBoundary, Rr = Qe.row;
                if (Rr !== null && --Rr.pendingTasks === 0 && Se(bt, Rr), bt.allPendingTasks--, Mt = fe(
                  bt,
                  Gr,
                  na
                ), Xr === null) Ce(bt, Gr);
                else if (Xr.pendingTasks--, Xr.status !== 4) {
                  Xr.status = 4, Xr.errorDigest = Mt, yn(bt, Xr);
                  var Wr = Xr.row;
                  Wr !== null && --Wr.pendingTasks === 0 && Se(bt, Wr), Xr.parentFlushed && bt.clientRenderedBoundaries.push(Xr), bt.pendingRootTasks === 0 && bt.trackedPostpones === null && Xr.contentPreamble !== null && Ui(bt);
                }
                bt.allPendingTasks === 0 && So(bt);
              }
            } finally {
            }
          }
        }
        Be.splice(0, vt), b.destination !== null && ja(b, b.destination);
      } catch (er) {
        fe(b, er, {}), Ce(b, er);
      } finally {
        x = xe, Ue.H = A, Ue.A = N, A === f && yo(m), Oe = Y;
      }
    }
  }
  function Wi(b, m, A) {
    m.preambleChildren.length && A.push(m.preambleChildren);
    for (var N = false, Y = 0; Y < m.children.length; Y++)
      N = Qa(
        b,
        m.children[Y],
        A
      ) || N;
    return N;
  }
  function Qa(b, m, A) {
    var N = m.boundary;
    if (N === null)
      return Wi(
        b,
        m,
        A
      );
    var Y = N.contentPreamble, xe = N.fallbackPreamble;
    if (Y === null || xe === null) return false;
    switch (N.status) {
      case 1:
        if (gr(b.renderState, Y), b.byteSize += N.byteSize, m = N.completedSegments[0], !m) throw Error(n(391));
        return Wi(
          b,
          m,
          A
        );
      case 5:
        if (b.trackedPostpones !== null) return true;
      case 4:
        if (m.status === 1)
          return gr(b.renderState, xe), Wi(
            b,
            m,
            A
          );
      default:
        return true;
    }
  }
  function Ui(b) {
    if (b.completedRootSegment && b.completedPreambleSegments === null) {
      var m = [], A = b.byteSize, N = Qa(
        b,
        b.completedRootSegment,
        m
      ), Y = b.renderState.preamble;
      N === false || Y.headChunks && Y.bodyChunks ? b.completedPreambleSegments = m : b.byteSize = A;
    }
  }
  function po(b, m, A, N) {
    switch (A.parentFlushed = true, A.status) {
      case 0:
        A.id = b.nextSegmentId++;
      case 5:
        return N = A.id, A.lastPushedText = false, A.textEmbedded = false, b = b.renderState, m.push('<template id="'), m.push(b.placeholderPrefix), b = N.toString(16), m.push(b), m.push('"></template>');
      case 1:
        A.status = 2;
        var Y = true, xe = A.chunks, Be = 0;
        A = A.children;
        for (var vt = 0; vt < A.length; vt++) {
          for (Y = A[vt]; Be < Y.index; Be++)
            m.push(xe[Be]);
          Y = Hi(b, m, Y, N);
        }
        for (; Be < xe.length - 1; Be++)
          m.push(xe[Be]);
        return Be < xe.length && (Y = m.push(xe[Be])), Y;
      case 3:
        return true;
      default:
        throw Error(n(390));
    }
  }
  var lo = 0;
  function Hi(b, m, A, N) {
    var Y = A.boundary;
    if (Y === null)
      return po(b, m, A, N);
    if (Y.parentFlushed = true, Y.status === 4) {
      var xe = Y.row;
      return xe !== null && --xe.pendingTasks === 0 && Se(b, xe), b.renderState.generateStaticMarkup || (Y = Y.errorDigest, m.push("<!--$!-->"), m.push("<template"), Y && (m.push(' data-dgst="'), Y = ze(Y), m.push(Y), m.push('"')), m.push("></template>")), po(b, m, A, N), b = b.renderState.generateStaticMarkup ? true : m.push("<!--/$-->"), b;
    }
    if (Y.status !== 1)
      return Y.status === 0 && (Y.rootSegmentID = b.nextSegmentId++), 0 < Y.completedSegments.length && b.partialBoundaries.push(Y), Co(
        m,
        b.renderState,
        Y.rootSegmentID
      ), N && Ul(N, Y.fallbackState), po(b, m, A, N), m.push("<!--/$-->");
    if (!Mi && Fe(b, Y) && lo + Y.byteSize > b.progressiveChunkSize)
      return Y.rootSegmentID = b.nextSegmentId++, b.completedBoundaries.push(Y), Co(
        m,
        b.renderState,
        Y.rootSegmentID
      ), po(b, m, A, N), m.push("<!--/$-->");
    if (lo += Y.byteSize, N && Ul(N, Y.contentState), A = Y.row, A !== null && Fe(b, Y) && --A.pendingTasks === 0 && Se(b, A), b.renderState.generateStaticMarkup || m.push("<!--$-->"), A = Y.completedSegments, A.length !== 1) throw Error(n(391));
    return Hi(b, m, A[0], N), b = b.renderState.generateStaticMarkup ? true : m.push("<!--/$-->"), b;
  }
  function rr(b, m, A, N) {
    return No(
      m,
      b.renderState,
      A.parentFormatContext,
      A.id
    ), Hi(b, m, A, N), ls(m, A.parentFormatContext);
  }
  function pr(b, m, A) {
    lo = A.byteSize;
    for (var N = A.completedSegments, Y = 0; Y < N.length; Y++)
      ta(
        b,
        m,
        A,
        N[Y]
      );
    N.length = 0, N = A.row, N !== null && Fe(b, A) && --N.pendingTasks === 0 && Se(b, N), ki(
      m,
      A.contentState,
      b.renderState
    ), N = b.resumableState, b = b.renderState, Y = A.rootSegmentID, A = A.contentState;
    var xe = b.stylesToHoist;
    return b.stylesToHoist = false, m.push(b.startInlineScript), m.push(">"), xe ? ((N.instructions & 4) === 0 && (N.instructions |= 4, m.push(
      '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
    )), (N.instructions & 2) === 0 && (N.instructions |= 2, m.push(
      `$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`
    )), (N.instructions & 8) === 0 ? (N.instructions |= 8, m.push(
      `$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`
    )) : m.push('$RR("')) : ((N.instructions & 2) === 0 && (N.instructions |= 2, m.push(
      `$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`
    )), m.push('$RC("')), N = Y.toString(16), m.push(b.boundaryPrefix), m.push(N), m.push('","'), m.push(b.segmentPrefix), m.push(N), xe ? (m.push('",'), un(m, A)) : m.push('"'), A = m.push(")<\/script>"), mi(m, b) && A;
  }
  function ta(b, m, A, N) {
    if (N.status === 2) return true;
    var Y = A.contentState, xe = N.id;
    if (xe === -1) {
      if ((N.id = A.rootSegmentID) === -1)
        throw Error(n(392));
      return rr(b, m, N, Y);
    }
    return xe === A.rootSegmentID ? rr(b, m, N, Y) : (rr(b, m, N, Y), A = b.resumableState, b = b.renderState, m.push(b.startInlineScript), m.push(">"), (A.instructions & 1) === 0 ? (A.instructions |= 1, m.push(
      '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'
    )) : m.push('$RS("'), m.push(b.segmentPrefix), xe = xe.toString(16), m.push(xe), m.push('","'), m.push(b.placeholderPrefix), m.push(xe), m = m.push('")<\/script>'), m);
  }
  var Mi = false;
  function ja(b, m) {
    try {
      if (!(0 < b.pendingRootTasks)) {
        var A, N = b.completedRootSegment;
        if (N !== null) {
          if (N.status === 5) return;
          var Y = b.completedPreambleSegments;
          if (Y === null) return;
          lo = b.byteSize;
          var xe = b.resumableState, Be = b.renderState, vt = Be.preamble, Qe = vt.htmlChunks, bt = vt.headChunks, Dt;
          if (Qe) {
            for (Dt = 0; Dt < Qe.length; Dt++)
              m.push(Qe[Dt]);
            if (bt)
              for (Dt = 0; Dt < bt.length; Dt++)
                m.push(bt[Dt]);
            else {
              var Mt = _n("head");
              m.push(Mt), m.push(">");
            }
          } else if (bt)
            for (Dt = 0; Dt < bt.length; Dt++)
              m.push(bt[Dt]);
          var on = Be.charsetChunks;
          for (Dt = 0; Dt < on.length; Dt++)
            m.push(on[Dt]);
          on.length = 0, Be.preconnects.forEach(Nr, m), Be.preconnects.clear();
          var Fn = Be.viewportChunks;
          for (Dt = 0; Dt < Fn.length; Dt++)
            m.push(Fn[Dt]);
          Fn.length = 0, Be.fontPreloads.forEach(Nr, m), Be.fontPreloads.clear(), Be.highImagePreloads.forEach(Nr, m), Be.highImagePreloads.clear(), st = Be, Be.styles.forEach(Dn, m), st = null;
          var cr = Be.importMapChunks;
          for (Dt = 0; Dt < cr.length; Dt++)
            m.push(cr[Dt]);
          cr.length = 0, Be.bootstrapScripts.forEach(Nr, m), Be.scripts.forEach(Nr, m), Be.scripts.clear(), Be.bulkPreloads.forEach(Nr, m), Be.bulkPreloads.clear(), xe.instructions |= 32;
          var Zn = Be.hoistableChunks;
          for (Dt = 0; Dt < Zn.length; Dt++)
            m.push(Zn[Dt]);
          for (xe = Zn.length = 0; xe < Y.length; xe++) {
            var Wn = Y[xe];
            for (Be = 0; Be < Wn.length; Be++)
              Hi(b, m, Wn[Be], null);
          }
          var qn = b.renderState.preamble, $n = qn.headChunks;
          if (qn.htmlChunks || $n) {
            var _o = Mn("head");
            m.push(_o);
          }
          var dr = qn.bodyChunks;
          if (dr)
            for (Y = 0; Y < dr.length; Y++)
              m.push(dr[Y]);
          Hi(b, m, N, null), b.completedRootSegment = null;
          var Ar = b.renderState;
          if (b.allPendingTasks !== 0 || b.clientRenderedBoundaries.length !== 0 || b.completedBoundaries.length !== 0 || b.trackedPostpones !== null && (b.trackedPostpones.rootNodes.length !== 0 || b.trackedPostpones.rootSlots !== null)) {
            var Gr = b.resumableState;
            if ((Gr.instructions & 64) === 0) {
              if (Gr.instructions |= 64, m.push(Ar.startInlineScript), (Gr.instructions & 32) === 0) {
                Gr.instructions |= 32;
                var tr = "_" + Gr.idPrefix + "R_";
                m.push(' id="');
                var Ao = ze(tr);
                m.push(Ao), m.push('"');
              }
              m.push(">"), m.push(
                "requestAnimationFrame(function(){$RT=performance.now()});"
              ), m.push("<\/script>");
            }
          }
          mi(m, Ar);
        }
        var zr = b.renderState;
        N = 0;
        var na = zr.viewportChunks;
        for (N = 0; N < na.length; N++)
          m.push(na[N]);
        na.length = 0, zr.preconnects.forEach(Nr, m), zr.preconnects.clear(), zr.fontPreloads.forEach(Nr, m), zr.fontPreloads.clear(), zr.highImagePreloads.forEach(
          Nr,
          m
        ), zr.highImagePreloads.clear(), zr.styles.forEach(it, m), zr.scripts.forEach(Nr, m), zr.scripts.clear(), zr.bulkPreloads.forEach(Nr, m), zr.bulkPreloads.clear();
        var Xr = zr.hoistableChunks;
        for (N = 0; N < Xr.length; N++)
          m.push(Xr[N]);
        Xr.length = 0;
        var Rr = b.clientRenderedBoundaries;
        for (A = 0; A < Rr.length; A++) {
          var Wr = Rr[A];
          zr = m;
          var er = b.resumableState, Ur = b.renderState, Si = Wr.rootSegmentID, br = Wr.errorDigest;
          zr.push(Ur.startInlineScript), zr.push(">"), (er.instructions & 4) === 0 ? (er.instructions |= 4, zr.push(
            '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
          )) : zr.push('$RX("'), zr.push(Ur.boundaryPrefix);
          var $l = Si.toString(16);
          if (zr.push($l), zr.push('"'), br) {
            zr.push(",");
            var El = Fr(
              br || ""
            );
            zr.push(El);
          }
          var ra = zr.push(")<\/script>");
          if (!ra) {
            b.destination = null, A++, Rr.splice(0, A);
            return;
          }
        }
        Rr.splice(0, A);
        var xs = b.completedBoundaries;
        for (A = 0; A < xs.length; A++)
          if (!pr(b, m, xs[A])) {
            b.destination = null, A++, xs.splice(0, A);
            return;
          }
        xs.splice(0, A), Mi = true;
        var _s = b.partialBoundaries;
        for (A = 0; A < _s.length; A++) {
          var ws = _s[A];
          e: {
            Rr = b, Wr = m, lo = ws.byteSize;
            var il = ws.completedSegments;
            for (ra = 0; ra < il.length; ra++)
              if (!ta(
                Rr,
                Wr,
                ws,
                il[ra]
              )) {
                ra++, il.splice(0, ra);
                var Cl = false;
                break e;
              }
            il.splice(0, ra);
            var yi = ws.row;
            yi !== null && yi.together && ws.pendingTasks === 1 && (yi.pendingTasks === 1 ? ft(
              Rr,
              yi,
              yi.hoistables
            ) : yi.pendingTasks--), Cl = ki(
              Wr,
              ws.contentState,
              Rr.renderState
            );
          }
          if (!Cl) {
            b.destination = null, A++, _s.splice(0, A);
            return;
          }
        }
        _s.splice(0, A), Mi = false;
        var hu = b.completedBoundaries;
        for (A = 0; A < hu.length; A++)
          if (!pr(b, m, hu[A])) {
            b.destination = null, A++, hu.splice(0, A);
            return;
          }
        hu.splice(0, A);
      }
    } finally {
      Mi = false, b.allPendingTasks === 0 && b.clientRenderedBoundaries.length === 0 && b.completedBoundaries.length === 0 && (b.flushScheduled = false, A = b.resumableState, A.hasBody && (_s = Mn("body"), m.push(_s)), A.hasHtml && (A = Mn("html"), m.push(A)), b.status = 14, m.push(null), b.destination = null);
    }
  }
  function Oi(b) {
    if (b.flushScheduled === false && b.pingedTasks.length === 0 && b.destination !== null) {
      b.flushScheduled = true;
      var m = b.destination;
      m ? ja(b, m) : b.flushScheduled = false;
    }
  }
  function $s(b, m) {
    if (b.status === 13)
      b.status = 14, m.destroy(b.fatalError);
    else if (b.status !== 14 && b.destination === null) {
      b.destination = m;
      try {
        ja(b, m);
      } catch (A) {
        fe(b, A, {}), Ce(b, A);
      }
    }
  }
  function $u(b, m) {
    (b.status === 11 || b.status === 10) && (b.status = 12);
    try {
      var A = b.abortableTasks;
      if (0 < A.size) {
        var N = m === void 0 ? Error(n(432)) : typeof m == "object" && m !== null && typeof m.then == "function" ? Error(n(530)) : m;
        b.fatalError = N, A.forEach(function(Y) {
          return zi(Y, b, N);
        }), A.clear();
      }
      b.destination !== null && ja(b, b.destination);
    } catch (Y) {
      fe(b, Y, {}), Ce(b, Y);
    }
  }
  function qr(b, m, A) {
    if (m === null) A.rootNodes.push(b);
    else {
      var N = A.workingMap, Y = N.get(m);
      Y === void 0 && (Y = [m[1], m[2], [], null], N.set(m, Y), qr(Y, m[0], A)), Y[2].push(b);
    }
  }
  function kl() {
  }
  function bf(b, m, A, N) {
    var Y = false, xe = null, Be = "", vt = false;
    if (m = gt(m ? m.identifierPrefix : void 0), b = me(
      b,
      m,
      Hl(m, A),
      xt(0, null, 0, null),
      1 / 0,
      kl,
      void 0,
      function() {
        vt = true;
      },
      void 0,
      void 0,
      void 0
    ), b.flushScheduled = b.destination !== null, xo(b), b.status === 10 && (b.status = 11), b.trackedPostpones === null && Ii(b, b.pendingRootTasks === 0), $u(b, N), $s(b, {
      push: function(Qe) {
        return Qe !== null && (Be += Qe), true;
      },
      destroy: function(Qe) {
        Y = true, xe = Qe;
      }
    }), Y && xe !== N) throw xe;
    if (!vt) throw Error(n(426));
    return Be;
  }
  return w0.renderToStaticMarkup = function(b, m) {
    return bf(
      b,
      m,
      true,
      'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
    );
  }, w0.renderToString = function(b, m) {
    return bf(
      b,
      m,
      false,
      'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
    );
  }, w0.version = "19.2.0", w0;
}
var Nh = {};
var kx;
function R0e() {
  if (kx) return Nh;
  kx = 1;
  var e10 = React, t = ch;
  function n(h) {
    var g = "https://react.dev/errors/" + h;
    if (1 < arguments.length) {
      g += "?args[]=" + encodeURIComponent(arguments[1]);
      for (var C = 2; C < arguments.length; C++)
        g += "&args[]=" + encodeURIComponent(arguments[C]);
    }
    return "Minified React error #" + h + "; visit " + g + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  var r = Symbol.for("react.transitional.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), v = Symbol.for("react.consumer"), y = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), S = Symbol.for("react.scope"), U = Symbol.for("react.activity"), B = Symbol.for("react.legacy_hidden"), X = Symbol.for("react.memo_cache_sentinel"), Z = Symbol.for("react.view_transition"), te = Symbol.iterator;
  function Q(h) {
    return h === null || typeof h != "object" ? null : (h = te && h[te] || h["@@iterator"], typeof h == "function" ? h : null);
  }
  var q = Array.isArray;
  function F(h, g) {
    var C = h.length & 3, L = h.length - C, $ = g;
    for (g = 0; g < L; ) {
      var ce = h.charCodeAt(g) & 255 | (h.charCodeAt(++g) & 255) << 8 | (h.charCodeAt(++g) & 255) << 16 | (h.charCodeAt(++g) & 255) << 24;
      ++g, ce = 3432918353 * (ce & 65535) + ((3432918353 * (ce >>> 16) & 65535) << 16) & 4294967295, ce = ce << 15 | ce >>> 17, ce = 461845907 * (ce & 65535) + ((461845907 * (ce >>> 16) & 65535) << 16) & 4294967295, $ ^= ce, $ = $ << 13 | $ >>> 19, $ = 5 * ($ & 65535) + ((5 * ($ >>> 16) & 65535) << 16) & 4294967295, $ = ($ & 65535) + 27492 + ((($ >>> 16) + 58964 & 65535) << 16);
    }
    switch (ce = 0, C) {
      case 3:
        ce ^= (h.charCodeAt(g + 2) & 255) << 16;
      case 2:
        ce ^= (h.charCodeAt(g + 1) & 255) << 8;
      case 1:
        ce ^= h.charCodeAt(g) & 255, ce = 3432918353 * (ce & 65535) + ((3432918353 * (ce >>> 16) & 65535) << 16) & 4294967295, ce = ce << 15 | ce >>> 17, $ ^= 461845907 * (ce & 65535) + ((461845907 * (ce >>> 16) & 65535) << 16) & 4294967295;
    }
    return $ ^= h.length, $ ^= $ >>> 16, $ = 2246822507 * ($ & 65535) + ((2246822507 * ($ >>> 16) & 65535) << 16) & 4294967295, $ ^= $ >>> 13, $ = 3266489909 * ($ & 65535) + ((3266489909 * ($ >>> 16) & 65535) << 16) & 4294967295, ($ ^ $ >>> 16) >>> 0;
  }
  var ne = new MessageChannel(), ae = [];
  ne.port1.onmessage = function() {
    var h = ae.shift();
    h && h();
  };
  function pe(h) {
    ae.push(h), ne.port2.postMessage(null);
  }
  function Ve(h) {
    setTimeout(function() {
      throw h;
    });
  }
  var we = Promise, Te = typeof queueMicrotask == "function" ? queueMicrotask : function(h) {
    we.resolve(null).then(h).catch(Ve);
  }, be = null, ie = 0;
  function de(h, g) {
    if (g.byteLength !== 0)
      if (2048 < g.byteLength)
        0 < ie && (h.enqueue(
          new Uint8Array(be.buffer, 0, ie)
        ), be = new Uint8Array(2048), ie = 0), h.enqueue(g);
      else {
        var C = be.length - ie;
        C < g.byteLength && (C === 0 ? h.enqueue(be) : (be.set(g.subarray(0, C), ie), h.enqueue(be), g = g.subarray(C)), be = new Uint8Array(2048), ie = 0), be.set(g, ie), ie += g.byteLength;
      }
  }
  function ze(h, g) {
    return de(h, g), true;
  }
  function nt(h) {
    be && 0 < ie && (h.enqueue(new Uint8Array(be.buffer, 0, ie)), be = null, ie = 0);
  }
  var ut = new TextEncoder();
  function Le(h) {
    return ut.encode(h);
  }
  function oe(h) {
    return ut.encode(h);
  }
  function Ue(h) {
    return h.byteLength;
  }
  function We(h, g) {
    typeof h.error == "function" ? h.error(g) : h.close();
  }
  var Ge = Object.assign, Ze = Object.prototype.hasOwnProperty, _e = RegExp(
    "^[: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]*$"
  ), st = {}, Ke = {};
  function ht(h) {
    return Ze.call(Ke, h) ? true : Ze.call(st, h) ? false : _e.test(h) ? Ke[h] = true : (st[h] = true, false);
  }
  var gt = new Set(
    "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
      " "
    )
  ), xt = /* @__PURE__ */ new Map([
    ["acceptCharset", "accept-charset"],
    ["htmlFor", "for"],
    ["httpEquiv", "http-equiv"],
    ["crossOrigin", "crossorigin"],
    ["accentHeight", "accent-height"],
    ["alignmentBaseline", "alignment-baseline"],
    ["arabicForm", "arabic-form"],
    ["baselineShift", "baseline-shift"],
    ["capHeight", "cap-height"],
    ["clipPath", "clip-path"],
    ["clipRule", "clip-rule"],
    ["colorInterpolation", "color-interpolation"],
    ["colorInterpolationFilters", "color-interpolation-filters"],
    ["colorProfile", "color-profile"],
    ["colorRendering", "color-rendering"],
    ["dominantBaseline", "dominant-baseline"],
    ["enableBackground", "enable-background"],
    ["fillOpacity", "fill-opacity"],
    ["fillRule", "fill-rule"],
    ["floodColor", "flood-color"],
    ["floodOpacity", "flood-opacity"],
    ["fontFamily", "font-family"],
    ["fontSize", "font-size"],
    ["fontSizeAdjust", "font-size-adjust"],
    ["fontStretch", "font-stretch"],
    ["fontStyle", "font-style"],
    ["fontVariant", "font-variant"],
    ["fontWeight", "font-weight"],
    ["glyphName", "glyph-name"],
    ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
    ["glyphOrientationVertical", "glyph-orientation-vertical"],
    ["horizAdvX", "horiz-adv-x"],
    ["horizOriginX", "horiz-origin-x"],
    ["imageRendering", "image-rendering"],
    ["letterSpacing", "letter-spacing"],
    ["lightingColor", "lighting-color"],
    ["markerEnd", "marker-end"],
    ["markerMid", "marker-mid"],
    ["markerStart", "marker-start"],
    ["overlinePosition", "overline-position"],
    ["overlineThickness", "overline-thickness"],
    ["paintOrder", "paint-order"],
    ["panose-1", "panose-1"],
    ["pointerEvents", "pointer-events"],
    ["renderingIntent", "rendering-intent"],
    ["shapeRendering", "shape-rendering"],
    ["stopColor", "stop-color"],
    ["stopOpacity", "stop-opacity"],
    ["strikethroughPosition", "strikethrough-position"],
    ["strikethroughThickness", "strikethrough-thickness"],
    ["strokeDasharray", "stroke-dasharray"],
    ["strokeDashoffset", "stroke-dashoffset"],
    ["strokeLinecap", "stroke-linecap"],
    ["strokeLinejoin", "stroke-linejoin"],
    ["strokeMiterlimit", "stroke-miterlimit"],
    ["strokeOpacity", "stroke-opacity"],
    ["strokeWidth", "stroke-width"],
    ["textAnchor", "text-anchor"],
    ["textDecoration", "text-decoration"],
    ["textRendering", "text-rendering"],
    ["transformOrigin", "transform-origin"],
    ["underlinePosition", "underline-position"],
    ["underlineThickness", "underline-thickness"],
    ["unicodeBidi", "unicode-bidi"],
    ["unicodeRange", "unicode-range"],
    ["unitsPerEm", "units-per-em"],
    ["vAlphabetic", "v-alphabetic"],
    ["vHanging", "v-hanging"],
    ["vIdeographic", "v-ideographic"],
    ["vMathematical", "v-mathematical"],
    ["vectorEffect", "vector-effect"],
    ["vertAdvY", "vert-adv-y"],
    ["vertOriginX", "vert-origin-x"],
    ["vertOriginY", "vert-origin-y"],
    ["wordSpacing", "word-spacing"],
    ["writingMode", "writing-mode"],
    ["xmlnsXlink", "xmlns:xlink"],
    ["xHeight", "x-height"]
  ]), ct = /["'&<>]/;
  function yt(h) {
    if (typeof h == "boolean" || typeof h == "number" || typeof h == "bigint")
      return "" + h;
    h = "" + h;
    var g = ct.exec(h);
    if (g) {
      var C = "", L, $ = 0;
      for (L = g.index; L < h.length; L++) {
        switch (h.charCodeAt(L)) {
          case 34:
            g = "&quot;";
            break;
          case 38:
            g = "&amp;";
            break;
          case 39:
            g = "&#x27;";
            break;
          case 60:
            g = "&lt;";
            break;
          case 62:
            g = "&gt;";
            break;
          default:
            continue;
        }
        $ !== L && (C += h.slice($, L)), $ = L + 1, C += g;
      }
      h = $ !== L ? C + h.slice($, L) : C;
    }
    return h;
  }
  var Ot = /([A-Z])/g, qe = /^ms-/, wt = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
  function en(h) {
    return wt.test("" + h) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : h;
  }
  var Vt = e10.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, wn = t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, dn = {
    pending: false,
    data: null,
    method: null,
    action: null
  }, zt = wn.d;
  wn.d = {
    f: zt.f,
    r: zt.r,
    D: zi,
    C: Ii,
    L: ho,
    m: So,
    X: mn,
    S: Br,
    M: xo
  };
  var jt = [], _t = null;
  oe('"></template>');
  var Pt = oe("<script"), Ht = oe("<\/script>"), kn = oe('<script src="'), Tn = oe('<script type="module" src="'), hn = oe(' nonce="'), Nt = oe(' integrity="'), Qn = oe(' crossorigin="'), hr = oe(' async=""><\/script>'), Wt = oe("<style"), ir = /(<\/|<)(s)(cript)/gi;
  function sn(h, g, C, L) {
    return "" + g + (C === "s" ? "\\u0073" : "\\u0053") + L;
  }
  var Rt = oe(
    '<script type="importmap">'
  ), $t = oe("<\/script>");
  function En(h, g, C, L, $, ce) {
    C = typeof g == "string" ? g : g && g.script;
    var ke = C === void 0 ? Pt : oe(
      '<script nonce="' + yt(C) + '"'
    ), rt = typeof g == "string" ? void 0 : g && g.style, Xe = rt === void 0 ? Wt : oe(
      '<style nonce="' + yt(rt) + '"'
    ), ot = h.idPrefix, mt = [], Ct = h.bootstrapScriptContent, cn = h.bootstrapScripts, ln = h.bootstrapModules;
    if (Ct !== void 0 && (mt.push(ke), It(mt, h), mt.push(
      kt,
      Le(
        ("" + Ct).replace(ir, sn)
      ),
      Ht
    )), Ct = [], L !== void 0 && (Ct.push(Rt), Ct.push(
      Le(
        ("" + JSON.stringify(L)).replace(ir, sn)
      )
    ), Ct.push($t)), L = $ ? {
      preconnects: "",
      fontPreloads: "",
      highImagePreloads: "",
      remainingCapacity: 2 + (typeof ce == "number" ? ce : 2e3)
    } : null, $ = {
      placeholderPrefix: oe(ot + "P:"),
      segmentPrefix: oe(ot + "S:"),
      boundaryPrefix: oe(ot + "B:"),
      startInlineScript: ke,
      startInlineStyle: Xe,
      preamble: _n(),
      externalRuntimeScript: null,
      bootstrapChunks: mt,
      importMapChunks: Ct,
      onHeaders: $,
      headers: L,
      resets: {
        font: {},
        dns: {},
        connect: { default: {}, anonymous: {}, credentials: {} },
        image: {},
        style: {}
      },
      charsetChunks: [],
      viewportChunks: [],
      hoistableChunks: [],
      preconnects: /* @__PURE__ */ new Set(),
      fontPreloads: /* @__PURE__ */ new Set(),
      highImagePreloads: /* @__PURE__ */ new Set(),
      styles: /* @__PURE__ */ new Map(),
      bootstrapScripts: /* @__PURE__ */ new Set(),
      scripts: /* @__PURE__ */ new Set(),
      bulkPreloads: /* @__PURE__ */ new Set(),
      preloads: {
        images: /* @__PURE__ */ new Map(),
        stylesheets: /* @__PURE__ */ new Map(),
        scripts: /* @__PURE__ */ new Map(),
        moduleScripts: /* @__PURE__ */ new Map()
      },
      nonce: { script: C, style: rt },
      hoistableState: null,
      stylesToHoist: false
    }, cn !== void 0)
      for (L = 0; L < cn.length; L++)
        ot = cn[L], rt = ke = void 0, Xe = {
          rel: "preload",
          as: "script",
          fetchPriority: "low",
          nonce: g
        }, typeof ot == "string" ? Xe.href = ce = ot : (Xe.href = ce = ot.src, Xe.integrity = rt = typeof ot.integrity == "string" ? ot.integrity : void 0, Xe.crossOrigin = ke = typeof ot == "string" || ot.crossOrigin == null ? void 0 : ot.crossOrigin === "use-credentials" ? "use-credentials" : ""), ot = h, Ct = ce, ot.scriptResources[Ct] = null, ot.moduleScriptResources[Ct] = null, ot = [], Pr(ot, Xe), $.bootstrapScripts.add(ot), mt.push(
          kn,
          Le(yt(ce)),
          ur
        ), C && mt.push(
          hn,
          Le(yt(C)),
          ur
        ), typeof rt == "string" && mt.push(
          Nt,
          Le(yt(rt)),
          ur
        ), typeof ke == "string" && mt.push(
          Qn,
          Le(yt(ke)),
          ur
        ), It(mt, h), mt.push(hr);
    if (ln !== void 0)
      for (g = 0; g < ln.length; g++)
        rt = ln[g], ce = L = void 0, ke = {
          rel: "modulepreload",
          fetchPriority: "low",
          nonce: C
        }, typeof rt == "string" ? ke.href = cn = rt : (ke.href = cn = rt.src, ke.integrity = ce = typeof rt.integrity == "string" ? rt.integrity : void 0, ke.crossOrigin = L = typeof rt == "string" || rt.crossOrigin == null ? void 0 : rt.crossOrigin === "use-credentials" ? "use-credentials" : ""), rt = h, Xe = cn, rt.scriptResources[Xe] = null, rt.moduleScriptResources[Xe] = null, rt = [], Pr(rt, ke), $.bootstrapScripts.add(rt), mt.push(
          Tn,
          Le(yt(cn)),
          ur
        ), C && mt.push(
          hn,
          Le(yt(C)),
          ur
        ), typeof ce == "string" && mt.push(
          Nt,
          Le(yt(ce)),
          ur
        ), typeof L == "string" && mt.push(
          Qn,
          Le(yt(L)),
          ur
        ), It(mt, h), mt.push(hr);
    return $;
  }
  function In(h, g, C, L, $) {
    return {
      idPrefix: h === void 0 ? "" : h,
      nextFormID: 0,
      streamingFormat: 0,
      bootstrapScriptContent: C,
      bootstrapScripts: L,
      bootstrapModules: $,
      instructions: 0,
      hasBody: false,
      hasHtml: false,
      unknownResources: {},
      dnsResources: {},
      connectResources: { default: {}, anonymous: {}, credentials: {} },
      imageResources: {},
      styleResources: {},
      scriptResources: {},
      moduleUnknownResources: {},
      moduleScriptResources: {}
    };
  }
  function _n() {
    return { htmlChunks: null, headChunks: null, bodyChunks: null };
  }
  function bn(h, g, C, L) {
    return {
      insertionMode: h,
      selectedValue: g,
      tagScope: C,
      viewTransition: L
    };
  }
  function Sr(h) {
    return bn(
      h === "http://www.w3.org/2000/svg" ? 4 : h === "http://www.w3.org/1998/Math/MathML" ? 5 : 0,
      null,
      0,
      null
    );
  }
  function Mn(h, g, C) {
    var L = h.tagScope & -25;
    switch (g) {
      case "noscript":
        return bn(2, null, L | 1, null);
      case "select":
        return bn(
          2,
          C.value != null ? C.value : C.defaultValue,
          L,
          null
        );
      case "svg":
        return bn(4, null, L, null);
      case "picture":
        return bn(2, null, L | 2, null);
      case "math":
        return bn(5, null, L, null);
      case "foreignObject":
        return bn(2, null, L, null);
      case "table":
        return bn(6, null, L, null);
      case "thead":
      case "tbody":
      case "tfoot":
        return bn(7, null, L, null);
      case "colgroup":
        return bn(9, null, L, null);
      case "tr":
        return bn(8, null, L, null);
      case "head":
        if (2 > h.insertionMode)
          return bn(3, null, L, null);
        break;
      case "html":
        if (h.insertionMode === 0)
          return bn(1, null, L, null);
    }
    return 6 <= h.insertionMode || 2 > h.insertionMode ? bn(2, null, L, null) : h.tagScope !== L ? bn(
      h.insertionMode,
      h.selectedValue,
      L,
      null
    ) : h;
  }
  function gr(h) {
    return h === null ? null : {
      update: h.update,
      enter: "none",
      exit: "none",
      share: h.update,
      name: h.autoName,
      autoName: h.autoName,
      nameIdx: 0
    };
  }
  function mi(h, g) {
    return g.tagScope & 32 && (h.instructions |= 128), bn(
      g.insertionMode,
      g.selectedValue,
      g.tagScope | 12,
      gr(g.viewTransition)
    );
  }
  function Co(h, g) {
    h = gr(g.viewTransition);
    var C = g.tagScope | 16;
    return h !== null && h.share !== "none" && (C |= 64), bn(
      g.insertionMode,
      g.selectedValue,
      C,
      h
    );
  }
  var No = oe("<!-- -->");
  function ls(h, g, C, L) {
    return g === "" ? L : (L && h.push(No), h.push(Le(yt(g))), true);
  }
  var Qi = /* @__PURE__ */ new Map(), Fr = oe(' style="'), Yr = oe(":"), yr = oe(";");
  function uo(h, g) {
    if (typeof g != "object") throw Error(n(62));
    var C = true, L;
    for (L in g)
      if (Ze.call(g, L)) {
        var $ = g[L];
        if ($ != null && typeof $ != "boolean" && $ !== "") {
          if (L.indexOf("--") === 0) {
            var ce = Le(yt(L));
            $ = Le(
              yt(("" + $).trim())
            );
          } else
            ce = Qi.get(L), ce === void 0 && (ce = oe(
              yt(
                L.replace(Ot, "-$1").toLowerCase().replace(qe, "-ms-")
              )
            ), Qi.set(L, ce)), $ = typeof $ == "number" ? $ === 0 || gt.has(L) ? Le("" + $) : Le($ + "px") : Le(
              yt(("" + $).trim())
            );
          C ? (C = false, h.push(
            Fr,
            ce,
            Yr,
            $
          )) : h.push(yr, ce, Yr, $);
        }
      }
    C || h.push(ur);
  }
  var xr = oe(" "), to = oe('="'), ur = oe('"'), ki = oe('=""');
  function Nr(h, g, C) {
    C && typeof C != "function" && typeof C != "symbol" && h.push(xr, Le(g), ki);
  }
  function Gn(h, g, C) {
    typeof C != "function" && typeof C != "symbol" && typeof C != "boolean" && h.push(
      xr,
      Le(g),
      to,
      Le(yt(C)),
      ur
    );
  }
  var qo = oe(
    yt(
      "javascript:throw new Error('React form unexpectedly submitted.')"
    )
  ), Dn = oe('<input type="hidden"');
  function At(h, g) {
    this.push(Dn), it(h), Gn(this, "name", g), Gn(this, "value", h), this.push(pn);
  }
  function it(h) {
    if (typeof h != "string") throw Error(n(480));
  }
  function Zt(h, g) {
    if (typeof g.$$FORM_ACTION == "function") {
      var C = h.nextFormID++;
      h = h.idPrefix + C;
      try {
        var L = g.$$FORM_ACTION(h);
        if (L) {
          var $ = L.data;
          $ != null && $.forEach(it);
        }
        return L;
      } catch (ce) {
        if (typeof ce == "object" && ce !== null && typeof ce.then == "function")
          throw ce;
      }
    }
    return null;
  }
  function un(h, g, C, L, $, ce, ke, rt) {
    var Xe = null;
    if (typeof L == "function") {
      var ot = Zt(g, L);
      ot !== null ? (rt = ot.name, L = ot.action || "", $ = ot.encType, ce = ot.method, ke = ot.target, Xe = ot.data) : (h.push(
        xr,
        Le("formAction"),
        to,
        qo,
        ur
      ), ke = ce = $ = L = rt = null, lu(g, C));
    }
    return rt != null && dt(h, "name", rt), L != null && dt(h, "formAction", L), $ != null && dt(h, "formEncType", $), ce != null && dt(h, "formMethod", ce), ke != null && dt(h, "formTarget", ke), Xe;
  }
  function dt(h, g, C) {
    switch (g) {
      case "className":
        Gn(h, "class", C);
        break;
      case "tabIndex":
        Gn(h, "tabindex", C);
        break;
      case "dir":
      case "role":
      case "viewBox":
      case "width":
      case "height":
        Gn(h, g, C);
        break;
      case "style":
        uo(h, C);
        break;
      case "src":
      case "href":
        if (C === "") break;
      case "action":
      case "formAction":
        if (C == null || typeof C == "function" || typeof C == "symbol" || typeof C == "boolean")
          break;
        C = en("" + C), h.push(
          xr,
          Le(g),
          to,
          Le(yt(C)),
          ur
        );
        break;
      case "defaultValue":
      case "defaultChecked":
      case "innerHTML":
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "ref":
        break;
      case "autoFocus":
      case "multiple":
      case "muted":
        Nr(h, g.toLowerCase(), C);
        break;
      case "xlinkHref":
        if (typeof C == "function" || typeof C == "symbol" || typeof C == "boolean")
          break;
        C = en("" + C), h.push(
          xr,
          Le("xlink:href"),
          to,
          Le(yt(C)),
          ur
        );
        break;
      case "contentEditable":
      case "spellCheck":
      case "draggable":
      case "value":
      case "autoReverse":
      case "externalResourcesRequired":
      case "focusable":
      case "preserveAlpha":
        typeof C != "function" && typeof C != "symbol" && h.push(
          xr,
          Le(g),
          to,
          Le(yt(C)),
          ur
        );
        break;
      case "inert":
      case "allowFullScreen":
      case "async":
      case "autoPlay":
      case "controls":
      case "default":
      case "defer":
      case "disabled":
      case "disablePictureInPicture":
      case "disableRemotePlayback":
      case "formNoValidate":
      case "hidden":
      case "loop":
      case "noModule":
      case "noValidate":
      case "open":
      case "playsInline":
      case "readOnly":
      case "required":
      case "reversed":
      case "scoped":
      case "seamless":
      case "itemScope":
        C && typeof C != "function" && typeof C != "symbol" && h.push(
          xr,
          Le(g),
          ki
        );
        break;
      case "capture":
      case "download":
        C === true ? h.push(
          xr,
          Le(g),
          ki
        ) : C !== false && typeof C != "function" && typeof C != "symbol" && h.push(
          xr,
          Le(g),
          to,
          Le(yt(C)),
          ur
        );
        break;
      case "cols":
      case "rows":
      case "size":
      case "span":
        typeof C != "function" && typeof C != "symbol" && !isNaN(C) && 1 <= C && h.push(
          xr,
          Le(g),
          to,
          Le(yt(C)),
          ur
        );
        break;
      case "rowSpan":
      case "start":
        typeof C == "function" || typeof C == "symbol" || isNaN(C) || h.push(
          xr,
          Le(g),
          to,
          Le(yt(C)),
          ur
        );
        break;
      case "xlinkActuate":
        Gn(h, "xlink:actuate", C);
        break;
      case "xlinkArcrole":
        Gn(h, "xlink:arcrole", C);
        break;
      case "xlinkRole":
        Gn(h, "xlink:role", C);
        break;
      case "xlinkShow":
        Gn(h, "xlink:show", C);
        break;
      case "xlinkTitle":
        Gn(h, "xlink:title", C);
        break;
      case "xlinkType":
        Gn(h, "xlink:type", C);
        break;
      case "xmlBase":
        Gn(h, "xml:base", C);
        break;
      case "xmlLang":
        Gn(h, "xml:lang", C);
        break;
      case "xmlSpace":
        Gn(h, "xml:space", C);
        break;
      default:
        if ((!(2 < g.length) || g[0] !== "o" && g[0] !== "O" || g[1] !== "n" && g[1] !== "N") && (g = xt.get(g) || g, ht(g))) {
          switch (typeof C) {
            case "function":
            case "symbol":
              return;
            case "boolean":
              var L = g.toLowerCase().slice(0, 5);
              if (L !== "data-" && L !== "aria-") return;
          }
          h.push(
            xr,
            Le(g),
            to,
            Le(yt(C)),
            ur
          );
        }
    }
  }
  var kt = oe(">"), pn = oe("/>");
  function ar(h, g, C) {
    if (g != null) {
      if (C != null) throw Error(n(60));
      if (typeof g != "object" || !("__html" in g))
        throw Error(n(61));
      g = g.__html, g != null && h.push(Le("" + g));
    }
  }
  function vi(h) {
    var g = "";
    return e10.Children.forEach(h, function(C) {
      C != null && (g += C);
    }), g;
  }
  var Sn = oe(' selected=""'), ui = oe(
    `addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`
  );
  function lu(h, g) {
    if ((h.instructions & 16) === 0) {
      h.instructions |= 16;
      var C = g.preamble, L = g.bootstrapChunks;
      (C.htmlChunks || C.headChunks) && L.length === 0 ? (L.push(g.startInlineScript), It(L, h), L.push(
        kt,
        ui,
        Ht
      )) : L.unshift(
        g.startInlineScript,
        kt,
        ui,
        Ht
      );
    }
  }
  var ci = oe("<!--F!-->"), jn = oe("<!--F-->");
  function Pr(h, g) {
    h.push(Go("link"));
    for (var C in g)
      if (Ze.call(g, C)) {
        var L = g[C];
        if (L != null)
          switch (C) {
            case "children":
            case "dangerouslySetInnerHTML":
              throw Error(n(399, "link"));
            default:
              dt(h, C, L);
          }
      }
    return h.push(pn), null;
  }
  var Wu = /(<\/|<)(s)(tyle)/gi;
  function Wl(h, g, C, L) {
    return "" + g + (C === "s" ? "\\73 " : "\\53 ") + L;
  }
  function wa(h, g, C) {
    h.push(Go(C));
    for (var L in g)
      if (Ze.call(g, L)) {
        var $ = g[L];
        if ($ != null)
          switch (L) {
            case "children":
            case "dangerouslySetInnerHTML":
              throw Error(n(399, C));
            default:
              dt(h, L, $);
          }
      }
    return h.push(pn), null;
  }
  function xl(h, g) {
    h.push(Go("title"));
    var C = null, L = null, $;
    for ($ in g)
      if (Ze.call(g, $)) {
        var ce = g[$];
        if (ce != null)
          switch ($) {
            case "children":
              C = ce;
              break;
            case "dangerouslySetInnerHTML":
              L = ce;
              break;
            default:
              dt(h, $, ce);
          }
      }
    return h.push(kt), g = Array.isArray(C) ? 2 > C.length ? C[0] : null : C, typeof g != "function" && typeof g != "symbol" && g !== null && g !== void 0 && h.push(Le(yt("" + g))), ar(h, L, C), h.push(ji("title")), null;
  }
  var Uu = oe("<!--head-->"), td = oe("<!--body-->"), Ul = oe("<!--html-->");
  function Hl(h, g) {
    h.push(Go("script"));
    var C = null, L = null, $;
    for ($ in g)
      if (Ze.call(g, $)) {
        var ce = g[$];
        if (ce != null)
          switch ($) {
            case "children":
              C = ce;
              break;
            case "dangerouslySetInnerHTML":
              L = ce;
              break;
            default:
              dt(h, $, ce);
          }
      }
    return h.push(kt), ar(h, L, C), typeof C == "string" && h.push(
      Le(("" + C).replace(ir, sn))
    ), h.push(ji("script")), null;
  }
  function us(h, g, C) {
    h.push(Go(C));
    var L = C = null, $;
    for ($ in g)
      if (Ze.call(g, $)) {
        var ce = g[$];
        if (ce != null)
          switch ($) {
            case "children":
              C = ce;
              break;
            case "dangerouslySetInnerHTML":
              L = ce;
              break;
            default:
              dt(h, $, ce);
          }
      }
    return h.push(kt), ar(h, L, C), C;
  }
  function cs(h, g, C) {
    h.push(Go(C));
    var L = C = null, $;
    for ($ in g)
      if (Ze.call(g, $)) {
        var ce = g[$];
        if (ce != null)
          switch ($) {
            case "children":
              C = ce;
              break;
            case "dangerouslySetInnerHTML":
              L = ce;
              break;
            default:
              dt(h, $, ce);
          }
      }
    return h.push(kt), ar(h, L, C), typeof C == "string" ? (h.push(Le(yt(C))), null) : C;
  }
  var Hu = oe(`
`), uu = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, cu = /* @__PURE__ */ new Map();
  function Go(h) {
    var g = cu.get(h);
    if (g === void 0) {
      if (!uu.test(h))
        throw Error(n(65, h));
      g = oe("<" + h), cu.set(h, g);
    }
    return g;
  }
  var ds = oe("<!DOCTYPE html>");
  function Oa(h, g, C, L, $, ce, ke, rt, Xe) {
    switch (g) {
      case "div":
      case "span":
      case "svg":
      case "path":
        break;
      case "a":
        h.push(Go("a"));
        var ot = null, mt = null, Ct;
        for (Ct in C)
          if (Ze.call(C, Ct)) {
            var cn = C[Ct];
            if (cn != null)
              switch (Ct) {
                case "children":
                  ot = cn;
                  break;
                case "dangerouslySetInnerHTML":
                  mt = cn;
                  break;
                case "href":
                  cn === "" ? Gn(h, "href", "") : dt(h, Ct, cn);
                  break;
                default:
                  dt(h, Ct, cn);
              }
          }
        if (h.push(kt), ar(h, mt, ot), typeof ot == "string") {
          h.push(Le(yt(ot)));
          var ln = null;
        } else ln = ot;
        return ln;
      case "g":
      case "p":
      case "li":
        break;
      case "select":
        h.push(Go("select"));
        var wr = null, Kn = null, Tr;
        for (Tr in C)
          if (Ze.call(C, Tr)) {
            var Ro = C[Tr];
            if (Ro != null)
              switch (Tr) {
                case "children":
                  wr = Ro;
                  break;
                case "dangerouslySetInnerHTML":
                  Kn = Ro;
                  break;
                case "defaultValue":
                case "value":
                  break;
                default:
                  dt(
                    h,
                    Tr,
                    Ro
                  );
              }
          }
        return h.push(kt), ar(h, Kn, wr), wr;
      case "option":
        var bo = rt.selectedValue;
        h.push(Go("option"));
        var Vi = null, Fa = null, Cs = null, Jn = null, la;
        for (la in C)
          if (Ze.call(C, la)) {
            var ni = C[la];
            if (ni != null)
              switch (la) {
                case "children":
                  Vi = ni;
                  break;
                case "selected":
                  Cs = ni;
                  break;
                case "dangerouslySetInnerHTML":
                  Jn = ni;
                  break;
                case "value":
                  Fa = ni;
                default:
                  dt(
                    h,
                    la,
                    ni
                  );
              }
          }
        if (bo != null) {
          var Ea = Fa !== null ? "" + Fa : vi(Vi);
          if (q(bo)) {
            for (var Rl = 0; Rl < bo.length; Rl++)
              if ("" + bo[Rl] === Ea) {
                h.push(Sn);
                break;
              }
          } else
            "" + bo === Ea && h.push(Sn);
        } else Cs && h.push(Sn);
        return h.push(kt), ar(h, Jn, Vi), Vi;
      case "textarea":
        h.push(Go("textarea"));
        var Io = null, wu = null, Ss = null, ua;
        for (ua in C)
          if (Ze.call(C, ua)) {
            var Ys = C[ua];
            if (Ys != null)
              switch (ua) {
                case "children":
                  Ss = Ys;
                  break;
                case "value":
                  Io = Ys;
                  break;
                case "defaultValue":
                  wu = Ys;
                  break;
                case "dangerouslySetInnerHTML":
                  throw Error(n(91));
                default:
                  dt(
                    h,
                    ua,
                    Ys
                  );
              }
          }
        if (Io === null && wu !== null && (Io = wu), h.push(kt), Ss != null) {
          if (Io != null) throw Error(n(92));
          if (q(Ss)) {
            if (1 < Ss.length)
              throw Error(n(93));
            Io = "" + Ss[0];
          }
          Io = "" + Ss;
        }
        return typeof Io == "string" && Io[0] === `
` && h.push(Hu), Io !== null && h.push(
          Le(yt("" + Io))
        ), null;
      case "input":
        h.push(Go("input"));
        var ca = null, Tu = null, Qu = null, Ca = null, ju = null, da = null, ku = null, Kd = null, wo = null, qu;
        for (qu in C)
          if (Ze.call(C, qu)) {
            var Xs = C[qu];
            if (Xs != null)
              switch (qu) {
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(n(399, "input"));
                case "name":
                  ca = Xs;
                  break;
                case "formAction":
                  Tu = Xs;
                  break;
                case "formEncType":
                  Qu = Xs;
                  break;
                case "formMethod":
                  Ca = Xs;
                  break;
                case "formTarget":
                  ju = Xs;
                  break;
                case "defaultChecked":
                  wo = Xs;
                  break;
                case "defaultValue":
                  ku = Xs;
                  break;
                case "checked":
                  Kd = Xs;
                  break;
                case "value":
                  da = Xs;
                  break;
                default:
                  dt(
                    h,
                    qu,
                    Xs
                  );
              }
          }
        var dd = un(
          h,
          L,
          $,
          Tu,
          Qu,
          Ca,
          ju,
          ca
        );
        return Kd !== null ? Nr(h, "checked", Kd) : wo !== null && Nr(h, "checked", wo), da !== null ? dt(h, "value", da) : ku !== null && dt(h, "value", ku), h.push(pn), dd != null && dd.forEach(At, h), null;
      case "button":
        h.push(Go("button"));
        var Eu = null, fd = null, hd = null, ec = null, jl = null, pd = null, sl = null, Mc;
        for (Mc in C)
          if (Ze.call(C, Mc)) {
            var Cu = C[Mc];
            if (Cu != null)
              switch (Mc) {
                case "children":
                  Eu = Cu;
                  break;
                case "dangerouslySetInnerHTML":
                  fd = Cu;
                  break;
                case "name":
                  hd = Cu;
                  break;
                case "formAction":
                  ec = Cu;
                  break;
                case "formEncType":
                  jl = Cu;
                  break;
                case "formMethod":
                  pd = Cu;
                  break;
                case "formTarget":
                  sl = Cu;
                  break;
                default:
                  dt(
                    h,
                    Mc,
                    Cu
                  );
              }
          }
        var xf = un(
          h,
          L,
          $,
          ec,
          jl,
          pd,
          sl,
          hd
        );
        if (h.push(kt), xf != null && xf.forEach(At, h), ar(h, fd, Eu), typeof Eu == "string") {
          h.push(
            Le(yt(Eu))
          );
          var As = null;
        } else As = Eu;
        return As;
      case "form":
        h.push(Go("form"));
        var _f = null, ns = null, ql = null, Il = null, bd = null, gd = null, md;
        for (md in C)
          if (Ze.call(C, md)) {
            var Su = C[md];
            if (Su != null)
              switch (md) {
                case "children":
                  _f = Su;
                  break;
                case "dangerouslySetInnerHTML":
                  ns = Su;
                  break;
                case "action":
                  ql = Su;
                  break;
                case "encType":
                  Il = Su;
                  break;
                case "method":
                  bd = Su;
                  break;
                case "target":
                  gd = Su;
                  break;
                default:
                  dt(
                    h,
                    md,
                    Su
                  );
              }
          }
        var wf = null, Jd = null;
        if (typeof ql == "function") {
          var tc = Zt(
            L,
            ql
          );
          tc !== null ? (ql = tc.action || "", Il = tc.encType, bd = tc.method, gd = tc.target, wf = tc.data, Jd = tc.name) : (h.push(
            xr,
            Le("action"),
            to,
            qo,
            ur
          ), gd = bd = Il = ql = null, lu(L, $));
        }
        if (ql != null && dt(h, "action", ql), Il != null && dt(h, "encType", Il), bd != null && dt(h, "method", bd), gd != null && dt(h, "target", gd), h.push(kt), Jd !== null && (h.push(Dn), Gn(h, "name", Jd), h.push(pn), wf != null && wf.forEach(At, h)), ar(h, ns, _f), typeof _f == "string") {
          h.push(
            Le(yt(_f))
          );
          var Tf = null;
        } else Tf = _f;
        return Tf;
      case "menuitem":
        h.push(Go("menuitem"));
        for (var vd in C)
          if (Ze.call(C, vd)) {
            var Kf = C[vd];
            if (Kf != null)
              switch (vd) {
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(n(400));
                default:
                  dt(
                    h,
                    vd,
                    Kf
                  );
              }
          }
        return h.push(kt), null;
      case "object":
        h.push(Go("object"));
        var Qd = null, Jf = null, yd;
        for (yd in C)
          if (Ze.call(C, yd)) {
            var nc = C[yd];
            if (nc != null)
              switch (yd) {
                case "children":
                  Qd = nc;
                  break;
                case "dangerouslySetInnerHTML":
                  Jf = nc;
                  break;
                case "data":
                  var Ch = en("" + nc);
                  if (Ch === "") break;
                  h.push(
                    xr,
                    Le("data"),
                    to,
                    Le(yt(Ch)),
                    ur
                  );
                  break;
                default:
                  dt(
                    h,
                    yd,
                    nc
                  );
              }
          }
        if (h.push(kt), ar(h, Jf, Qd), typeof Qd == "string") {
          h.push(
            Le(yt(Qd))
          );
          var Sh = null;
        } else Sh = Qd;
        return Sh;
      case "title":
        var ll = rt.tagScope & 1, kf = rt.tagScope & 4;
        if (rt.insertionMode === 4 || ll || C.itemProp != null)
          var Ah = xl(
            h,
            C
          );
        else
          kf ? Ah = null : (xl($.hoistableChunks, C), Ah = void 0);
        return Ah;
      case "link":
        var Di = rt.tagScope & 1, Ml = rt.tagScope & 4, fa = C.rel, eu = C.href, Ps = C.precedence;
        if (rt.insertionMode === 4 || Di || C.itemProp != null || typeof fa != "string" || typeof eu != "string" || eu === "") {
          Pr(h, C);
          var Zr = null;
        } else if (C.rel === "stylesheet")
          if (typeof Ps != "string" || C.disabled != null || C.onLoad || C.onError)
            Zr = Pr(
              h,
              C
            );
          else {
            var Na = $.styles.get(Ps), Ol = L.styleResources.hasOwnProperty(eu) ? L.styleResources[eu] : void 0;
            if (Ol !== null) {
              L.styleResources[eu] = null, Na || (Na = {
                precedence: Le(yt(Ps)),
                rules: [],
                hrefs: [],
                sheets: /* @__PURE__ */ new Map()
              }, $.styles.set(Ps, Na));
              var hi = {
                state: 0,
                props: Ge({}, C, {
                  "data-precedence": C.precedence,
                  precedence: null
                })
              };
              if (Ol) {
                Ol.length === 2 && Wi(hi.props, Ol);
                var Oc = $.preloads.stylesheets.get(eu);
                Oc && 0 < Oc.length ? Oc.length = 0 : hi.state = 1;
              }
              Na.sheets.set(eu, hi), ke && ke.stylesheets.add(hi);
            } else if (Na) {
              var xd = Na.sheets.get(eu);
              xd && ke && ke.stylesheets.add(xd);
            }
            Xe && h.push(No), Zr = null;
          }
        else
          C.onLoad || C.onError ? Zr = Pr(
            h,
            C
          ) : (Xe && h.push(No), Zr = Ml ? null : Pr($.hoistableChunks, C));
        return Zr;
      case "script":
        var Ef = rt.tagScope & 1, rc = C.async;
        if (typeof C.src != "string" || !C.src || !rc || typeof rc == "function" || typeof rc == "symbol" || C.onLoad || C.onError || rt.insertionMode === 4 || Ef || C.itemProp != null)
          var Au = Hl(
            h,
            C
          );
        else {
          var Dc = C.src;
          if (C.type === "module")
            var Zs = L.moduleScriptResources, Fc = $.preloads.moduleScripts;
          else
            Zs = L.scriptResources, Fc = $.preloads.scripts;
          var Nc = Zs.hasOwnProperty(Dc) ? Zs[Dc] : void 0;
          if (Nc !== null) {
            Zs[Dc] = null;
            var s = C;
            if (Nc) {
              Nc.length === 2 && (s = Ge({}, C), Wi(s, Nc));
              var d = Fc.get(Dc);
              d && (d.length = 0);
            }
            var w = [];
            $.scripts.add(w), Hl(w, s);
          }
          Xe && h.push(No), Au = null;
        }
        return Au;
      case "style":
        var O = rt.tagScope & 1, H = C.precedence, le = C.href, $e = C.nonce;
        if (rt.insertionMode === 4 || O || C.itemProp != null || typeof H != "string" || typeof le != "string" || le === "") {
          h.push(Go("style"));
          var je = null, Ft = null, at;
          for (at in C)
            if (Ze.call(C, at)) {
              var St = C[at];
              if (St != null)
                switch (at) {
                  case "children":
                    je = St;
                    break;
                  case "dangerouslySetInnerHTML":
                    Ft = St;
                    break;
                  default:
                    dt(
                      h,
                      at,
                      St
                    );
                }
            }
          h.push(kt);
          var rn = Array.isArray(je) ? 2 > je.length ? je[0] : null : je;
          typeof rn != "function" && typeof rn != "symbol" && rn !== null && rn !== void 0 && h.push(
            Le(("" + rn).replace(Wu, Wl))
          ), ar(h, Ft, je), h.push(ji("style"));
          var fn = null;
        } else {
          var an = $.styles.get(H);
          if ((L.styleResources.hasOwnProperty(le) ? L.styleResources[le] : void 0) !== null) {
            L.styleResources[le] = null, an || (an = {
              precedence: Le(
                yt(H)
              ),
              rules: [],
              hrefs: [],
              sheets: /* @__PURE__ */ new Map()
            }, $.styles.set(H, an));
            var Ut = $.nonce.style;
            if (!Ut || Ut === $e) {
              an.hrefs.push(
                Le(yt(le))
              );
              var _r = an.rules, To = null, Xn = null, Kr;
              for (Kr in C)
                if (Ze.call(C, Kr)) {
                  var ha = C[Kr];
                  if (ha != null)
                    switch (Kr) {
                      case "children":
                        To = ha;
                        break;
                      case "dangerouslySetInnerHTML":
                        Xn = ha;
                    }
                }
              var pa = Array.isArray(To) ? 2 > To.length ? To[0] : null : To;
              typeof pa != "function" && typeof pa != "symbol" && pa !== null && pa !== void 0 && _r.push(
                Le(
                  ("" + pa).replace(Wu, Wl)
                )
              ), ar(_r, Xn, To);
            }
          }
          an && ke && ke.styles.add(an), Xe && h.push(No), fn = void 0;
        }
        return fn;
      case "meta":
        var Rs = rt.tagScope & 1, Ai = rt.tagScope & 4;
        if (rt.insertionMode === 4 || Rs || C.itemProp != null)
          var ul = wa(
            h,
            C,
            "meta"
          );
        else
          Xe && h.push(No), ul = Ai ? null : typeof C.charSet == "string" ? wa($.charsetChunks, C, "meta") : C.name === "viewport" ? wa($.viewportChunks, C, "meta") : wa($.hoistableChunks, C, "meta");
        return ul;
      case "listing":
      case "pre":
        h.push(Go(g));
        var Sa = null, Cn = null, eo;
        for (eo in C)
          if (Ze.call(C, eo)) {
            var no = C[eo];
            if (no != null)
              switch (eo) {
                case "children":
                  Sa = no;
                  break;
                case "dangerouslySetInnerHTML":
                  Cn = no;
                  break;
                default:
                  dt(
                    h,
                    eo,
                    no
                  );
              }
          }
        if (h.push(kt), Cn != null) {
          if (Sa != null) throw Error(n(60));
          if (typeof Cn != "object" || !("__html" in Cn))
            throw Error(n(61));
          var ro = Cn.__html;
          ro != null && (typeof ro == "string" && 0 < ro.length && ro[0] === `
` ? h.push(Hu, Le(ro)) : h.push(Le("" + ro)));
        }
        return typeof Sa == "string" && Sa[0] === `
` && h.push(Hu), Sa;
      case "img":
        var Mo = rt.tagScope & 3, Ir = C.src, or = C.srcSet;
        if (!(C.loading === "lazy" || !Ir && !or || typeof Ir != "string" && Ir != null || typeof or != "string" && or != null || C.fetchPriority === "low" || Mo) && (typeof Ir != "string" || Ir[4] !== ":" || Ir[0] !== "d" && Ir[0] !== "D" || Ir[1] !== "a" && Ir[1] !== "A" || Ir[2] !== "t" && Ir[2] !== "T" || Ir[3] !== "a" && Ir[3] !== "A") && (typeof or != "string" || or[4] !== ":" || or[0] !== "d" && or[0] !== "D" || or[1] !== "a" && or[1] !== "A" || or[2] !== "t" && or[2] !== "T" || or[3] !== "a" && or[3] !== "A")) {
          ke !== null && rt.tagScope & 64 && (ke.suspenseyImages = true);
          var ba = typeof C.sizes == "string" ? C.sizes : void 0, oo = or ? or + `
` + (ba || "") : Ir, Gi = $.preloads.images, ko = Gi.get(oo);
          if (ko)
            (C.fetchPriority === "high" || 10 > $.highImagePreloads.size) && (Gi.delete(oo), $.highImagePreloads.add(ko));
          else if (!L.imageResources.hasOwnProperty(oo)) {
            L.imageResources[oo] = jt;
            var La = C.crossOrigin, oc = typeof La == "string" ? La === "use-credentials" ? La : "" : void 0, Ba = $.headers, cl;
            Ba && 0 < Ba.remainingCapacity && typeof C.srcSet != "string" && (C.fetchPriority === "high" || 500 > Ba.highImagePreloads.length) && (cl = Qa(Ir, "image", {
              imageSrcSet: C.srcSet,
              imageSizes: C.sizes,
              crossOrigin: oc,
              integrity: C.integrity,
              nonce: C.nonce,
              type: C.type,
              fetchPriority: C.fetchPriority,
              referrerPolicy: C.refererPolicy
            }), 0 <= (Ba.remainingCapacity -= cl.length + 2)) ? ($.resets.image[oo] = jt, Ba.highImagePreloads && (Ba.highImagePreloads += ", "), Ba.highImagePreloads += cl) : (ko = [], Pr(ko, {
              rel: "preload",
              as: "image",
              href: or ? void 0 : Ir,
              imageSrcSet: or,
              imageSizes: ba,
              crossOrigin: oc,
              integrity: C.integrity,
              type: C.type,
              fetchPriority: C.fetchPriority,
              referrerPolicy: C.referrerPolicy
            }), C.fetchPriority === "high" || 10 > $.highImagePreloads.size ? $.highImagePreloads.add(ko) : ($.bulkPreloads.add(ko), Gi.set(oo, ko)));
          }
        }
        return wa(h, C, "img");
      case "base":
      case "area":
      case "br":
      case "col":
      case "embed":
      case "hr":
      case "keygen":
      case "param":
      case "source":
      case "track":
      case "wbr":
        return wa(h, C, g);
      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":
        break;
      case "head":
        if (2 > rt.insertionMode) {
          var dl = ce || $.preamble;
          if (dl.headChunks)
            throw Error(n(545, "`<head>`"));
          ce !== null && h.push(Uu), dl.headChunks = [];
          var fl = us(
            dl.headChunks,
            C,
            "head"
          );
        } else
          fl = cs(
            h,
            C,
            "head"
          );
        return fl;
      case "body":
        if (2 > rt.insertionMode) {
          var Fi = ce || $.preamble;
          if (Fi.bodyChunks)
            throw Error(n(545, "`<body>`"));
          ce !== null && h.push(td), Fi.bodyChunks = [];
          var a = us(
            Fi.bodyChunks,
            C,
            "body"
          );
        } else
          a = cs(
            h,
            C,
            "body"
          );
        return a;
      case "html":
        if (rt.insertionMode === 0) {
          var l = ce || $.preamble;
          if (l.htmlChunks)
            throw Error(n(545, "`<html>`"));
          ce !== null && h.push(Ul), l.htmlChunks = [ds];
          var _ = us(
            l.htmlChunks,
            C,
            "html"
          );
        } else
          _ = cs(
            h,
            C,
            "html"
          );
        return _;
      default:
        if (g.indexOf("-") !== -1) {
          h.push(Go(g));
          var M = null, z = null, re;
          for (re in C)
            if (Ze.call(C, re)) {
              var Re = C[re];
              if (Re != null) {
                var Je = re;
                switch (re) {
                  case "children":
                    M = Re;
                    break;
                  case "dangerouslySetInnerHTML":
                    z = Re;
                    break;
                  case "style":
                    uo(h, Re);
                    break;
                  case "suppressContentEditableWarning":
                  case "suppressHydrationWarning":
                  case "ref":
                    break;
                  case "className":
                    Je = "class";
                  default:
                    if (ht(re) && typeof Re != "function" && typeof Re != "symbol" && Re !== false) {
                      if (Re === true) Re = "";
                      else if (typeof Re == "object") continue;
                      h.push(
                        xr,
                        Le(Je),
                        to,
                        Le(yt(Re)),
                        ur
                      );
                    }
                }
              }
            }
          return h.push(kt), ar(h, z, M), M;
        }
    }
    return cs(h, C, g);
  }
  var Ya = /* @__PURE__ */ new Map();
  function ji(h) {
    var g = Ya.get(h);
    return g === void 0 && (g = oe("</" + h + ">"), Ya.set(h, g)), g;
  }
  function du(h, g) {
    h = h.preamble, h.htmlChunks === null && g.htmlChunks && (h.htmlChunks = g.htmlChunks), h.headChunks === null && g.headChunks && (h.headChunks = g.headChunks), h.bodyChunks === null && g.bodyChunks && (h.bodyChunks = g.bodyChunks);
  }
  function Lo(h, g) {
    g = g.bootstrapChunks;
    for (var C = 0; C < g.length - 1; C++)
      de(h, g[C]);
    return C < g.length ? (C = g[C], g.length = 0, ze(h, C)) : true;
  }
  var yo = oe(
    "requestAnimationFrame(function(){$RT=performance.now()});"
  ), Ei = oe('<template id="'), fs = oe('"></template>'), Yo = oe("<!--&-->"), zs = oe("<!--/&-->"), Ws = oe("<!--$-->"), nl = oe(
    '<!--$?--><template id="'
  ), Ri = oe('"></template>'), ei = oe("<!--$!-->"), Lr = oe("<!--/$-->"), rl = oe("<template"), Ta = oe('"'), Bi = oe(' data-dgst="');
  oe(' data-msg="'), oe(' data-stck="'), oe(' data-cstck="');
  var xc = oe("></template>");
  function hs(h, g, C) {
    if (de(h, nl), C === null) throw Error(n(395));
    return de(h, g.boundaryPrefix), de(h, Le(C.toString(16))), ze(h, Ri);
  }
  var Xa = oe('<div hidden id="'), _l = oe('">'), ps = oe("</div>"), bs = oe(
    '<svg aria-hidden="true" style="display:none" id="'
  ), Us = oe('">'), Yn = oe("</svg>"), Da = oe(
    '<math aria-hidden="true" style="display:none" id="'
  ), Bo = oe('">'), qi = oe("</math>"), co = oe('<table hidden id="'), Hs = oe('">'), wl = oe("</table>"), gs = oe('<table hidden><tbody id="'), ms = oe('">'), Xo = oe("</tbody></table>"), jr = oe('<table hidden><tr id="'), Za = oe('">'), Zo = oe("</tr></table>"), ol = oe(
    '<table hidden><colgroup id="'
  ), Tl = oe('">'), Ko = oe("</colgroup></table>");
  function Ci(h, g, C, L) {
    switch (C.insertionMode) {
      case 0:
      case 1:
      case 3:
      case 2:
        return de(h, Xa), de(h, g.segmentPrefix), de(h, Le(L.toString(16))), ze(h, _l);
      case 4:
        return de(h, bs), de(h, g.segmentPrefix), de(h, Le(L.toString(16))), ze(h, Us);
      case 5:
        return de(h, Da), de(h, g.segmentPrefix), de(h, Le(L.toString(16))), ze(h, Bo);
      case 6:
        return de(h, co), de(h, g.segmentPrefix), de(h, Le(L.toString(16))), ze(h, Hs);
      case 7:
        return de(h, gs), de(h, g.segmentPrefix), de(h, Le(L.toString(16))), ze(h, ms);
      case 8:
        return de(h, jr), de(h, g.segmentPrefix), de(h, Le(L.toString(16))), ze(h, Za);
      case 9:
        return de(h, ol), de(h, g.segmentPrefix), de(h, Le(L.toString(16))), ze(h, Tl);
      default:
        throw Error(n(397));
    }
  }
  function Ka(h, g) {
    switch (g.insertionMode) {
      case 0:
      case 1:
      case 3:
      case 2:
        return ze(h, ps);
      case 4:
        return ze(h, Yn);
      case 5:
        return ze(h, qi);
      case 6:
        return ze(h, wl);
      case 7:
        return ze(h, Xo);
      case 8:
        return ze(h, Zo);
      case 9:
        return ze(h, Ko);
      default:
        throw Error(n(397));
    }
  }
  var Ja = oe(
    '$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'
  ), fu = oe('$RS("'), vs = oe('","'), zo = oe('")<\/script>');
  oe('<template data-rsi="" data-sid="'), oe('" data-pid="');
  var ea = oe(
    `$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`
  );
  Le(
    `$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),
H=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll('img[src]:not([loading="lazy"])'))}}}if(B){var z=
document.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=
performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);`
  );
  var ys = oe('$RC("'), Jo = oe(
    `$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`
  ), f = oe('$RR("'), x = oe('","'), E = oe('",'), D = oe('"'), W = oe(")<\/script>");
  oe('<template data-rci="" data-bid="'), oe('<template data-rri="" data-bid="'), oe('" data-sid="'), oe('" data-sty="');
  var V = oe(
    '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
  ), ge = oe(
    '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
  ), De = oe('$RX("'), ve = oe('"'), Fe = oe(","), He = oe(")<\/script>");
  oe('<template data-rxi="" data-bid="'), oe('" data-dgst="'), oe('" data-msg="'), oe('" data-stck="'), oe('" data-cstck="');
  var tt = /[<\u2028\u2029]/g;
  function me(h) {
    return JSON.stringify(h).replace(
      tt,
      function(g) {
        switch (g) {
          case "<":
            return "\\u003c";
          case "\u2028":
            return "\\u2028";
          case "\u2029":
            return "\\u2029";
          default:
            throw Error(
              "escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
            );
        }
      }
    );
  }
  var Oe = /[&><\u2028\u2029]/g;
  function ye(h) {
    return JSON.stringify(h).replace(
      Oe,
      function(g) {
        switch (g) {
          case "&":
            return "\\u0026";
          case ">":
            return "\\u003e";
          case "<":
            return "\\u003c";
          case "\u2028":
            return "\\u2028";
          case "\u2029":
            return "\\u2029";
          default:
            throw Error(
              "escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
            );
        }
      }
    );
  }
  var Ee = oe(
    ' media="not all" data-precedence="'
  ), Ne = oe('" data-href="'), j = oe('">'), ee = oe("</style>"), K = false, J = true;
  function se(h) {
    var g = h.rules, C = h.hrefs, L = 0;
    if (C.length) {
      for (de(this, _t.startInlineStyle), de(this, Ee), de(this, h.precedence), de(this, Ne); L < C.length - 1; L++)
        de(this, C[L]), de(this, vn);
      for (de(this, C[L]), de(this, j), L = 0; L < g.length; L++) de(this, g[L]);
      J = ze(
        this,
        ee
      ), K = true, g.length = 0, C.length = 0;
    }
  }
  function fe(h) {
    return h.state !== 2 ? K = true : false;
  }
  function Ce(h, g, C) {
    return K = false, J = true, _t = C, g.styles.forEach(se, h), _t = null, g.stylesheets.forEach(fe), K && (C.stylesToHoist = true), J;
  }
  function Se(h) {
    for (var g = 0; g < h.length; g++) de(this, h[g]);
    h.length = 0;
  }
  var ft = [];
  function tn(h) {
    Pr(ft, h.props);
    for (var g = 0; g < ft.length; g++)
      de(this, ft[g]);
    ft.length = 0, h.state = 2;
  }
  var qt = oe(' data-precedence="'), Gt = oe('" data-href="'), vn = oe(" "), gn = oe('">'), Et = oe("</style>");
  function Ye(h) {
    var g = 0 < h.sheets.size;
    h.sheets.forEach(tn, this), h.sheets.clear();
    var C = h.rules, L = h.hrefs;
    if (!g || L.length) {
      if (de(this, _t.startInlineStyle), de(this, qt), de(this, h.precedence), h = 0, L.length) {
        for (de(this, Gt); h < L.length - 1; h++)
          de(this, L[h]), de(this, vn);
        de(this, L[h]);
      }
      for (de(this, gn), h = 0; h < C.length; h++)
        de(this, C[h]);
      de(this, Et), C.length = 0, L.length = 0;
    }
  }
  function Pe(h) {
    if (h.state === 0) {
      h.state = 1;
      var g = h.props;
      for (Pr(ft, {
        rel: "preload",
        as: "style",
        href: h.props.href,
        crossOrigin: g.crossOrigin,
        fetchPriority: g.fetchPriority,
        integrity: g.integrity,
        media: g.media,
        hrefLang: g.hrefLang,
        referrerPolicy: g.referrerPolicy
      }), h = 0; h < ft.length; h++)
        de(this, ft[h]);
      ft.length = 0;
    }
  }
  function ue(h) {
    h.sheets.forEach(Pe, this), h.sheets.clear();
  }
  oe('<link rel="expect" href="#'), oe('" blocking="render"/>');
  var Ie = oe(' id="');
  function It(h, g) {
    (g.instructions & 32) === 0 && (g.instructions |= 32, h.push(
      Ie,
      Le(yt("_" + g.idPrefix + "R_")),
      ur
    ));
  }
  var pt = oe("["), yn = oe(",["), zn = oe(","), Bn = oe("]");
  function sr(h, g) {
    de(h, pt);
    var C = pt;
    g.stylesheets.forEach(function(L) {
      if (L.state !== 2)
        if (L.state === 3)
          de(h, C), de(
            h,
            Le(
              ye("" + L.props.href)
            )
          ), de(h, Bn), C = yn;
        else {
          de(h, C);
          var $ = L.props["data-precedence"], ce = L.props, ke = en("" + L.props.href);
          de(
            h,
            Le(ye(ke))
          ), $ = "" + $, de(h, zn), de(
            h,
            Le(ye($))
          );
          for (var rt in ce)
            if (Ze.call(ce, rt) && ($ = ce[rt], $ != null))
              switch (rt) {
                case "href":
                case "rel":
                case "precedence":
                case "data-precedence":
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(n(399, "link"));
                default:
                  Vr(
                    h,
                    rt,
                    $
                  );
              }
          de(h, Bn), C = yn, L.state = 3;
        }
    }), de(h, Bn);
  }
  function Vr(h, g, C) {
    var L = g.toLowerCase();
    switch (typeof C) {
      case "function":
      case "symbol":
        return;
    }
    switch (g) {
      case "innerHTML":
      case "dangerouslySetInnerHTML":
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "style":
      case "ref":
        return;
      case "className":
        L = "class", g = "" + C;
        break;
      case "hidden":
        if (C === false) return;
        g = "";
        break;
      case "src":
      case "href":
        C = en(C), g = "" + C;
        break;
      default:
        if (2 < g.length && (g[0] === "o" || g[0] === "O") && (g[1] === "n" || g[1] === "N") || !ht(g))
          return;
        g = "" + C;
    }
    de(h, zn), de(
      h,
      Le(ye(L))
    ), de(h, zn), de(
      h,
      Le(ye(g))
    );
  }
  function fo() {
    return { styles: /* @__PURE__ */ new Set(), stylesheets: /* @__PURE__ */ new Set(), suspenseyImages: false };
  }
  function zi(h) {
    var g = fr || null;
    if (g) {
      var C = g.resumableState, L = g.renderState;
      if (typeof h == "string" && h) {
        if (!C.dnsResources.hasOwnProperty(h)) {
          C.dnsResources[h] = null, C = L.headers;
          var $, ce;
          (ce = C && 0 < C.remainingCapacity) && (ce = ($ = "<" + ("" + h).replace(
            Ui,
            po
          ) + ">; rel=dns-prefetch", 0 <= (C.remainingCapacity -= $.length + 2))), ce ? (L.resets.dns[h] = null, C.preconnects && (C.preconnects += ", "), C.preconnects += $) : ($ = [], Pr($, { href: h, rel: "dns-prefetch" }), L.preconnects.add($));
        }
        Ql(g);
      }
    } else zt.D(h);
  }
  function Ii(h, g) {
    var C = fr || null;
    if (C) {
      var L = C.resumableState, $ = C.renderState;
      if (typeof h == "string" && h) {
        var ce = g === "use-credentials" ? "credentials" : typeof g == "string" ? "anonymous" : "default";
        if (!L.connectResources[ce].hasOwnProperty(h)) {
          L.connectResources[ce][h] = null, L = $.headers;
          var ke, rt;
          if (rt = L && 0 < L.remainingCapacity) {
            if (rt = "<" + ("" + h).replace(
              Ui,
              po
            ) + ">; rel=preconnect", typeof g == "string") {
              var Xe = ("" + g).replace(
                lo,
                Hi
              );
              rt += '; crossorigin="' + Xe + '"';
            }
            rt = (ke = rt, 0 <= (L.remainingCapacity -= ke.length + 2));
          }
          rt ? ($.resets.connect[ce][h] = null, L.preconnects && (L.preconnects += ", "), L.preconnects += ke) : (ce = [], Pr(ce, {
            rel: "preconnect",
            href: h,
            crossOrigin: g
          }), $.preconnects.add(ce));
        }
        Ql(C);
      }
    } else zt.C(h, g);
  }
  function ho(h, g, C) {
    var L = fr || null;
    if (L) {
      var $ = L.resumableState, ce = L.renderState;
      if (g && h) {
        switch (g) {
          case "image":
            if (C)
              var ke = C.imageSrcSet, rt = C.imageSizes, Xe = C.fetchPriority;
            var ot = ke ? ke + `
` + (rt || "") : h;
            if ($.imageResources.hasOwnProperty(ot)) return;
            $.imageResources[ot] = jt, $ = ce.headers;
            var mt;
            $ && 0 < $.remainingCapacity && typeof ke != "string" && Xe === "high" && (mt = Qa(h, g, C), 0 <= ($.remainingCapacity -= mt.length + 2)) ? (ce.resets.image[ot] = jt, $.highImagePreloads && ($.highImagePreloads += ", "), $.highImagePreloads += mt) : ($ = [], Pr(
              $,
              Ge(
                { rel: "preload", href: ke ? void 0 : h, as: g },
                C
              )
            ), Xe === "high" ? ce.highImagePreloads.add($) : (ce.bulkPreloads.add($), ce.preloads.images.set(ot, $)));
            break;
          case "style":
            if ($.styleResources.hasOwnProperty(h)) return;
            ke = [], Pr(
              ke,
              Ge({ rel: "preload", href: h, as: g }, C)
            ), $.styleResources[h] = !C || typeof C.crossOrigin != "string" && typeof C.integrity != "string" ? jt : [C.crossOrigin, C.integrity], ce.preloads.stylesheets.set(h, ke), ce.bulkPreloads.add(ke);
            break;
          case "script":
            if ($.scriptResources.hasOwnProperty(h)) return;
            ke = [], ce.preloads.scripts.set(h, ke), ce.bulkPreloads.add(ke), Pr(
              ke,
              Ge({ rel: "preload", href: h, as: g }, C)
            ), $.scriptResources[h] = !C || typeof C.crossOrigin != "string" && typeof C.integrity != "string" ? jt : [C.crossOrigin, C.integrity];
            break;
          default:
            if ($.unknownResources.hasOwnProperty(g)) {
              if (ke = $.unknownResources[g], ke.hasOwnProperty(h))
                return;
            } else
              ke = {}, $.unknownResources[g] = ke;
            if (ke[h] = jt, ($ = ce.headers) && 0 < $.remainingCapacity && g === "font" && (ot = Qa(h, g, C), 0 <= ($.remainingCapacity -= ot.length + 2)))
              ce.resets.font[h] = jt, $.fontPreloads && ($.fontPreloads += ", "), $.fontPreloads += ot;
            else
              switch ($ = [], h = Ge({ rel: "preload", href: h, as: g }, C), Pr($, h), g) {
                case "font":
                  ce.fontPreloads.add($);
                  break;
                default:
                  ce.bulkPreloads.add($);
              }
        }
        Ql(L);
      }
    } else zt.L(h, g, C);
  }
  function So(h, g) {
    var C = fr || null;
    if (C) {
      var L = C.resumableState, $ = C.renderState;
      if (h) {
        var ce = g && typeof g.as == "string" ? g.as : "script";
        switch (ce) {
          case "script":
            if (L.moduleScriptResources.hasOwnProperty(h)) return;
            ce = [], L.moduleScriptResources[h] = !g || typeof g.crossOrigin != "string" && typeof g.integrity != "string" ? jt : [g.crossOrigin, g.integrity], $.preloads.moduleScripts.set(h, ce);
            break;
          default:
            if (L.moduleUnknownResources.hasOwnProperty(ce)) {
              var ke = L.unknownResources[ce];
              if (ke.hasOwnProperty(h)) return;
            } else
              ke = {}, L.moduleUnknownResources[ce] = ke;
            ce = [], ke[h] = jt;
        }
        Pr(ce, Ge({ rel: "modulepreload", href: h }, g)), $.bulkPreloads.add(ce), Ql(C);
      }
    } else zt.m(h, g);
  }
  function Br(h, g, C) {
    var L = fr || null;
    if (L) {
      var $ = L.resumableState, ce = L.renderState;
      if (h) {
        g = g || "default";
        var ke = ce.styles.get(g), rt = $.styleResources.hasOwnProperty(h) ? $.styleResources[h] : void 0;
        rt !== null && ($.styleResources[h] = null, ke || (ke = {
          precedence: Le(yt(g)),
          rules: [],
          hrefs: [],
          sheets: /* @__PURE__ */ new Map()
        }, ce.styles.set(g, ke)), g = {
          state: 0,
          props: Ge(
            { rel: "stylesheet", href: h, "data-precedence": g },
            C
          )
        }, rt && (rt.length === 2 && Wi(g.props, rt), (ce = ce.preloads.stylesheets.get(h)) && 0 < ce.length ? ce.length = 0 : g.state = 1), ke.sheets.set(h, g), Ql(L));
      }
    } else zt.S(h, g, C);
  }
  function mn(h, g) {
    var C = fr || null;
    if (C) {
      var L = C.resumableState, $ = C.renderState;
      if (h) {
        var ce = L.scriptResources.hasOwnProperty(h) ? L.scriptResources[h] : void 0;
        ce !== null && (L.scriptResources[h] = null, g = Ge({ src: h, async: true }, g), ce && (ce.length === 2 && Wi(g, ce), h = $.preloads.scripts.get(h)) && (h.length = 0), h = [], $.scripts.add(h), Hl(h, g), Ql(C));
      }
    } else zt.X(h, g);
  }
  function xo(h, g) {
    var C = fr || null;
    if (C) {
      var L = C.resumableState, $ = C.renderState;
      if (h) {
        var ce = L.moduleScriptResources.hasOwnProperty(
          h
        ) ? L.moduleScriptResources[h] : void 0;
        ce !== null && (L.moduleScriptResources[h] = null, g = Ge({ src: h, type: "module", async: true }, g), ce && (ce.length === 2 && Wi(g, ce), h = $.preloads.moduleScripts.get(h)) && (h.length = 0), h = [], $.scripts.add(h), Hl(h, g), Ql(C));
      }
    } else zt.M(h, g);
  }
  function Wi(h, g) {
    h.crossOrigin == null && (h.crossOrigin = g[0]), h.integrity == null && (h.integrity = g[1]);
  }
  function Qa(h, g, C) {
    h = ("" + h).replace(
      Ui,
      po
    ), g = ("" + g).replace(
      lo,
      Hi
    ), g = "<" + h + '>; rel=preload; as="' + g + '"';
    for (var L in C)
      Ze.call(C, L) && (h = C[L], typeof h == "string" && (g += "; " + L.toLowerCase() + '="' + ("" + h).replace(
        lo,
        Hi
      ) + '"'));
    return g;
  }
  var Ui = /[<>\r\n]/g;
  function po(h) {
    switch (h) {
      case "<":
        return "%3C";
      case ">":
        return "%3E";
      case `
`:
        return "%0A";
      case "\r":
        return "%0D";
      default:
        throw Error(
          "escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
        );
    }
  }
  var lo = /["';,\r\n]/g;
  function Hi(h) {
    switch (h) {
      case '"':
        return "%22";
      case "'":
        return "%27";
      case ";":
        return "%3B";
      case ",":
        return "%2C";
      case `
`:
        return "%0A";
      case "\r":
        return "%0D";
      default:
        throw Error(
          "escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React"
        );
    }
  }
  function rr(h) {
    this.styles.add(h);
  }
  function pr(h) {
    this.stylesheets.add(h);
  }
  function ta(h, g) {
    g.styles.forEach(rr, h), g.stylesheets.forEach(pr, h), g.suspenseyImages && (h.suspenseyImages = true);
  }
  function Mi(h) {
    return 0 < h.stylesheets.size || h.suspenseyImages;
  }
  var ja = Function.prototype.bind, Oi = Symbol.for("react.client.reference");
  function $s(h) {
    if (h == null) return null;
    if (typeof h == "function")
      return h.$$typeof === Oi ? null : h.displayName || h.name || null;
    if (typeof h == "string") return h;
    switch (h) {
      case i:
        return "Fragment";
      case p:
        return "Profiler";
      case u:
        return "StrictMode";
      case T:
        return "Suspense";
      case R:
        return "SuspenseList";
      case U:
        return "Activity";
    }
    if (typeof h == "object")
      switch (h.$$typeof) {
        case o:
          return "Portal";
        case y:
          return h.displayName || "Context";
        case v:
          return (h._context.displayName || "Context") + ".Consumer";
        case k:
          var g = h.render;
          return h = h.displayName, h || (h = g.displayName || g.name || "", h = h !== "" ? "ForwardRef(" + h + ")" : "ForwardRef"), h;
        case I:
          return g = h.displayName || null, g !== null ? g : $s(h.type) || "Memo";
        case P:
          g = h._payload, h = h._init;
          try {
            return $s(h(g));
          } catch {
          }
      }
    return null;
  }
  var $u = {}, qr = null;
  function kl(h, g) {
    if (h !== g) {
      h.context._currentValue = h.parentValue, h = h.parent;
      var C = g.parent;
      if (h === null) {
        if (C !== null) throw Error(n(401));
      } else {
        if (C === null) throw Error(n(401));
        kl(h, C);
      }
      g.context._currentValue = g.value;
    }
  }
  function bf(h) {
    h.context._currentValue = h.parentValue, h = h.parent, h !== null && bf(h);
  }
  function b(h) {
    var g = h.parent;
    g !== null && b(g), h.context._currentValue = h.value;
  }
  function m(h, g) {
    if (h.context._currentValue = h.parentValue, h = h.parent, h === null) throw Error(n(402));
    h.depth === g.depth ? kl(h, g) : m(h, g);
  }
  function A(h, g) {
    var C = g.parent;
    if (C === null) throw Error(n(402));
    h.depth === C.depth ? kl(h, C) : A(h, C), g.context._currentValue = g.value;
  }
  function N(h) {
    var g = qr;
    g !== h && (g === null ? b(h) : h === null ? bf(g) : g.depth === h.depth ? kl(g, h) : g.depth > h.depth ? m(g, h) : A(g, h), qr = h);
  }
  var Y = {
    enqueueSetState: function(h, g) {
      h = h._reactInternals, h.queue !== null && h.queue.push(g);
    },
    enqueueReplaceState: function(h, g) {
      h = h._reactInternals, h.replace = true, h.queue = [g];
    },
    enqueueForceUpdate: function() {
    }
  }, xe = { id: 1, overflow: "" };
  function Be(h, g, C) {
    var L = h.id;
    h = h.overflow;
    var $ = 32 - vt(L) - 1;
    L &= ~(1 << $), C += 1;
    var ce = 32 - vt(g) + $;
    if (30 < ce) {
      var ke = $ - $ % 5;
      return ce = (L & (1 << ke) - 1).toString(32), L >>= ke, $ -= ke, {
        id: 1 << 32 - vt(g) + $ | C << $ | L,
        overflow: ce + h
      };
    }
    return {
      id: 1 << ce | C << $ | L,
      overflow: h
    };
  }
  var vt = Math.clz32 ? Math.clz32 : Dt, Qe = Math.log, bt = Math.LN2;
  function Dt(h) {
    return h >>>= 0, h === 0 ? 32 : 31 - (Qe(h) / bt | 0) | 0;
  }
  function Mt() {
  }
  var on = Error(n(460));
  function Fn(h, g, C) {
    switch (C = h[C], C === void 0 ? h.push(g) : C !== g && (g.then(Mt, Mt), g = C), g.status) {
      case "fulfilled":
        return g.value;
      case "rejected":
        throw g.reason;
      default:
        switch (typeof g.status == "string" ? g.then(Mt, Mt) : (h = g, h.status = "pending", h.then(
          function(L) {
            if (g.status === "pending") {
              var $ = g;
              $.status = "fulfilled", $.value = L;
            }
          },
          function(L) {
            if (g.status === "pending") {
              var $ = g;
              $.status = "rejected", $.reason = L;
            }
          }
        )), g.status) {
          case "fulfilled":
            return g.value;
          case "rejected":
            throw g.reason;
        }
        throw cr = g, on;
    }
  }
  var cr = null;
  function Zn() {
    if (cr === null) throw Error(n(459));
    var h = cr;
    return cr = null, h;
  }
  function Wn(h, g) {
    return h === g && (h !== 0 || 1 / h === 1 / g) || h !== h && g !== g;
  }
  var qn = typeof Object.is == "function" ? Object.is : Wn, $n = null, _o = null, dr = null, Ar = null, Gr = null, tr = null, Ao = false, zr = false, na = 0, Xr = 0, Rr = -1, Wr = 0, er = null, Ur = null, Si = 0;
  function br() {
    if ($n === null)
      throw Error(n(321));
    return $n;
  }
  function $l() {
    if (0 < Si) throw Error(n(312));
    return { memoizedState: null, queue: null, next: null };
  }
  function El() {
    return tr === null ? Gr === null ? (Ao = false, Gr = tr = $l()) : (Ao = true, tr = Gr) : tr.next === null ? (Ao = false, tr = tr.next = $l()) : (Ao = true, tr = tr.next), tr;
  }
  function ra() {
    var h = er;
    return er = null, h;
  }
  function xs() {
    Ar = dr = _o = $n = null, zr = false, Gr = null, Si = 0, tr = Ur = null;
  }
  function _s(h, g) {
    return typeof g == "function" ? g(h) : g;
  }
  function ws(h, g, C) {
    if ($n = br(), tr = El(), Ao) {
      var L = tr.queue;
      if (g = L.dispatch, Ur !== null && (C = Ur.get(L), C !== void 0)) {
        Ur.delete(L), L = tr.memoizedState;
        do
          L = h(L, C.action), C = C.next;
        while (C !== null);
        return tr.memoizedState = L, [L, g];
      }
      return [tr.memoizedState, g];
    }
    return h = h === _s ? typeof g == "function" ? g() : g : C !== void 0 ? C(g) : g, tr.memoizedState = h, h = tr.queue = { last: null, dispatch: null }, h = h.dispatch = Cl.bind(
      null,
      $n,
      h
    ), [tr.memoizedState, h];
  }
  function il(h, g) {
    if ($n = br(), tr = El(), g = g === void 0 ? null : g, tr !== null) {
      var C = tr.memoizedState;
      if (C !== null && g !== null) {
        var L = C[1];
        e: if (L === null) L = false;
        else {
          for (var $ = 0; $ < L.length && $ < g.length; $++)
            if (!qn(g[$], L[$])) {
              L = false;
              break e;
            }
          L = true;
        }
        if (L) return C[0];
      }
    }
    return h = h(), tr.memoizedState = [h, g], h;
  }
  function Cl(h, g, C) {
    if (25 <= Si) throw Error(n(301));
    if (h === $n)
      if (zr = true, h = { action: C, next: null }, Ur === null && (Ur = /* @__PURE__ */ new Map()), C = Ur.get(g), C === void 0)
        Ur.set(g, h);
      else {
        for (g = C; g.next !== null; ) g = g.next;
        g.next = h;
      }
  }
  function yi() {
    throw Error(n(440));
  }
  function hu() {
    throw Error(n(394));
  }
  function pu() {
    throw Error(n(479));
  }
  function _c(h, g, C) {
    br();
    var L = Xr++, $ = dr;
    if (typeof h.$$FORM_ACTION == "function") {
      var ce = null, ke = Ar;
      $ = $.formState;
      var rt = h.$$IS_SIGNATURE_EQUAL;
      if ($ !== null && typeof rt == "function") {
        var Xe = $[1];
        rt.call(h, $[2], $[3]) && (ce = C !== void 0 ? "p" + C : "k" + F(
          JSON.stringify([ke, null, L]),
          0
        ), Xe === ce && (Rr = L, g = $[0]));
      }
      var ot = h.bind(null, g);
      return h = function(Ct) {
        ot(Ct);
      }, typeof ot.$$FORM_ACTION == "function" && (h.$$FORM_ACTION = function(Ct) {
        Ct = ot.$$FORM_ACTION(Ct), C !== void 0 && (C += "", Ct.action = C);
        var cn = Ct.data;
        return cn && (ce === null && (ce = C !== void 0 ? "p" + C : "k" + F(
          JSON.stringify([
            ke,
            null,
            L
          ]),
          0
        )), cn.append("$ACTION_KEY", ce)), Ct;
      }), [g, h, false];
    }
    var mt = h.bind(null, g);
    return [
      g,
      function(Ct) {
        mt(Ct);
      },
      false
    ];
  }
  function nd(h) {
    var g = Wr;
    return Wr += 1, er === null && (er = []), Fn(er, h, g);
  }
  function Vu() {
    throw Error(n(393));
  }
  var Vl = {
    readContext: function(h) {
      return h._currentValue;
    },
    use: function(h) {
      if (h !== null && typeof h == "object") {
        if (typeof h.then == "function") return nd(h);
        if (h.$$typeof === y) return h._currentValue;
      }
      throw Error(n(438, String(h)));
    },
    useContext: function(h) {
      return br(), h._currentValue;
    },
    useMemo: il,
    useReducer: ws,
    useRef: function(h) {
      $n = br(), tr = El();
      var g = tr.memoizedState;
      return g === null ? (h = { current: h }, tr.memoizedState = h) : g;
    },
    useState: function(h) {
      return ws(_s, h);
    },
    useInsertionEffect: Mt,
    useLayoutEffect: Mt,
    useCallback: function(h, g) {
      return il(function() {
        return h;
      }, g);
    },
    useImperativeHandle: Mt,
    useEffect: Mt,
    useDebugValue: Mt,
    useDeferredValue: function(h, g) {
      return br(), g !== void 0 ? g : h;
    },
    useTransition: function() {
      return br(), [false, hu];
    },
    useId: function() {
      var h = _o.treeContext, g = h.overflow;
      h = h.id, h = (h & ~(1 << 32 - vt(h) - 1)).toString(32) + g;
      var C = oa;
      if (C === null) throw Error(n(404));
      return g = na++, h = "_" + C.idPrefix + "R_" + h, 0 < g && (h += "H" + g.toString(32)), h + "_";
    },
    useSyncExternalStore: function(h, g, C) {
      if (C === void 0)
        throw Error(n(407));
      return C();
    },
    useOptimistic: function(h) {
      return br(), [h, pu];
    },
    useActionState: _c,
    useFormState: _c,
    useHostTransitionStatus: function() {
      return br(), dn;
    },
    useMemoCache: function(h) {
      for (var g = Array(h), C = 0; C < h; C++)
        g[C] = X;
      return g;
    },
    useCacheRefresh: function() {
      return Vu;
    },
    useEffectEvent: function() {
      return yi;
    }
  }, oa = null, wc = {
    getCacheForType: function() {
      throw Error(n(248));
    },
    cacheSignal: function() {
      throw Error(n(248));
    }
  }, ia, qa;
  function Sl(h) {
    if (ia === void 0)
      try {
        throw Error();
      } catch (C) {
        var g = C.stack.trim().match(/\n( *(at )?)/);
        ia = g && g[1] || "", qa = -1 < C.stack.indexOf(`
    at`) ? " (<anonymous>)" : -1 < C.stack.indexOf("@") ? "@unknown:0:0" : "";
      }
    return `
` + ia + h + qa;
  }
  var Tc = false;
  function Al(h, g) {
    if (!h || Tc) return "";
    Tc = true;
    var C = Error.prepareStackTrace;
    Error.prepareStackTrace = void 0;
    try {
      var L = {
        DetermineComponentFrameRoot: function() {
          try {
            if (g) {
              var Ct = function() {
                throw Error();
              };
              if (Object.defineProperty(Ct.prototype, "props", {
                set: function() {
                  throw Error();
                }
              }), typeof Reflect == "object" && Reflect.construct) {
                try {
                  Reflect.construct(Ct, []);
                } catch (ln) {
                  var cn = ln;
                }
                Reflect.construct(h, [], Ct);
              } else {
                try {
                  Ct.call();
                } catch (ln) {
                  cn = ln;
                }
                h.call(Ct.prototype);
              }
            } else {
              try {
                throw Error();
              } catch (ln) {
                cn = ln;
              }
              (Ct = h()) && typeof Ct.catch == "function" && Ct.catch(function() {
              });
            }
          } catch (ln) {
            if (ln && cn && typeof ln.stack == "string")
              return [ln.stack, cn.stack];
          }
          return [null, null];
        }
      };
      L.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
      var $ = Object.getOwnPropertyDescriptor(
        L.DetermineComponentFrameRoot,
        "name"
      );
      $ && $.configurable && Object.defineProperty(
        L.DetermineComponentFrameRoot,
        "name",
        { value: "DetermineComponentFrameRoot" }
      );
      var ce = L.DetermineComponentFrameRoot(), ke = ce[0], rt = ce[1];
      if (ke && rt) {
        var Xe = ke.split(`
`), ot = rt.split(`
`);
        for ($ = L = 0; L < Xe.length && !Xe[L].includes("DetermineComponentFrameRoot"); )
          L++;
        for (; $ < ot.length && !ot[$].includes(
          "DetermineComponentFrameRoot"
        ); )
          $++;
        if (L === Xe.length || $ === ot.length)
          for (L = Xe.length - 1, $ = ot.length - 1; 1 <= L && 0 <= $ && Xe[L] !== ot[$]; )
            $--;
        for (; 1 <= L && 0 <= $; L--, $--)
          if (Xe[L] !== ot[$]) {
            if (L !== 1 || $ !== 1)
              do
                if (L--, $--, 0 > $ || Xe[L] !== ot[$]) {
                  var mt = `
` + Xe[L].replace(" at new ", " at ");
                  return h.displayName && mt.includes("<anonymous>") && (mt = mt.replace("<anonymous>", h.displayName)), mt;
                }
              while (1 <= L && 0 <= $);
            break;
          }
      }
    } finally {
      Tc = false, Error.prepareStackTrace = C;
    }
    return (C = h ? h.displayName || h.name : "") ? Sl(C) : "";
  }
  function rd(h) {
    if (typeof h == "string") return Sl(h);
    if (typeof h == "function")
      return h.prototype && h.prototype.isReactComponent ? Al(h, true) : Al(h, false);
    if (typeof h == "object" && h !== null) {
      switch (h.$$typeof) {
        case k:
          return Al(h.render, false);
        case I:
          return Al(h.type, false);
        case P:
          var g = h, C = g._payload;
          g = g._init;
          try {
            h = g(C);
          } catch {
            return Sl("Lazy");
          }
          return rd(h);
      }
      if (typeof h.name == "string") {
        e: {
          C = h.name, g = h.env;
          var L = h.debugLocation;
          if (L != null && (h = Error.prepareStackTrace, Error.prepareStackTrace = void 0, L = L.stack, Error.prepareStackTrace = h, L.startsWith(`Error: react-stack-top-frame
`) && (L = L.slice(29)), h = L.indexOf(`
`), h !== -1 && (L = L.slice(h + 1)), h = L.indexOf("react_stack_bottom_frame"), h !== -1 && (h = L.lastIndexOf(`
`, h)), h = h !== -1 ? L = L.slice(0, h) : "", L = h.lastIndexOf(`
`), h = L === -1 ? h : h.slice(L + 1), h.indexOf(C) !== -1)) {
            C = `
` + h;
            break e;
          }
          C = Sl(
            C + (g ? " [" + g + "]" : "")
          );
        }
        return C;
      }
    }
    switch (h) {
      case R:
        return Sl("SuspenseList");
      case T:
        return Sl("Suspense");
    }
    return "";
  }
  function di(h, g) {
    return (500 < g.byteSize || Mi(g.contentState)) && g.contentPreamble === null;
  }
  function kc(h) {
    if (typeof h == "object" && h !== null && typeof h.environmentName == "string") {
      var g = h.environmentName;
      h = [h].slice(0), typeof h[0] == "string" ? h.splice(
        0,
        1,
        "%c%s%c " + h[0],
        "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",
        " " + g + " ",
        ""
      ) : h.splice(
        0,
        0,
        "%c%s%c",
        "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",
        " " + g + " ",
        ""
      ), h.unshift(console), g = ja.apply(console.error, h), g();
    }
    return null;
  }
  function Gl(h, g, C, L, $, ce, ke, rt, Xe, ot, mt) {
    var Ct = /* @__PURE__ */ new Set();
    this.destination = null, this.flushScheduled = false, this.resumableState = h, this.renderState = g, this.rootFormatContext = C, this.progressiveChunkSize = L === void 0 ? 12800 : L, this.status = 10, this.fatalError = null, this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0, this.completedPreambleSegments = this.completedRootSegment = null, this.byteSize = 0, this.abortableTasks = Ct, this.pingedTasks = [], this.clientRenderedBoundaries = [], this.completedBoundaries = [], this.partialBoundaries = [], this.trackedPostpones = null, this.onError = $ === void 0 ? kc : $, this.onPostpone = ot === void 0 ? Mt : ot, this.onAllReady = ce === void 0 ? Mt : ce, this.onShellReady = ke === void 0 ? Mt : ke, this.onShellError = rt === void 0 ? Mt : rt, this.onFatalError = Xe === void 0 ? Mt : Xe, this.formState = mt === void 0 ? null : mt;
  }
  function Gu(h, g, C, L, $, ce, ke, rt, Xe, ot, mt, Ct) {
    return g = new Gl(
      g,
      C,
      L,
      $,
      ce,
      ke,
      rt,
      Xe,
      ot,
      mt,
      Ct
    ), C = ka(
      g,
      0,
      null,
      L,
      false,
      false
    ), C.parentFlushed = true, h = Yl(
      g,
      null,
      h,
      -1,
      null,
      C,
      null,
      null,
      g.abortableTasks,
      null,
      L,
      null,
      xe,
      null,
      null
    ), Xl(h), g.pingedTasks.push(h), g;
  }
  function bu(h, g, C, L, $, ce, ke, rt, Xe, ot, mt) {
    return h = Gu(
      h,
      g,
      C,
      L,
      $,
      ce,
      ke,
      rt,
      Xe,
      ot,
      mt,
      void 0
    ), h.trackedPostpones = {
      workingMap: /* @__PURE__ */ new Map(),
      rootNodes: [],
      rootSlots: null
    }, h;
  }
  function ti(h, g, C, L, $, ce, ke, rt, Xe) {
    return C = new Gl(
      g.resumableState,
      C,
      g.rootFormatContext,
      g.progressiveChunkSize,
      L,
      $,
      ce,
      ke,
      rt,
      Xe,
      null
    ), C.nextSegmentId = g.nextSegmentId, typeof g.replaySlots == "number" ? (L = ka(
      C,
      0,
      null,
      g.rootFormatContext,
      false,
      false
    ), L.parentFlushed = true, h = Yl(
      C,
      null,
      h,
      -1,
      null,
      L,
      null,
      null,
      C.abortableTasks,
      null,
      g.rootFormatContext,
      null,
      xe,
      null,
      null
    ), Xl(h), C.pingedTasks.push(h), C) : (h = Po(
      C,
      null,
      {
        nodes: g.replayNodes,
        slots: g.replaySlots,
        pendingTasks: 0
      },
      h,
      -1,
      null,
      null,
      C.abortableTasks,
      null,
      g.rootFormatContext,
      null,
      xe,
      null,
      null
    ), Xl(h), C.pingedTasks.push(h), C);
  }
  function es(h, g, C, L, $, ce, ke, rt, Xe) {
    return h = ti(
      h,
      g,
      C,
      L,
      $,
      ce,
      ke,
      rt,
      Xe
    ), h.trackedPostpones = {
      workingMap: /* @__PURE__ */ new Map(),
      rootNodes: [],
      rootSlots: null
    }, h;
  }
  var fr = null;
  function Pl(h, g) {
    h.pingedTasks.push(g), h.pingedTasks.length === 1 && (h.flushScheduled = h.destination !== null, h.trackedPostpones !== null || h.status === 10 ? Te(function() {
      return gf(h);
    }) : pe(function() {
      return gf(h);
    }));
  }
  function Yu(h, g, C, L, $) {
    return C = {
      status: 0,
      rootSegmentID: -1,
      parentFlushed: false,
      pendingTasks: 0,
      row: g,
      completedSegments: [],
      byteSize: 0,
      fallbackAbortableTasks: C,
      errorDigest: null,
      contentState: fo(),
      fallbackState: fo(),
      contentPreamble: L,
      fallbackPreamble: $,
      trackedContentKeyPath: null,
      trackedFallbackNode: null
    }, g !== null && (g.pendingTasks++, L = g.boundaries, L !== null && (h.allPendingTasks++, C.pendingTasks++, L.push(C)), h = g.inheritedHoistables, h !== null && ta(C.contentState, h)), C;
  }
  function Yl(h, g, C, L, $, ce, ke, rt, Xe, ot, mt, Ct, cn, ln, wr) {
    h.allPendingTasks++, $ === null ? h.pendingRootTasks++ : $.pendingTasks++, ln !== null && ln.pendingTasks++;
    var Kn = {
      replay: null,
      node: C,
      childIndex: L,
      ping: function() {
        return Pl(h, Kn);
      },
      blockedBoundary: $,
      blockedSegment: ce,
      blockedPreamble: ke,
      hoistableState: rt,
      abortSet: Xe,
      keyPath: ot,
      formatContext: mt,
      context: Ct,
      treeContext: cn,
      row: ln,
      componentStack: wr,
      thenableState: g
    };
    return Xe.add(Kn), Kn;
  }
  function Po(h, g, C, L, $, ce, ke, rt, Xe, ot, mt, Ct, cn, ln) {
    h.allPendingTasks++, ce === null ? h.pendingRootTasks++ : ce.pendingTasks++, cn !== null && cn.pendingTasks++, C.pendingTasks++;
    var wr = {
      replay: C,
      node: L,
      childIndex: $,
      ping: function() {
        return Pl(h, wr);
      },
      blockedBoundary: ce,
      blockedSegment: null,
      blockedPreamble: null,
      hoistableState: ke,
      abortSet: rt,
      keyPath: Xe,
      formatContext: ot,
      context: mt,
      treeContext: Ct,
      row: cn,
      componentStack: ln,
      thenableState: g
    };
    return rt.add(wr), wr;
  }
  function ka(h, g, C, L, $, ce) {
    return {
      status: 0,
      parentFlushed: false,
      id: -1,
      index: g,
      chunks: [],
      children: [],
      preambleChildren: [],
      parentFormatContext: L,
      boundary: C,
      lastPushedText: $,
      textEmbedded: ce
    };
  }
  function Xl(h) {
    var g = h.node;
    if (typeof g == "object" && g !== null)
      switch (g.$$typeof) {
        case r:
          h.componentStack = { parent: h.componentStack, type: g.type };
      }
  }
  function gu(h) {
    return h === null ? null : { parent: h.parent, type: "Suspense Fallback" };
  }
  function Ts(h) {
    var g = {};
    return h && Object.defineProperty(g, "componentStack", {
      configurable: true,
      enumerable: true,
      get: function() {
        try {
          var C = "", L = h;
          do
            C += rd(L.type), L = L.parent;
          while (L);
          var $ = C;
        } catch (ce) {
          $ = `
Error generating stack: ` + ce.message + `
` + ce.stack;
        }
        return Object.defineProperty(g, "componentStack", {
          value: $
        }), $;
      }
    }), g;
  }
  function $i(h, g, C) {
    if (h = h.onError, g = h(g, C), g == null || typeof g == "string") return g;
  }
  function Xu(h, g) {
    var C = h.onShellError, L = h.onFatalError;
    C(g), L(g), h.destination !== null ? (h.status = 14, We(h.destination, g)) : (h.status = 13, h.fatalError = g);
  }
  function aa(h, g) {
    Hd(h, g.next, g.hoistables);
  }
  function Hd(h, g, C) {
    for (; g !== null; ) {
      C !== null && (ta(g.hoistables, C), g.inheritedHoistables = C);
      var L = g.boundaries;
      if (L !== null) {
        g.boundaries = null;
        for (var $ = 0; $ < L.length; $++) {
          var ce = L[$];
          C !== null && ta(ce.contentState, C), ks(h, ce, null, null);
        }
      }
      if (g.pendingTasks--, 0 < g.pendingTasks) break;
      C = g.hoistables, g = g.next;
    }
  }
  function mu(h, g) {
    var C = g.boundaries;
    if (C !== null && g.pendingTasks === C.length) {
      for (var L = true, $ = 0; $ < C.length; $++) {
        var ce = C[$];
        if (ce.pendingTasks !== 1 || ce.parentFlushed || di(h, ce)) {
          L = false;
          break;
        }
      }
      L && Hd(h, g, g.hoistables);
    }
  }
  function Ec(h) {
    var g = {
      pendingTasks: 1,
      boundaries: null,
      hoistables: fo(),
      inheritedHoistables: null,
      together: false,
      next: null
    };
    return h !== null && 0 < h.pendingTasks && (g.pendingTasks++, g.boundaries = [], h.next = g), g;
  }
  function od(h, g, C, L, $) {
    var ce = g.keyPath, ke = g.treeContext, rt = g.row;
    g.keyPath = C, C = L.length;
    var Xe = null;
    if (g.replay !== null) {
      var ot = g.replay.slots;
      if (ot !== null && typeof ot == "object")
        for (var mt = 0; mt < C; mt++) {
          var Ct = $ !== "backwards" && $ !== "unstable_legacy-backwards" ? mt : C - 1 - mt, cn = L[Ct];
          g.row = Xe = Ec(
            Xe
          ), g.treeContext = Be(ke, C, Ct);
          var ln = ot[Ct];
          typeof ln == "number" ? (yu(h, g, ln, cn, Ct), delete ot[Ct]) : fi(h, g, cn, Ct), --Xe.pendingTasks === 0 && aa(h, Xe);
        }
      else
        for (ot = 0; ot < C; ot++)
          mt = $ !== "backwards" && $ !== "unstable_legacy-backwards" ? ot : C - 1 - ot, Ct = L[mt], g.row = Xe = Ec(Xe), g.treeContext = Be(ke, C, mt), fi(h, g, Ct, mt), --Xe.pendingTasks === 0 && aa(h, Xe);
    } else if ($ !== "backwards" && $ !== "unstable_legacy-backwards")
      for ($ = 0; $ < C; $++)
        ot = L[$], g.row = Xe = Ec(Xe), g.treeContext = Be(
          ke,
          C,
          $
        ), fi(h, g, ot, $), --Xe.pendingTasks === 0 && aa(h, Xe);
    else {
      for ($ = g.blockedSegment, ot = $.children.length, mt = $.chunks.length, Ct = C - 1; 0 <= Ct; Ct--) {
        cn = L[Ct], g.row = Xe = Ec(
          Xe
        ), g.treeContext = Be(ke, C, Ct), ln = ka(
          h,
          mt,
          null,
          g.formatContext,
          Ct === 0 ? $.lastPushedText : true,
          true
        ), $.children.splice(ot, 0, ln), g.blockedSegment = ln;
        try {
          fi(h, g, cn, Ct), ln.lastPushedText && ln.textEmbedded && ln.chunks.push(No), ln.status = 1, Zl(h, g.blockedBoundary, ln), --Xe.pendingTasks === 0 && aa(h, Xe);
        } catch (wr) {
          throw ln.status = h.status === 12 ? 3 : 4, wr;
        }
      }
      g.blockedSegment = $, $.lastPushedText = false;
    }
    rt !== null && Xe !== null && 0 < Xe.pendingTasks && (rt.pendingTasks++, Xe.next = rt), g.treeContext = ke, g.row = rt, g.keyPath = ce;
  }
  function id2(h, g, C, L, $, ce) {
    var ke = g.thenableState;
    for (g.thenableState = null, $n = {}, _o = g, dr = h, Ar = C, Xr = na = 0, Rr = -1, Wr = 0, er = ke, h = L($, ce); zr; )
      zr = false, Xr = na = 0, Rr = -1, Wr = 0, Si += 1, tr = null, h = L($, ce);
    return xs(), h;
  }
  function al(h, g, C, L, $, ce, ke) {
    var rt = false;
    if (ce !== 0 && h.formState !== null) {
      var Xe = g.blockedSegment;
      if (Xe !== null) {
        rt = true, Xe = Xe.chunks;
        for (var ot = 0; ot < ce; ot++)
          ot === ke ? Xe.push(ci) : Xe.push(jn);
      }
    }
    ce = g.keyPath, g.keyPath = C, $ ? (C = g.treeContext, g.treeContext = Be(C, 1, 0), fi(h, g, L, -1), g.treeContext = C) : rt ? fi(h, g, L, -1) : sa(h, g, L, -1), g.keyPath = ce;
  }
  function vu(h, g, C, L, $, ce) {
    if (typeof L == "function")
      if (L.prototype && L.prototype.isReactComponent) {
        var ke = $;
        if ("ref" in $) {
          ke = {};
          for (var rt in $)
            rt !== "ref" && (ke[rt] = $[rt]);
        }
        var Xe = L.defaultProps;
        if (Xe) {
          ke === $ && (ke = Ge({}, ke, $));
          for (var ot in Xe)
            ke[ot] === void 0 && (ke[ot] = Xe[ot]);
        }
        $ = ke, ke = $u, Xe = L.contextType, typeof Xe == "object" && Xe !== null && (ke = Xe._currentValue), ke = new L($, ke);
        var mt = ke.state !== void 0 ? ke.state : null;
        if (ke.updater = Y, ke.props = $, ke.state = mt, Xe = { queue: [], replace: false }, ke._reactInternals = Xe, ce = L.contextType, ke.context = typeof ce == "object" && ce !== null ? ce._currentValue : $u, ce = L.getDerivedStateFromProps, typeof ce == "function" && (ce = ce($, mt), mt = ce == null ? mt : Ge({}, mt, ce), ke.state = mt), typeof L.getDerivedStateFromProps != "function" && typeof ke.getSnapshotBeforeUpdate != "function" && (typeof ke.UNSAFE_componentWillMount == "function" || typeof ke.componentWillMount == "function"))
          if (L = ke.state, typeof ke.componentWillMount == "function" && ke.componentWillMount(), typeof ke.UNSAFE_componentWillMount == "function" && ke.UNSAFE_componentWillMount(), L !== ke.state && Y.enqueueReplaceState(
            ke,
            ke.state,
            null
          ), Xe.queue !== null && 0 < Xe.queue.length)
            if (L = Xe.queue, ce = Xe.replace, Xe.queue = null, Xe.replace = false, ce && L.length === 1)
              ke.state = L[0];
            else {
              for (Xe = ce ? L[0] : ke.state, mt = true, ce = ce ? 1 : 0; ce < L.length; ce++)
                ot = L[ce], ot = typeof ot == "function" ? ot.call(ke, Xe, $, void 0) : ot, ot != null && (mt ? (mt = false, Xe = Ge({}, Xe, ot)) : Ge(Xe, ot));
              ke.state = Xe;
            }
          else Xe.queue = null;
        if (L = ke.render(), h.status === 12) throw null;
        $ = g.keyPath, g.keyPath = C, sa(h, g, L, -1), g.keyPath = $;
      } else {
        if (L = id2(h, g, C, L, $, void 0), h.status === 12) throw null;
        al(
          h,
          g,
          C,
          L,
          na !== 0,
          Xr,
          Rr
        );
      }
    else if (typeof L == "string")
      if (ke = g.blockedSegment, ke === null)
        ke = $.children, Xe = g.formatContext, mt = g.keyPath, g.formatContext = Mn(Xe, L, $), g.keyPath = C, fi(h, g, ke, -1), g.formatContext = Xe, g.keyPath = mt;
      else {
        if (mt = Oa(
          ke.chunks,
          L,
          $,
          h.resumableState,
          h.renderState,
          g.blockedPreamble,
          g.hoistableState,
          g.formatContext,
          ke.lastPushedText
        ), ke.lastPushedText = false, Xe = g.formatContext, ce = g.keyPath, g.keyPath = C, (g.formatContext = Mn(Xe, L, $)).insertionMode === 3) {
          C = ka(
            h,
            0,
            null,
            g.formatContext,
            false,
            false
          ), ke.preambleChildren.push(C), g.blockedSegment = C;
          try {
            C.status = 6, fi(h, g, mt, -1), C.lastPushedText && C.textEmbedded && C.chunks.push(No), C.status = 1, Zl(h, g.blockedBoundary, C);
          } finally {
            g.blockedSegment = ke;
          }
        } else fi(h, g, mt, -1);
        g.formatContext = Xe, g.keyPath = ce;
        e: {
          switch (g = ke.chunks, h = h.resumableState, L) {
            case "title":
            case "style":
            case "script":
            case "area":
            case "base":
            case "br":
            case "col":
            case "embed":
            case "hr":
            case "img":
            case "input":
            case "keygen":
            case "link":
            case "meta":
            case "param":
            case "source":
            case "track":
            case "wbr":
              break e;
            case "body":
              if (1 >= Xe.insertionMode) {
                h.hasBody = true;
                break e;
              }
              break;
            case "html":
              if (Xe.insertionMode === 0) {
                h.hasHtml = true;
                break e;
              }
              break;
            case "head":
              if (1 >= Xe.insertionMode) break e;
          }
          g.push(ji(L));
        }
        ke.lastPushedText = false;
      }
    else {
      switch (L) {
        case B:
        case u:
        case p:
        case i:
          L = g.keyPath, g.keyPath = C, sa(h, g, $.children, -1), g.keyPath = L;
          return;
        case U:
          L = g.blockedSegment, L === null ? $.mode !== "hidden" && (L = g.keyPath, g.keyPath = C, fi(h, g, $.children, -1), g.keyPath = L) : $.mode !== "hidden" && (L.chunks.push(Yo), L.lastPushedText = false, ke = g.keyPath, g.keyPath = C, fi(h, g, $.children, -1), g.keyPath = ke, L.chunks.push(zs), L.lastPushedText = false);
          return;
        case R:
          e: {
            if (L = $.children, $ = $.revealOrder, $ === "forwards" || $ === "backwards" || $ === "unstable_legacy-backwards") {
              if (q(L)) {
                od(h, g, C, L, $);
                break e;
              }
              if ((ke = Q(L)) && (ke = ke.call(L))) {
                if (Xe = ke.next(), !Xe.done) {
                  do
                    Xe = ke.next();
                  while (!Xe.done);
                  od(h, g, C, L, $);
                }
                break e;
              }
            }
            $ === "together" ? ($ = g.keyPath, ke = g.row, Xe = g.row = Ec(null), Xe.boundaries = [], Xe.together = true, g.keyPath = C, sa(h, g, L, -1), --Xe.pendingTasks === 0 && aa(h, Xe), g.keyPath = $, g.row = ke, ke !== null && 0 < Xe.pendingTasks && (ke.pendingTasks++, Xe.next = ke)) : ($ = g.keyPath, g.keyPath = C, sa(h, g, L, -1), g.keyPath = $);
          }
          return;
        case Z:
        case S:
          throw Error(n(343));
        case T:
          e: if (g.replay !== null) {
            L = g.keyPath, ke = g.formatContext, Xe = g.row, g.keyPath = C, g.formatContext = Co(
              h.resumableState,
              ke
            ), g.row = null, C = $.children;
            try {
              fi(h, g, C, -1);
            } finally {
              g.keyPath = L, g.formatContext = ke, g.row = Xe;
            }
          } else {
            L = g.keyPath, ce = g.formatContext;
            var Ct = g.row;
            ot = g.blockedBoundary, rt = g.blockedPreamble;
            var cn = g.hoistableState, ln = g.blockedSegment, wr = $.fallback;
            $ = $.children;
            var Kn = /* @__PURE__ */ new Set(), Tr = 2 > g.formatContext.insertionMode ? Yu(
              h,
              g.row,
              Kn,
              _n(),
              _n()
            ) : Yu(
              h,
              g.row,
              Kn,
              null,
              null
            );
            h.trackedPostpones !== null && (Tr.trackedContentKeyPath = C);
            var Ro = ka(
              h,
              ln.chunks.length,
              Tr,
              g.formatContext,
              false,
              false
            );
            ln.children.push(Ro), ln.lastPushedText = false;
            var bo = ka(
              h,
              0,
              null,
              g.formatContext,
              false,
              false
            );
            if (bo.parentFlushed = true, h.trackedPostpones !== null) {
              ke = g.componentStack, Xe = [C[0], "Suspense Fallback", C[2]], mt = [Xe[1], Xe[2], [], null], h.trackedPostpones.workingMap.set(Xe, mt), Tr.trackedFallbackNode = mt, g.blockedSegment = Ro, g.blockedPreamble = Tr.fallbackPreamble, g.keyPath = Xe, g.formatContext = mi(
                h.resumableState,
                ce
              ), g.componentStack = gu(ke), Ro.status = 6;
              try {
                fi(h, g, wr, -1), Ro.lastPushedText && Ro.textEmbedded && Ro.chunks.push(No), Ro.status = 1, Zl(h, ot, Ro);
              } catch (Vi) {
                throw Ro.status = h.status === 12 ? 3 : 4, Vi;
              } finally {
                g.blockedSegment = ln, g.blockedPreamble = rt, g.keyPath = L, g.formatContext = ce;
              }
              g = Yl(
                h,
                null,
                $,
                -1,
                Tr,
                bo,
                Tr.contentPreamble,
                Tr.contentState,
                g.abortSet,
                C,
                Co(
                  h.resumableState,
                  g.formatContext
                ),
                g.context,
                g.treeContext,
                null,
                ke
              ), Xl(g), h.pingedTasks.push(g);
            } else {
              g.blockedBoundary = Tr, g.blockedPreamble = Tr.contentPreamble, g.hoistableState = Tr.contentState, g.blockedSegment = bo, g.keyPath = C, g.formatContext = Co(
                h.resumableState,
                ce
              ), g.row = null, bo.status = 6;
              try {
                if (fi(h, g, $, -1), bo.lastPushedText && bo.textEmbedded && bo.chunks.push(No), bo.status = 1, Zl(h, Tr, bo), cd(Tr, bo), Tr.pendingTasks === 0 && Tr.status === 0) {
                  if (Tr.status = 1, !di(h, Tr)) {
                    Ct !== null && --Ct.pendingTasks === 0 && aa(h, Ct), h.pendingRootTasks === 0 && g.blockedPreamble && Vs(h);
                    break e;
                  }
                } else
                  Ct !== null && Ct.together && mu(h, Ct);
              } catch (Vi) {
                Tr.status = 4, h.status === 12 ? (bo.status = 3, ke = h.fatalError) : (bo.status = 4, ke = Vi), Xe = Ts(g.componentStack), mt = $i(
                  h,
                  ke,
                  Xe
                ), Tr.errorDigest = mt, ad(h, Tr);
              } finally {
                g.blockedBoundary = ot, g.blockedPreamble = rt, g.hoistableState = cn, g.blockedSegment = ln, g.keyPath = L, g.formatContext = ce, g.row = Ct;
              }
              g = Yl(
                h,
                null,
                wr,
                -1,
                ot,
                Ro,
                Tr.fallbackPreamble,
                Tr.fallbackState,
                Kn,
                [C[0], "Suspense Fallback", C[2]],
                mi(
                  h.resumableState,
                  g.formatContext
                ),
                g.context,
                g.treeContext,
                g.row,
                gu(
                  g.componentStack
                )
              ), Xl(g), h.pingedTasks.push(g);
            }
          }
          return;
      }
      if (typeof L == "object" && L !== null)
        switch (L.$$typeof) {
          case k:
            if ("ref" in $)
              for (ln in ke = {}, $)
                ln !== "ref" && (ke[ln] = $[ln]);
            else ke = $;
            L = id2(
              h,
              g,
              C,
              L.render,
              ke,
              ce
            ), al(
              h,
              g,
              C,
              L,
              na !== 0,
              Xr,
              Rr
            );
            return;
          case I:
            vu(h, g, C, L.type, $, ce);
            return;
          case y:
            if (Xe = $.children, ke = g.keyPath, $ = $.value, mt = L._currentValue, L._currentValue = $, ce = qr, qr = L = {
              parent: ce,
              depth: ce === null ? 0 : ce.depth + 1,
              context: L,
              parentValue: mt,
              value: $
            }, g.context = L, g.keyPath = C, sa(h, g, Xe, -1), h = qr, h === null) throw Error(n(403));
            h.context._currentValue = h.parentValue, h = qr = h.parent, g.context = h, g.keyPath = ke;
            return;
          case v:
            $ = $.children, L = $(L._context._currentValue), $ = g.keyPath, g.keyPath = C, sa(h, g, L, -1), g.keyPath = $;
            return;
          case P:
            if (ke = L._init, L = ke(L._payload), h.status === 12) throw null;
            vu(h, g, C, L, $, ce);
            return;
        }
      throw Error(
        n(130, L == null ? L : typeof L, "")
      );
    }
  }
  function yu(h, g, C, L, $) {
    var ce = g.replay, ke = g.blockedBoundary, rt = ka(
      h,
      0,
      null,
      g.formatContext,
      false,
      false
    );
    rt.id = C, rt.parentFlushed = true;
    try {
      g.replay = null, g.blockedSegment = rt, fi(h, g, L, $), rt.status = 1, Zl(h, ke, rt), ke === null ? h.completedRootSegment = rt : (cd(ke, rt), ke.parentFlushed && h.partialBoundaries.push(ke));
    } finally {
      g.replay = ce, g.blockedSegment = null;
    }
  }
  function sa(h, g, C, L) {
    g.replay !== null && typeof g.replay.slots == "number" ? yu(h, g, g.replay.slots, C, L) : (g.node = C, g.childIndex = L, C = g.componentStack, Xl(g), Cc(h, g), g.componentStack = C);
  }
  function Cc(h, g) {
    var C = g.node, L = g.childIndex;
    if (C !== null) {
      if (typeof C == "object") {
        switch (C.$$typeof) {
          case r:
            var $ = C.type, ce = C.key, ke = C.props;
            C = ke.ref;
            var rt = C !== void 0 ? C : null, Xe = $s($), ot = ce ?? (L === -1 ? 0 : L);
            if (ce = [g.keyPath, Xe, ot], g.replay !== null)
              e: {
                var mt = g.replay;
                for (L = mt.nodes, C = 0; C < L.length; C++) {
                  var Ct = L[C];
                  if (ot === Ct[1]) {
                    if (Ct.length === 4) {
                      if (Xe !== null && Xe !== Ct[0])
                        throw Error(
                          n(490, Ct[0], Xe)
                        );
                      var cn = Ct[2];
                      Xe = Ct[3], ot = g.node, g.replay = {
                        nodes: cn,
                        slots: Xe,
                        pendingTasks: 1
                      };
                      try {
                        if (vu(h, g, ce, $, ke, rt), g.replay.pendingTasks === 1 && 0 < g.replay.nodes.length)
                          throw Error(n(488));
                        g.replay.pendingTasks--;
                      } catch (Jn) {
                        if (typeof Jn == "object" && Jn !== null && (Jn === on || typeof Jn.then == "function"))
                          throw g.node === ot ? g.replay = mt : L.splice(C, 1), Jn;
                        g.replay.pendingTasks--, ke = Ts(g.componentStack), ce = h, h = g.blockedBoundary, $ = Jn, ke = $i(ce, $, ke), Ac(
                          ce,
                          h,
                          cn,
                          Xe,
                          $,
                          ke
                        );
                      }
                      g.replay = mt;
                    } else {
                      if ($ !== T)
                        throw Error(
                          n(
                            490,
                            "Suspense",
                            $s($) || "Unknown"
                          )
                        );
                      t: {
                        mt = void 0, $ = Ct[5], rt = Ct[2], Xe = Ct[3], ot = Ct[4] === null ? [] : Ct[4][2], Ct = Ct[4] === null ? null : Ct[4][3];
                        var ln = g.keyPath, wr = g.formatContext, Kn = g.row, Tr = g.replay, Ro = g.blockedBoundary, bo = g.hoistableState, Vi = ke.children, Fa = ke.fallback, Cs = /* @__PURE__ */ new Set();
                        ke = 2 > g.formatContext.insertionMode ? Yu(
                          h,
                          g.row,
                          Cs,
                          _n(),
                          _n()
                        ) : Yu(
                          h,
                          g.row,
                          Cs,
                          null,
                          null
                        ), ke.parentFlushed = true, ke.rootSegmentID = $, g.blockedBoundary = ke, g.hoistableState = ke.contentState, g.keyPath = ce, g.formatContext = Co(
                          h.resumableState,
                          wr
                        ), g.row = null, g.replay = {
                          nodes: rt,
                          slots: Xe,
                          pendingTasks: 1
                        };
                        try {
                          if (fi(h, g, Vi, -1), g.replay.pendingTasks === 1 && 0 < g.replay.nodes.length)
                            throw Error(n(488));
                          if (g.replay.pendingTasks--, ke.pendingTasks === 0 && ke.status === 0) {
                            ke.status = 1, h.completedBoundaries.push(ke);
                            break t;
                          }
                        } catch (Jn) {
                          ke.status = 4, cn = Ts(g.componentStack), mt = $i(
                            h,
                            Jn,
                            cn
                          ), ke.errorDigest = mt, g.replay.pendingTasks--, h.clientRenderedBoundaries.push(ke);
                        } finally {
                          g.blockedBoundary = Ro, g.hoistableState = bo, g.replay = Tr, g.keyPath = ln, g.formatContext = wr, g.row = Kn;
                        }
                        cn = Po(
                          h,
                          null,
                          {
                            nodes: ot,
                            slots: Ct,
                            pendingTasks: 0
                          },
                          Fa,
                          -1,
                          Ro,
                          ke.fallbackState,
                          Cs,
                          [ce[0], "Suspense Fallback", ce[2]],
                          mi(
                            h.resumableState,
                            g.formatContext
                          ),
                          g.context,
                          g.treeContext,
                          g.row,
                          gu(
                            g.componentStack
                          )
                        ), Xl(cn), h.pingedTasks.push(cn);
                      }
                    }
                    L.splice(C, 1);
                    break e;
                  }
                }
              }
            else vu(h, g, ce, $, ke, rt);
            return;
          case o:
            throw Error(n(257));
          case P:
            if (cn = C._init, C = cn(C._payload), h.status === 12) throw null;
            sa(h, g, C, L);
            return;
        }
        if (q(C)) {
          Sc(h, g, C, L);
          return;
        }
        if ((cn = Q(C)) && (cn = cn.call(C))) {
          if (C = cn.next(), !C.done) {
            ke = [];
            do
              ke.push(C.value), C = cn.next();
            while (!C.done);
            Sc(h, g, ke, L);
          }
          return;
        }
        if (typeof C.then == "function")
          return g.thenableState = null, sa(h, g, nd(C), L);
        if (C.$$typeof === y)
          return sa(
            h,
            g,
            C._currentValue,
            L
          );
        throw L = Object.prototype.toString.call(C), Error(
          n(
            31,
            L === "[object Object]" ? "object with keys {" + Object.keys(C).join(", ") + "}" : L
          )
        );
      }
      typeof C == "string" ? (L = g.blockedSegment, L !== null && (L.lastPushedText = ls(
        L.chunks,
        C,
        h.renderState,
        L.lastPushedText
      ))) : (typeof C == "number" || typeof C == "bigint") && (L = g.blockedSegment, L !== null && (L.lastPushedText = ls(
        L.chunks,
        "" + C,
        h.renderState,
        L.lastPushedText
      )));
    }
  }
  function Sc(h, g, C, L) {
    var $ = g.keyPath;
    if (L !== -1 && (g.keyPath = [g.keyPath, "Fragment", L], g.replay !== null)) {
      for (var ce = g.replay, ke = ce.nodes, rt = 0; rt < ke.length; rt++) {
        var Xe = ke[rt];
        if (Xe[1] === L) {
          L = Xe[2], Xe = Xe[3], g.replay = { nodes: L, slots: Xe, pendingTasks: 1 };
          try {
            if (Sc(h, g, C, -1), g.replay.pendingTasks === 1 && 0 < g.replay.nodes.length)
              throw Error(n(488));
            g.replay.pendingTasks--;
          } catch (Ct) {
            if (typeof Ct == "object" && Ct !== null && (Ct === on || typeof Ct.then == "function"))
              throw Ct;
            g.replay.pendingTasks--, C = Ts(g.componentStack);
            var ot = g.blockedBoundary, mt = Ct;
            C = $i(h, mt, C), Ac(
              h,
              ot,
              L,
              Xe,
              mt,
              C
            );
          }
          g.replay = ce, ke.splice(rt, 1);
          break;
        }
      }
      g.keyPath = $;
      return;
    }
    if (ce = g.treeContext, ke = C.length, g.replay !== null && (rt = g.replay.slots, rt !== null && typeof rt == "object")) {
      for (L = 0; L < ke; L++)
        Xe = C[L], g.treeContext = Be(ce, ke, L), ot = rt[L], typeof ot == "number" ? (yu(h, g, ot, Xe, L), delete rt[L]) : fi(h, g, Xe, L);
      g.treeContext = ce, g.keyPath = $;
      return;
    }
    for (rt = 0; rt < ke; rt++)
      L = C[rt], g.treeContext = Be(ce, ke, rt), fi(h, g, L, rt);
    g.treeContext = ce, g.keyPath = $;
  }
  function $d(h, g, C) {
    if (C.status = 5, C.rootSegmentID = h.nextSegmentId++, h = C.trackedContentKeyPath, h === null) throw Error(n(486));
    var L = C.trackedFallbackNode, $ = [], ce = g.workingMap.get(h);
    return ce === void 0 ? (C = [
      h[1],
      h[2],
      $,
      null,
      L,
      C.rootSegmentID
    ], g.workingMap.set(h, C), Zd(C, h[0], g), C) : (ce[4] = L, ce[5] = C.rootSegmentID, ce);
  }
  function Vd(h, g, C, L) {
    L.status = 5;
    var $ = C.keyPath, ce = C.blockedBoundary;
    if (ce === null)
      L.id = h.nextSegmentId++, g.rootSlots = L.id, h.completedRootSegment !== null && (h.completedRootSegment.status = 5);
    else {
      if (ce !== null && ce.status === 0) {
        var ke = $d(
          h,
          g,
          ce
        );
        if (ce.trackedContentKeyPath === $ && C.childIndex === -1) {
          L.id === -1 && (L.id = L.parentFlushed ? ce.rootSegmentID : h.nextSegmentId++), ke[3] = L.id;
          return;
        }
      }
      if (L.id === -1 && (L.id = L.parentFlushed && ce !== null ? ce.rootSegmentID : h.nextSegmentId++), C.childIndex === -1)
        $ === null ? g.rootSlots = L.id : (C = g.workingMap.get($), C === void 0 ? (C = [$[1], $[2], [], L.id], Zd(C, $[0], g)) : C[3] = L.id);
      else {
        if ($ === null) {
          if (h = g.rootSlots, h === null)
            h = g.rootSlots = {};
          else if (typeof h == "number")
            throw Error(n(491));
        } else if (ce = g.workingMap, ke = ce.get($), ke === void 0)
          h = {}, ke = [$[1], $[2], [], h], ce.set($, ke), Zd(ke, $[0], g);
        else if (h = ke[3], h === null)
          h = ke[3] = {};
        else if (typeof h == "number")
          throw Error(n(491));
        h[C.childIndex] = L.id;
      }
    }
  }
  function ad(h, g) {
    h = h.trackedPostpones, h !== null && (g = g.trackedContentKeyPath, g !== null && (g = h.workingMap.get(g), g !== void 0 && (g.length = 4, g[2] = [], g[3] = null)));
  }
  function Gd(h, g, C) {
    return Po(
      h,
      C,
      g.replay,
      g.node,
      g.childIndex,
      g.blockedBoundary,
      g.hoistableState,
      g.abortSet,
      g.keyPath,
      g.formatContext,
      g.context,
      g.treeContext,
      g.row,
      g.componentStack
    );
  }
  function Yd(h, g, C) {
    var L = g.blockedSegment, $ = ka(
      h,
      L.chunks.length,
      null,
      g.formatContext,
      L.lastPushedText,
      true
    );
    return L.children.push($), L.lastPushedText = false, Yl(
      h,
      C,
      g.node,
      g.childIndex,
      g.blockedBoundary,
      $,
      g.blockedPreamble,
      g.hoistableState,
      g.abortSet,
      g.keyPath,
      g.formatContext,
      g.context,
      g.treeContext,
      g.row,
      g.componentStack
    );
  }
  function fi(h, g, C, L) {
    var $ = g.formatContext, ce = g.context, ke = g.keyPath, rt = g.treeContext, Xe = g.componentStack, ot = g.blockedSegment;
    if (ot === null) {
      ot = g.replay;
      try {
        return sa(h, g, C, L);
      } catch (cn) {
        if (xs(), C = cn === on ? Zn() : cn, h.status !== 12 && typeof C == "object" && C !== null) {
          if (typeof C.then == "function") {
            L = cn === on ? ra() : null, h = Gd(h, g, L).ping, C.then(h, h), g.formatContext = $, g.context = ce, g.keyPath = ke, g.treeContext = rt, g.componentStack = Xe, g.replay = ot, N(ce);
            return;
          }
          if (C.message === "Maximum call stack size exceeded") {
            C = cn === on ? ra() : null, C = Gd(h, g, C), h.pingedTasks.push(C), g.formatContext = $, g.context = ce, g.keyPath = ke, g.treeContext = rt, g.componentStack = Xe, g.replay = ot, N(ce);
            return;
          }
        }
      }
    } else {
      var mt = ot.children.length, Ct = ot.chunks.length;
      try {
        return sa(h, g, C, L);
      } catch (cn) {
        if (xs(), ot.children.length = mt, ot.chunks.length = Ct, C = cn === on ? Zn() : cn, h.status !== 12 && typeof C == "object" && C !== null) {
          if (typeof C.then == "function") {
            ot = C, C = cn === on ? ra() : null, h = Yd(h, g, C).ping, ot.then(h, h), g.formatContext = $, g.context = ce, g.keyPath = ke, g.treeContext = rt, g.componentStack = Xe, N(ce);
            return;
          }
          if (C.message === "Maximum call stack size exceeded") {
            ot = cn === on ? ra() : null, ot = Yd(h, g, ot), h.pingedTasks.push(ot), g.formatContext = $, g.context = ce, g.keyPath = ke, g.treeContext = rt, g.componentStack = Xe, N(ce);
            return;
          }
        }
      }
    }
    throw g.formatContext = $, g.context = ce, g.keyPath = ke, g.treeContext = rt, N(ce), C;
  }
  function sd(h) {
    var g = h.blockedBoundary, C = h.blockedSegment;
    C !== null && (C.status = 3, ks(this, g, h.row, C));
  }
  function Ac(h, g, C, L, $, ce) {
    for (var ke = 0; ke < C.length; ke++) {
      var rt = C[ke];
      if (rt.length === 4)
        Ac(
          h,
          g,
          rt[2],
          rt[3],
          $,
          ce
        );
      else {
        rt = rt[5];
        var Xe = h, ot = ce, mt = Yu(
          Xe,
          null,
          /* @__PURE__ */ new Set(),
          null,
          null
        );
        mt.parentFlushed = true, mt.rootSegmentID = rt, mt.status = 4, mt.errorDigest = ot, mt.parentFlushed && Xe.clientRenderedBoundaries.push(mt);
      }
    }
    if (C.length = 0, L !== null) {
      if (g === null) throw Error(n(487));
      if (g.status !== 4 && (g.status = 4, g.errorDigest = ce, g.parentFlushed && h.clientRenderedBoundaries.push(g)), typeof L == "object") for (var Ct in L) delete L[Ct];
    }
  }
  function Pc(h, g, C) {
    var L = h.blockedBoundary, $ = h.blockedSegment;
    if ($ !== null) {
      if ($.status === 6) return;
      $.status = 3;
    }
    var ce = Ts(h.componentStack);
    if (L === null) {
      if (g.status !== 13 && g.status !== 14) {
        if (L = h.replay, L === null) {
          g.trackedPostpones !== null && $ !== null ? (L = g.trackedPostpones, $i(g, C, ce), Vd(g, L, h, $), ks(g, null, h.row, $)) : ($i(g, C, ce), Xu(g, C));
          return;
        }
        L.pendingTasks--, L.pendingTasks === 0 && 0 < L.nodes.length && ($ = $i(g, C, ce), Ac(
          g,
          null,
          L.nodes,
          L.slots,
          C,
          $
        )), g.pendingRootTasks--, g.pendingRootTasks === 0 && Xd(g);
      }
    } else {
      var ke = g.trackedPostpones;
      if (L.status !== 4) {
        if (ke !== null && $ !== null)
          return $i(g, C, ce), Vd(g, ke, h, $), L.fallbackAbortableTasks.forEach(function(rt) {
            return Pc(rt, g, C);
          }), L.fallbackAbortableTasks.clear(), ks(g, L, h.row, $);
        L.status = 4, $ = $i(g, C, ce), L.status = 4, L.errorDigest = $, ad(g, L), L.parentFlushed && g.clientRenderedBoundaries.push(L);
      }
      L.pendingTasks--, $ = L.row, $ !== null && --$.pendingTasks === 0 && aa(g, $), L.fallbackAbortableTasks.forEach(function(rt) {
        return Pc(rt, g, C);
      }), L.fallbackAbortableTasks.clear();
    }
    h = h.row, h !== null && --h.pendingTasks === 0 && aa(g, h), g.allPendingTasks--, g.allPendingTasks === 0 && ud(g);
  }
  function ld(h, g) {
    try {
      var C = h.renderState, L = C.onHeaders;
      if (L) {
        var $ = C.headers;
        if ($) {
          C.headers = null;
          var ce = $.preconnects;
          if ($.fontPreloads && (ce && (ce += ", "), ce += $.fontPreloads), $.highImagePreloads && (ce && (ce += ", "), ce += $.highImagePreloads), !g) {
            var ke = C.styles.values(), rt = ke.next();
            e: for (; 0 < $.remainingCapacity && !rt.done; rt = ke.next())
              for (var Xe = rt.value.sheets.values(), ot = Xe.next(); 0 < $.remainingCapacity && !ot.done; ot = Xe.next()) {
                var mt = ot.value, Ct = mt.props, cn = Ct.href, ln = mt.props, wr = Qa(ln.href, "style", {
                  crossOrigin: ln.crossOrigin,
                  integrity: ln.integrity,
                  nonce: ln.nonce,
                  type: ln.type,
                  fetchPriority: ln.fetchPriority,
                  referrerPolicy: ln.referrerPolicy,
                  media: ln.media
                });
                if (0 <= ($.remainingCapacity -= wr.length + 2))
                  C.resets.style[cn] = jt, ce && (ce += ", "), ce += wr, C.resets.style[cn] = typeof Ct.crossOrigin == "string" || typeof Ct.integrity == "string" ? [Ct.crossOrigin, Ct.integrity] : jt;
                else break e;
              }
          }
          L(ce ? { Link: ce } : {});
        }
      }
    } catch (Kn) {
      $i(h, Kn, {});
    }
  }
  function Xd(h) {
    h.trackedPostpones === null && ld(h, true), h.trackedPostpones === null && Vs(h), h.onShellError = Mt, h = h.onShellReady, h();
  }
  function ud(h) {
    ld(
      h,
      h.trackedPostpones === null ? true : h.completedRootSegment === null || h.completedRootSegment.status !== 5
    ), Vs(h), h = h.onAllReady, h();
  }
  function cd(h, g) {
    if (g.chunks.length === 0 && g.children.length === 1 && g.children[0].boundary === null && g.children[0].id === -1) {
      var C = g.children[0];
      C.id = g.id, C.parentFlushed = true, C.status !== 1 && C.status !== 3 && C.status !== 4 || cd(h, C);
    } else h.completedSegments.push(g);
  }
  function Zl(h, g, C) {
    if (Ue !== null) {
      C = C.chunks;
      for (var L = 0, $ = 0; $ < C.length; $++)
        L += C[$].byteLength;
      g === null ? h.byteSize += L : g.byteSize += L;
    }
  }
  function ks(h, g, C, L) {
    if (C !== null && (--C.pendingTasks === 0 ? aa(h, C) : C.together && mu(h, C)), h.allPendingTasks--, g === null) {
      if (L !== null && L.parentFlushed) {
        if (h.completedRootSegment !== null)
          throw Error(n(389));
        h.completedRootSegment = L;
      }
      h.pendingRootTasks--, h.pendingRootTasks === 0 && Xd(h);
    } else if (g.pendingTasks--, g.status !== 4)
      if (g.pendingTasks === 0) {
        if (g.status === 0 && (g.status = 1), L !== null && L.parentFlushed && (L.status === 1 || L.status === 3) && cd(g, L), g.parentFlushed && h.completedBoundaries.push(g), g.status === 1)
          C = g.row, C !== null && ta(C.hoistables, g.contentState), di(h, g) || (g.fallbackAbortableTasks.forEach(sd, h), g.fallbackAbortableTasks.clear(), C !== null && --C.pendingTasks === 0 && aa(h, C)), h.pendingRootTasks === 0 && h.trackedPostpones === null && g.contentPreamble !== null && Vs(h);
        else if (g.status === 5 && (g = g.row, g !== null)) {
          if (h.trackedPostpones !== null) {
            C = h.trackedPostpones;
            var $ = g.next;
            if ($ !== null && (L = $.boundaries, L !== null))
              for ($.boundaries = null, $ = 0; $ < L.length; $++) {
                var ce = L[$];
                $d(h, C, ce), ks(h, ce, null, null);
              }
          }
          --g.pendingTasks === 0 && aa(h, g);
        }
      } else
        L === null || !L.parentFlushed || L.status !== 1 && L.status !== 3 || (cd(g, L), g.completedSegments.length === 1 && g.parentFlushed && h.partialBoundaries.push(g)), g = g.row, g !== null && g.together && mu(h, g);
    h.allPendingTasks === 0 && ud(h);
  }
  function gf(h) {
    if (h.status !== 14 && h.status !== 13) {
      var g = qr, C = Vt.H;
      Vt.H = Vl;
      var L = Vt.A;
      Vt.A = wc;
      var $ = fr;
      fr = h;
      var ce = oa;
      oa = h.resumableState;
      try {
        var ke = h.pingedTasks, rt;
        for (rt = 0; rt < ke.length; rt++) {
          var Xe = ke[rt], ot = h, mt = Xe.blockedSegment;
          if (mt === null) {
            var Ct = ot;
            if (Xe.replay.pendingTasks !== 0) {
              N(Xe.context);
              try {
                if (typeof Xe.replay.slots == "number" ? yu(
                  Ct,
                  Xe,
                  Xe.replay.slots,
                  Xe.node,
                  Xe.childIndex
                ) : Cc(Ct, Xe), Xe.replay.pendingTasks === 1 && 0 < Xe.replay.nodes.length)
                  throw Error(n(488));
                Xe.replay.pendingTasks--, Xe.abortSet.delete(Xe), ks(
                  Ct,
                  Xe.blockedBoundary,
                  Xe.row,
                  null
                );
              } catch (ua) {
                xs();
                var cn = ua === on ? Zn() : ua;
                if (typeof cn == "object" && cn !== null && typeof cn.then == "function") {
                  var ln = Xe.ping;
                  cn.then(ln, ln), Xe.thenableState = ua === on ? ra() : null;
                } else {
                  Xe.replay.pendingTasks--, Xe.abortSet.delete(Xe);
                  var wr = Ts(Xe.componentStack);
                  ot = void 0;
                  var Kn = Ct, Tr = Xe.blockedBoundary, Ro = Ct.status === 12 ? Ct.fatalError : cn, bo = Xe.replay.nodes, Vi = Xe.replay.slots;
                  ot = $i(
                    Kn,
                    Ro,
                    wr
                  ), Ac(
                    Kn,
                    Tr,
                    bo,
                    Vi,
                    Ro,
                    ot
                  ), Ct.pendingRootTasks--, Ct.pendingRootTasks === 0 && Xd(Ct), Ct.allPendingTasks--, Ct.allPendingTasks === 0 && ud(Ct);
                }
              } finally {
              }
            }
          } else if (Ct = void 0, Kn = mt, Kn.status === 0) {
            Kn.status = 6, N(Xe.context);
            var Fa = Kn.children.length, Cs = Kn.chunks.length;
            try {
              Cc(ot, Xe), Kn.lastPushedText && Kn.textEmbedded && Kn.chunks.push(No), Xe.abortSet.delete(Xe), Kn.status = 1, Zl(ot, Xe.blockedBoundary, Kn), ks(
                ot,
                Xe.blockedBoundary,
                Xe.row,
                Kn
              );
            } catch (ua) {
              xs(), Kn.children.length = Fa, Kn.chunks.length = Cs;
              var Jn = ua === on ? Zn() : ot.status === 12 ? ot.fatalError : ua;
              if (ot.status === 12 && ot.trackedPostpones !== null) {
                var la = ot.trackedPostpones, ni = Ts(Xe.componentStack);
                Xe.abortSet.delete(Xe), $i(ot, Jn, ni), Vd(ot, la, Xe, Kn), ks(
                  ot,
                  Xe.blockedBoundary,
                  Xe.row,
                  Kn
                );
              } else if (typeof Jn == "object" && Jn !== null && typeof Jn.then == "function") {
                Kn.status = 0, Xe.thenableState = ua === on ? ra() : null;
                var Ea = Xe.ping;
                Jn.then(Ea, Ea);
              } else {
                var Rl = Ts(Xe.componentStack);
                Xe.abortSet.delete(Xe), Kn.status = 4;
                var Io = Xe.blockedBoundary, wu = Xe.row;
                if (wu !== null && --wu.pendingTasks === 0 && aa(ot, wu), ot.allPendingTasks--, Ct = $i(
                  ot,
                  Jn,
                  Rl
                ), Io === null) Xu(ot, Jn);
                else if (Io.pendingTasks--, Io.status !== 4) {
                  Io.status = 4, Io.errorDigest = Ct, ad(ot, Io);
                  var Ss = Io.row;
                  Ss !== null && --Ss.pendingTasks === 0 && aa(ot, Ss), Io.parentFlushed && ot.clientRenderedBoundaries.push(Io), ot.pendingRootTasks === 0 && ot.trackedPostpones === null && Io.contentPreamble !== null && Vs(ot);
                }
                ot.allPendingTasks === 0 && ud(ot);
              }
            } finally {
            }
          }
        }
        ke.splice(0, rt), h.destination !== null && Ku(h, h.destination);
      } catch (ua) {
        $i(h, ua, {}), Xu(h, ua);
      } finally {
        oa = ce, Vt.H = C, Vt.A = L, C === Vl && N(g), fr = $;
      }
    }
  }
  function xu(h, g, C) {
    g.preambleChildren.length && C.push(g.preambleChildren);
    for (var L = false, $ = 0; $ < g.children.length; $++)
      L = Rc(
        h,
        g.children[$],
        C
      ) || L;
    return L;
  }
  function Rc(h, g, C) {
    var L = g.boundary;
    if (L === null)
      return xu(
        h,
        g,
        C
      );
    var $ = L.contentPreamble, ce = L.fallbackPreamble;
    if ($ === null || ce === null) return false;
    switch (L.status) {
      case 1:
        if (du(h.renderState, $), h.byteSize += L.byteSize, g = L.completedSegments[0], !g) throw Error(n(391));
        return xu(
          h,
          g,
          C
        );
      case 5:
        if (h.trackedPostpones !== null) return true;
      case 4:
        if (g.status === 1)
          return du(h.renderState, ce), xu(
            h,
            g,
            C
          );
      default:
        return true;
    }
  }
  function Vs(h) {
    if (h.completedRootSegment && h.completedPreambleSegments === null) {
      var g = [], C = h.byteSize, L = Rc(
        h,
        h.completedRootSegment,
        g
      ), $ = h.renderState.preamble;
      L === false || $.headChunks && $.bodyChunks ? h.completedPreambleSegments = g : h.byteSize = C;
    }
  }
  function Zu(h, g, C, L) {
    switch (C.parentFlushed = true, C.status) {
      case 0:
        C.id = h.nextSegmentId++;
      case 5:
        return L = C.id, C.lastPushedText = false, C.textEmbedded = false, h = h.renderState, de(g, Ei), de(g, h.placeholderPrefix), h = Le(L.toString(16)), de(g, h), ze(g, fs);
      case 1:
        C.status = 2;
        var $ = true, ce = C.chunks, ke = 0;
        C = C.children;
        for (var rt = 0; rt < C.length; rt++) {
          for ($ = C[rt]; ke < $.index; ke++)
            de(g, ce[ke]);
          $ = Ic(h, g, $, L);
        }
        for (; ke < ce.length - 1; ke++)
          de(g, ce[ke]);
        return ke < ce.length && ($ = ze(g, ce[ke])), $;
      case 3:
        return true;
      default:
        throw Error(n(390));
    }
  }
  var Kl = 0;
  function Ic(h, g, C, L) {
    var $ = C.boundary;
    if ($ === null)
      return Zu(h, g, C, L);
    if ($.parentFlushed = true, $.status === 4) {
      var ce = $.row;
      ce !== null && --ce.pendingTasks === 0 && aa(h, ce), $ = $.errorDigest, ze(g, ei), de(g, rl), $ && (de(g, Bi), de(g, Le(yt($))), de(
        g,
        Ta
      )), ze(g, xc), Zu(h, g, C, L);
    } else if ($.status !== 1)
      $.status === 0 && ($.rootSegmentID = h.nextSegmentId++), 0 < $.completedSegments.length && h.partialBoundaries.push($), hs(
        g,
        h.renderState,
        $.rootSegmentID
      ), L && ta(L, $.fallbackState), Zu(h, g, C, L);
    else if (!Gs && di(h, $) && (Kl + $.byteSize > h.progressiveChunkSize || Mi($.contentState)))
      $.rootSegmentID = h.nextSegmentId++, h.completedBoundaries.push($), hs(
        g,
        h.renderState,
        $.rootSegmentID
      ), Zu(h, g, C, L);
    else {
      if (Kl += $.byteSize, L && ta(L, $.contentState), C = $.row, C !== null && di(h, $) && --C.pendingTasks === 0 && aa(h, C), ze(g, Ws), C = $.completedSegments, C.length !== 1) throw Error(n(391));
      Ic(h, g, C[0], L);
    }
    return ze(g, Lr);
  }
  function Jl(h, g, C, L) {
    return Ci(
      g,
      h.renderState,
      C.parentFormatContext,
      C.id
    ), Ic(h, g, C, L), Ka(g, C.parentFormatContext);
  }
  function mf(h, g, C) {
    Kl = C.byteSize;
    for (var L = C.completedSegments, $ = 0; $ < L.length; $++)
      vf(
        h,
        g,
        C,
        L[$]
      );
    L.length = 0, L = C.row, L !== null && di(h, C) && --L.pendingTasks === 0 && aa(h, L), Ce(
      g,
      C.contentState,
      h.renderState
    ), L = h.resumableState, h = h.renderState, $ = C.rootSegmentID, C = C.contentState;
    var ce = h.stylesToHoist;
    return h.stylesToHoist = false, de(g, h.startInlineScript), de(g, kt), ce ? ((L.instructions & 4) === 0 && (L.instructions |= 4, de(g, V)), (L.instructions & 2) === 0 && (L.instructions |= 2, de(g, ea)), (L.instructions & 8) === 0 ? (L.instructions |= 8, de(g, Jo)) : de(g, f)) : ((L.instructions & 2) === 0 && (L.instructions |= 2, de(g, ea)), de(g, ys)), L = Le($.toString(16)), de(g, h.boundaryPrefix), de(g, L), de(g, x), de(g, h.segmentPrefix), de(g, L), ce ? (de(g, E), sr(g, C)) : de(g, D), C = ze(g, W), Lo(g, h) && C;
  }
  function vf(h, g, C, L) {
    if (L.status === 2) return true;
    var $ = C.contentState, ce = L.id;
    if (ce === -1) {
      if ((L.id = C.rootSegmentID) === -1)
        throw Error(n(392));
      return Jl(h, g, L, $);
    }
    return ce === C.rootSegmentID ? Jl(h, g, L, $) : (Jl(h, g, L, $), C = h.resumableState, h = h.renderState, de(g, h.startInlineScript), de(g, kt), (C.instructions & 1) === 0 ? (C.instructions |= 1, de(g, Ja)) : de(g, fu), de(g, h.segmentPrefix), ce = Le(ce.toString(16)), de(g, ce), de(g, vs), de(g, h.placeholderPrefix), de(g, ce), g = ze(g, zo), g);
  }
  var Gs = false;
  function Ku(h, g) {
    be = new Uint8Array(2048), ie = 0;
    try {
      if (!(0 < h.pendingRootTasks)) {
        var C, L = h.completedRootSegment;
        if (L !== null) {
          if (L.status === 5) return;
          var $ = h.completedPreambleSegments;
          if ($ === null) return;
          Kl = h.byteSize;
          var ce = h.resumableState, ke = h.renderState, rt = ke.preamble, Xe = rt.htmlChunks, ot = rt.headChunks, mt;
          if (Xe) {
            for (mt = 0; mt < Xe.length; mt++)
              de(g, Xe[mt]);
            if (ot)
              for (mt = 0; mt < ot.length; mt++)
                de(g, ot[mt]);
            else
              de(g, Go("head")), de(g, kt);
          } else if (ot)
            for (mt = 0; mt < ot.length; mt++)
              de(g, ot[mt]);
          var Ct = ke.charsetChunks;
          for (mt = 0; mt < Ct.length; mt++)
            de(g, Ct[mt]);
          Ct.length = 0, ke.preconnects.forEach(Se, g), ke.preconnects.clear();
          var cn = ke.viewportChunks;
          for (mt = 0; mt < cn.length; mt++)
            de(g, cn[mt]);
          cn.length = 0, ke.fontPreloads.forEach(Se, g), ke.fontPreloads.clear(), ke.highImagePreloads.forEach(Se, g), ke.highImagePreloads.clear(), _t = ke, ke.styles.forEach(Ye, g), _t = null;
          var ln = ke.importMapChunks;
          for (mt = 0; mt < ln.length; mt++)
            de(g, ln[mt]);
          ln.length = 0, ke.bootstrapScripts.forEach(Se, g), ke.scripts.forEach(Se, g), ke.scripts.clear(), ke.bulkPreloads.forEach(Se, g), ke.bulkPreloads.clear(), Xe || ot || (ce.instructions |= 32);
          var wr = ke.hoistableChunks;
          for (mt = 0; mt < wr.length; mt++)
            de(g, wr[mt]);
          for (ce = wr.length = 0; ce < $.length; ce++) {
            var Kn = $[ce];
            for (ke = 0; ke < Kn.length; ke++)
              Ic(h, g, Kn[ke], null);
          }
          var Tr = h.renderState.preamble, Ro = Tr.headChunks;
          (Tr.htmlChunks || Ro) && de(g, ji("head"));
          var bo = Tr.bodyChunks;
          if (bo)
            for ($ = 0; $ < bo.length; $++)
              de(g, bo[$]);
          Ic(h, g, L, null), h.completedRootSegment = null;
          var Vi = h.renderState;
          if (h.allPendingTasks !== 0 || h.clientRenderedBoundaries.length !== 0 || h.completedBoundaries.length !== 0 || h.trackedPostpones !== null && (h.trackedPostpones.rootNodes.length !== 0 || h.trackedPostpones.rootSlots !== null)) {
            var Fa = h.resumableState;
            if ((Fa.instructions & 64) === 0) {
              if (Fa.instructions |= 64, de(g, Vi.startInlineScript), (Fa.instructions & 32) === 0) {
                Fa.instructions |= 32;
                var Cs = "_" + Fa.idPrefix + "R_";
                de(g, Ie), de(
                  g,
                  Le(yt(Cs))
                ), de(g, ur);
              }
              de(g, kt), de(g, yo), ze(g, Ht);
            }
          }
          Lo(g, Vi);
        }
        var Jn = h.renderState;
        L = 0;
        var la = Jn.viewportChunks;
        for (L = 0; L < la.length; L++)
          de(g, la[L]);
        la.length = 0, Jn.preconnects.forEach(Se, g), Jn.preconnects.clear(), Jn.fontPreloads.forEach(Se, g), Jn.fontPreloads.clear(), Jn.highImagePreloads.forEach(
          Se,
          g
        ), Jn.highImagePreloads.clear(), Jn.styles.forEach(ue, g), Jn.scripts.forEach(Se, g), Jn.scripts.clear(), Jn.bulkPreloads.forEach(Se, g), Jn.bulkPreloads.clear();
        var ni = Jn.hoistableChunks;
        for (L = 0; L < ni.length; L++)
          de(g, ni[L]);
        ni.length = 0;
        var Ea = h.clientRenderedBoundaries;
        for (C = 0; C < Ea.length; C++) {
          var Rl = Ea[C];
          Jn = g;
          var Io = h.resumableState, wu = h.renderState, Ss = Rl.rootSegmentID, ua = Rl.errorDigest;
          de(
            Jn,
            wu.startInlineScript
          ), de(Jn, kt), (Io.instructions & 4) === 0 ? (Io.instructions |= 4, de(Jn, ge)) : de(Jn, De), de(Jn, wu.boundaryPrefix), de(Jn, Le(Ss.toString(16))), de(Jn, ve), ua && (de(
            Jn,
            Fe
          ), de(
            Jn,
            Le(
              me(ua || "")
            )
          ));
          var Ys = ze(
            Jn,
            He
          );
          if (!Ys) {
            h.destination = null, C++, Ea.splice(0, C);
            return;
          }
        }
        Ea.splice(0, C);
        var ca = h.completedBoundaries;
        for (C = 0; C < ca.length; C++)
          if (!mf(h, g, ca[C])) {
            h.destination = null, C++, ca.splice(0, C);
            return;
          }
        ca.splice(0, C), nt(g), be = new Uint8Array(2048), ie = 0, Gs = true;
        var Tu = h.partialBoundaries;
        for (C = 0; C < Tu.length; C++) {
          var Qu = Tu[C];
          e: {
            Ea = h, Rl = g, Kl = Qu.byteSize;
            var Ca = Qu.completedSegments;
            for (Ys = 0; Ys < Ca.length; Ys++)
              if (!vf(
                Ea,
                Rl,
                Qu,
                Ca[Ys]
              )) {
                Ys++, Ca.splice(0, Ys);
                var ju = false;
                break e;
              }
            Ca.splice(0, Ys);
            var da = Qu.row;
            da !== null && da.together && Qu.pendingTasks === 1 && (da.pendingTasks === 1 ? Hd(
              Ea,
              da,
              da.hoistables
            ) : da.pendingTasks--), ju = Ce(
              Rl,
              Qu.contentState,
              Ea.renderState
            );
          }
          if (!ju) {
            h.destination = null, C++, Tu.splice(0, C);
            return;
          }
        }
        Tu.splice(0, C), Gs = false;
        var ku = h.completedBoundaries;
        for (C = 0; C < ku.length; C++)
          if (!mf(h, g, ku[C])) {
            h.destination = null, C++, ku.splice(0, C);
            return;
          }
        ku.splice(0, C);
      }
    } finally {
      Gs = false, h.allPendingTasks === 0 && h.clientRenderedBoundaries.length === 0 && h.completedBoundaries.length === 0 ? (h.flushScheduled = false, C = h.resumableState, C.hasBody && de(g, ji("body")), C.hasHtml && de(g, ji("html")), nt(g), h.status = 14, g.close(), h.destination = null) : nt(g);
    }
  }
  function ts(h) {
    h.flushScheduled = h.destination !== null, Te(function() {
      return gf(h);
    }), pe(function() {
      h.status === 10 && (h.status = 11), h.trackedPostpones === null && ld(h, h.pendingRootTasks === 0);
    });
  }
  function Ql(h) {
    h.flushScheduled === false && h.pingedTasks.length === 0 && h.destination !== null && (h.flushScheduled = true, pe(function() {
      var g = h.destination;
      g ? Ku(h, g) : h.flushScheduled = false;
    }));
  }
  function _u(h, g) {
    if (h.status === 13)
      h.status = 14, We(g, h.fatalError);
    else if (h.status !== 14 && h.destination === null) {
      h.destination = g;
      try {
        Ku(h, g);
      } catch (C) {
        $i(h, C, {}), Xu(h, C);
      }
    }
  }
  function Es(h, g) {
    (h.status === 11 || h.status === 10) && (h.status = 12);
    try {
      var C = h.abortableTasks;
      if (0 < C.size) {
        var L = g === void 0 ? Error(n(432)) : typeof g == "object" && g !== null && typeof g.then == "function" ? Error(n(530)) : g;
        h.fatalError = L, C.forEach(function($) {
          return Pc($, h, L);
        }), C.clear();
      }
      h.destination !== null && Ku(h, h.destination);
    } catch ($) {
      $i(h, $, {}), Xu(h, $);
    }
  }
  function Zd(h, g, C) {
    if (g === null) C.rootNodes.push(h);
    else {
      var L = C.workingMap, $ = L.get(g);
      $ === void 0 && ($ = [g[1], g[2], [], null], L.set(g, $), Zd($, g[0], C)), $[2].push(h);
    }
  }
  function yf(h) {
    var g = h.trackedPostpones;
    if (g === null || g.rootNodes.length === 0 && g.rootSlots === null)
      return h.trackedPostpones = null;
    if (h.completedRootSegment === null || h.completedRootSegment.status !== 5 && h.completedPreambleSegments !== null) {
      var C = h.nextSegmentId, L = g.rootSlots, $ = h.resumableState;
      $.bootstrapScriptContent = void 0, $.bootstrapScripts = void 0, $.bootstrapModules = void 0;
    } else {
      C = 0, L = -1, $ = h.resumableState;
      var ce = h.renderState;
      $.nextFormID = 0, $.hasBody = false, $.hasHtml = false, $.unknownResources = { font: ce.resets.font }, $.dnsResources = ce.resets.dns, $.connectResources = ce.resets.connect, $.imageResources = ce.resets.image, $.styleResources = ce.resets.style, $.scriptResources = {}, $.moduleUnknownResources = {}, $.moduleScriptResources = {}, $.instructions = 0;
    }
    return {
      nextSegmentId: C,
      rootFormatContext: h.rootFormatContext,
      progressiveChunkSize: h.progressiveChunkSize,
      resumableState: h.resumableState,
      replayNodes: g.rootNodes,
      replaySlots: L
    };
  }
  function Ju() {
    var h = e10.version;
    if (h !== "19.2.0")
      throw Error(
        n(
          527,
          h,
          "19.2.0"
        )
      );
  }
  return Ju(), Ju(), Nh.prerender = function(h, g) {
    return new Promise(function(C, L) {
      var $ = g ? g.onHeaders : void 0, ce;
      $ && (ce = function(mt) {
        $(new Headers(mt));
      });
      var ke = In(
        g ? g.identifierPrefix : void 0,
        g ? g.unstable_externalRuntimeSrc : void 0,
        g ? g.bootstrapScriptContent : void 0,
        g ? g.bootstrapScripts : void 0,
        g ? g.bootstrapModules : void 0
      ), rt = bu(
        h,
        ke,
        En(
          ke,
          void 0,
          g ? g.unstable_externalRuntimeSrc : void 0,
          g ? g.importMap : void 0,
          ce,
          g ? g.maxHeadersLength : void 0
        ),
        Sr(g ? g.namespaceURI : void 0),
        g ? g.progressiveChunkSize : void 0,
        g ? g.onError : void 0,
        function() {
          var mt = new ReadableStream(
            {
              type: "bytes",
              pull: function(Ct) {
                _u(rt, Ct);
              },
              cancel: function(Ct) {
                rt.destination = null, Es(rt, Ct);
              }
            },
            { highWaterMark: 0 }
          );
          mt = { postponed: yf(rt), prelude: mt }, C(mt);
        },
        void 0,
        void 0,
        L,
        g ? g.onPostpone : void 0
      );
      if (g && g.signal) {
        var Xe = g.signal;
        if (Xe.aborted) Es(rt, Xe.reason);
        else {
          var ot = function() {
            Es(rt, Xe.reason), Xe.removeEventListener("abort", ot);
          };
          Xe.addEventListener("abort", ot);
        }
      }
      ts(rt);
    });
  }, Nh.renderToReadableStream = function(h, g) {
    return new Promise(function(C, L) {
      var $, ce, ke = new Promise(function(ln, wr) {
        ce = ln, $ = wr;
      }), rt = g ? g.onHeaders : void 0, Xe;
      rt && (Xe = function(ln) {
        rt(new Headers(ln));
      });
      var ot = In(
        g ? g.identifierPrefix : void 0,
        g ? g.unstable_externalRuntimeSrc : void 0,
        g ? g.bootstrapScriptContent : void 0,
        g ? g.bootstrapScripts : void 0,
        g ? g.bootstrapModules : void 0
      ), mt = Gu(
        h,
        ot,
        En(
          ot,
          g ? g.nonce : void 0,
          g ? g.unstable_externalRuntimeSrc : void 0,
          g ? g.importMap : void 0,
          Xe,
          g ? g.maxHeadersLength : void 0
        ),
        Sr(g ? g.namespaceURI : void 0),
        g ? g.progressiveChunkSize : void 0,
        g ? g.onError : void 0,
        ce,
        function() {
          var ln = new ReadableStream(
            {
              type: "bytes",
              pull: function(wr) {
                _u(mt, wr);
              },
              cancel: function(wr) {
                mt.destination = null, Es(mt, wr);
              }
            },
            { highWaterMark: 0 }
          );
          ln.allReady = ke, C(ln);
        },
        function(ln) {
          ke.catch(function() {
          }), L(ln);
        },
        $,
        g ? g.onPostpone : void 0,
        g ? g.formState : void 0
      );
      if (g && g.signal) {
        var Ct = g.signal;
        if (Ct.aborted) Es(mt, Ct.reason);
        else {
          var cn = function() {
            Es(mt, Ct.reason), Ct.removeEventListener("abort", cn);
          };
          Ct.addEventListener("abort", cn);
        }
      }
      ts(mt);
    });
  }, Nh.resume = function(h, g, C) {
    return new Promise(function(L, $) {
      var ce, ke, rt = new Promise(function(Ct, cn) {
        ke = Ct, ce = cn;
      }), Xe = ti(
        h,
        g,
        En(
          g.resumableState,
          C ? C.nonce : void 0,
          void 0,
          void 0,
          void 0,
          void 0
        ),
        C ? C.onError : void 0,
        ke,
        function() {
          var Ct = new ReadableStream(
            {
              type: "bytes",
              pull: function(cn) {
                _u(Xe, cn);
              },
              cancel: function(cn) {
                Xe.destination = null, Es(Xe, cn);
              }
            },
            { highWaterMark: 0 }
          );
          Ct.allReady = rt, L(Ct);
        },
        function(Ct) {
          rt.catch(function() {
          }), $(Ct);
        },
        ce,
        C ? C.onPostpone : void 0
      );
      if (C && C.signal) {
        var ot = C.signal;
        if (ot.aborted) Es(Xe, ot.reason);
        else {
          var mt = function() {
            Es(Xe, ot.reason), ot.removeEventListener("abort", mt);
          };
          ot.addEventListener("abort", mt);
        }
      }
      ts(Xe);
    });
  }, Nh.resumeAndPrerender = function(h, g, C) {
    return new Promise(function(L, $) {
      var ce = es(
        h,
        g,
        En(
          g.resumableState,
          void 0,
          void 0,
          void 0,
          void 0,
          void 0
        ),
        C ? C.onError : void 0,
        function() {
          var Xe = new ReadableStream(
            {
              type: "bytes",
              pull: function(ot) {
                _u(ce, ot);
              },
              cancel: function(ot) {
                ce.destination = null, Es(ce, ot);
              }
            },
            { highWaterMark: 0 }
          );
          Xe = { postponed: yf(ce), prelude: Xe }, L(Xe);
        },
        void 0,
        void 0,
        $,
        C ? C.onPostpone : void 0
      );
      if (C && C.signal) {
        var ke = C.signal;
        if (ke.aborted) Es(ce, ke.reason);
        else {
          var rt = function() {
            Es(ce, ke.reason), ke.removeEventListener("abort", rt);
          };
          ke.addEventListener("abort", rt);
        }
      }
      ts(ce);
    });
  }, Nh.version = "19.2.0", Nh;
}
var Sx;
function O0e() {
  if (Sx) return Fh;
  Sx = 1;
  var e10, t;
  return e10 = P0e(), t = R0e(), Fh.version = e10.version, Fh.renderToString = e10.renderToString, Fh.renderToStaticMarkup = e10.renderToStaticMarkup, Fh.renderToReadableStream = t.renderToReadableStream, Fh.resume = t.resume, Fh;
}
var Ax = O0e(), Er;
(function(e10) {
  e10.heading1 = "heading-1", e10.heading2 = "heading-2", e10.heading3 = "heading-3", e10.heading4 = "heading-4", e10.textIntro = "text-intro", e10.text = "text", e10.textHelp = "text-help", e10.textCaption = "text-caption", e10.display1 = "display-1", e10.display2 = "display-2";
})(Er || (Er = {}));
var si;
(function(e10) {
  e10.regular = "regular", e10.medium = "medium", e10.bold = "bold";
})(si || (si = {}));
const nr = (e10) => {
  const {
    type: t = Er.text,
    children: n,
    textTight: r = false,
    maxWidth: o,
    maxChar: i,
    // Updated prop name
    maxLines: u,
    textAlign: p,
    fontWeight: v = si.regular,
    fontSize: y,
    textWrap: k = "wrap",
    wordBreak: T = "initial",
    replacements: R,
    context: I = "one",
    testId: P,
    translate: S = true,
    className: U = "",
    color: B,
    display: X = "block",
    uppercase: Z = false,
    links: te,
    balanced: Q,
    disabled: q,
    capitalize: F = false,
    isBlurred: ne = false,
    seeMore: ae = false,
    ellipsis: pe,
    allowNewLines: Ve = false,
    animateWords: we = void 0,
    highlightWords: Te,
    highlightColor: be,
    highlightMode: ie = "background",
    highlightCaseInsensitive: de = false,
    ...ze
  } = e10, nt = wi.translationsWritingStyle ? wi.translationsWritingStyle : "personal";
  let ut = n;
  const [Le, oe] = reactExports.useState(false), [Ue, We] = reactExports.useState(false), [Ge, Ze] = reactExports.useState(false), _e = (qe) => Rd.shouldTrackTranslations ? qe.wasTranslated : Rd.shouldTrackTranslationKeys ? qe.hasTranslationKey : false;
  let st = null, Ke = "";
  typeof n == "string" ? Ke = n : Ke = H0(n);
  const ht = typeof ae == "object" && (ae.seeMoreVisible === true || ae.seeMoreVisible === void 0);
  if (st = reactExports.useMemo(() => {
    const qe = Lf.get(Ke, R, I, nt), wt = T0e(te, qe.value);
    return i && typeof wt == "string" && (qe.value.length > i ? Ze(true) : Ze(false)), {
      value: wt,
      fixedValue: wt,
      wasTranslated: qe.wasTranslated
      // include other properties from the translation object as needed
    };
  }, [R, n, I, nt, te]), ut = S ? Zf(st.value, {
    htmlparser2: {
      lowerCaseTags: false
    }
  }) : Lf.justReplace(Ke, R), typeof ut == "string" && (Te != null && Te.length)) {
    const qe = {
      backgroundColor: ie === "background" ? be : void 0,
      color: ie === "text" ? be : void 0,
      fontWeight: ie === "bold" ? "bold" : void 0
    };
    Te.forEach((wt) => {
      if (de) {
        const en = new RegExp(wt.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), "gi"), Vt = ut.match(en);
        Vt && Vt.forEach((wn) => {
          ut = ut.replace(wn, Ax.renderToString(jsxRuntimeExports.jsx("span", {
            style: qe,
            children: wn
          })));
        });
      } else
        ut = ut.replace(wt, Ax.renderToString(jsxRuntimeExports.jsx("span", {
          style: qe,
          children: wt
        })));
    });
  }
  reactExports.useMemo(() => {
    S && (Rd.shouldTrackTranslations || Rd.shouldTrackTranslationKeys) && (oe(_e(st)), _e(st) ? Rd.addTranslated(H0(n)) : Rd.addUntranslated(H0(n)));
  }, [st, Rd.shouldTrackTranslations, Rd.shouldTrackTranslationKeys]);
  const gt = () => {
    let qe = `rc-text ${t}`;
    return k && (qe += ` text-${k}`), T && (qe += ` text-${T}`), r && (qe += " text-tight"), ne && (qe += " text-isBlurred"), Ve && (qe += " notranslate"), S || (qe += " notranslate"), (Rd.shouldTrackTranslations || Rd.shouldTrackTranslationKeys) && (Le || (qe += " not-translated"), Le && (qe += " was-translated"), S || (qe += " do-not-translate")), Z && (qe += " uppercase"), F && (qe += " text-capitalize"), U && (qe += ` ${U}`), qe;
  }, xt = () => {
    const qe = {};
    return q && (qe.color = oy("--n300")), B && (qe.color = oy(B)), v && (v === si.regular && (qe.fontWeight = "normal"), v === si.medium && (qe.fontWeight = 500), v === si.bold && (qe.fontWeight = "bold")), y && (qe.fontSize = y), p && (qe.textAlign = p), pe && (qe.whiteSpace = k === "wrap" ? "unset" : "nowrap", qe.overflow = "hidden", qe.textOverflow = "ellipsis", qe.wordBreak = e10.wordBreak || "break-word", qe.maxWidth = o || "100%"), X && (qe.display = X), qe;
  }, ct = () => {
    typeof ae == "object" && !ht || We((qe) => !qe);
  }, yt = (qe) => jsxRuntimeExports.jsx("b", {
    style: {
      cursor: "pointer"
    },
    children: Lf.get(qe).value
  }), Ot = () => {
    if (Ve && typeof ut == "string" && !ae && (ut = ut.replaceAll(`
`, "<br>")), typeof ut == "string") {
      const qe = L0(ut);
      if (typeof ae == "boolean" && ae) {
        const wt = yt(Ue ? "See Less" : "See More"), en = Ue ? ut : `${ut.slice(0, i)}...`;
        Ge && (qe.children = jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
          children: [L0(en).children, " ", jsxRuntimeExports.jsx("a", {
            onClick: ct,
            children: wt
          })]
        }));
      } else if (
        //@ts-ignore
        ht && //@ts-ignore
        ae.seeMoreContent && u
      )
        ae && (qe.children = jsxRuntimeExports.jsxs("span", {
          className: "see-more",
          style: {
            WebkitLineClamp: u
          },
          children: [L0(ut).children, ut.length > 100 && jsxRuntimeExports.jsx("span", {
            className: "see-more-content",
            children: (
              //@ts-ignore
              ht && ae.seeMoreContent
            )
          })]
        }));
      else if (ht && //@ts-ignore
      ae.seeMoreContent && //@ts-ignore
      ae.seeLessContent || typeof ae == "object" && ae.seeMoreVisible === false)
        if (Ue)
          ae && (qe.children = jsxRuntimeExports.jsxs("span", {
            onClick: ct,
            children: [
              L0(ut).children,
              " ",
              // @ts-ignore
              ht && ae.seeLessContent
            ]
          }));
        else {
          const wt = typeof ut == "string" ? `${ut.slice(0, i)}...` : ut;
          Ge && (qe.children = jsxRuntimeExports.jsxs("span", {
            onClick: ct,
            children: [
              // @ts-ignore
              wt,
              ht && //@ts-ignore
              ae.seeMoreContent
            ]
          }));
        }
      return we && (qe.children = _0e(ut, we)), qe;
    }
    return ut && typeof ut == "object" && //@ts-ignore
    typeof ut[0] == "object" && te && typeof te == "object" && ut.forEach((qe, wt) => {
      if (qe.type === "a") {
        const en = te[qe.props.children], Vt = Lf.get(en.text);
        en.href && ((ut ?? [])[wt] = reactExports.createElement("a", {
          href: en.href,
          key: wt,
          target: en.target,
          style: {
            cursor: "pointer"
          }
        }, reactExports.createElement("em", {}, Vt.value))), en.onClick && ((ut ?? [])[wt] = reactExports.createElement("a", {
          onClick: en.onClick,
          key: wt,
          role: "link",
          style: {
            cursor: "pointer"
          }
        }, reactExports.createElement("em", {}, Vt.value)));
      }
    }), {
      children: ut
    };
  };
  if (t.indexOf("heading") >= 0) {
    const wt = `h${t.split("-")[1]}`;
    return jsxRuntimeExports.jsx(Mm, {
      balanced: Q,
      children: jsxRuntimeExports.jsx(wt, {
        "data-testid": P,
        className: gt(),
        style: xt(),
        ...Ot(),
        ...ze
      })
    });
  }
  return t.indexOf("display") >= 0 ? jsxRuntimeExports.jsx(Mm, {
    balanced: Q,
    children: jsxRuntimeExports.jsx("h1", {
      "data-testid": P,
      className: gt(),
      style: xt(),
      ...Ot(),
      ...ze
    })
  }) : jsxRuntimeExports.jsx(Mm, {
    balanced: Q,
    children: jsxRuntimeExports.jsx("span", {
      "data-testid": P,
      className: Kt("paragraph", gt()),
      style: xt(),
      ...Ot(),
      ...ze
    })
  });
};
var Ty = function(e10, t) {
  return Ty = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
    n.__proto__ = r;
  } || function(n, r) {
    for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
  }, Ty(e10, t);
};
function n0(e10, t) {
  if (typeof t != "function" && t !== null)
    throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
  Ty(e10, t);
  function n() {
    this.constructor = e10;
  }
  e10.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
}
function D0e(e10, t, n, r) {
  function o(i) {
    return i instanceof n ? i : new n(function(u) {
      u(i);
    });
  }
  return new (n || (n = Promise))(function(i, u) {
    function p(k) {
      try {
        y(r.next(k));
      } catch (T) {
        u(T);
      }
    }
    function v(k) {
      try {
        y(r.throw(k));
      } catch (T) {
        u(T);
      }
    }
    function y(k) {
      k.done ? i(k.value) : o(k.value).then(p, v);
    }
    y((r = r.apply(e10, [])).next());
  });
}
function jk(e10, t) {
  var n = { label: 0, sent: function() {
    if (i[0] & 1) throw i[1];
    return i[1];
  }, trys: [], ops: [] }, r, o, i, u = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
  return u.next = p(0), u.throw = p(1), u.return = p(2), typeof Symbol == "function" && (u[Symbol.iterator] = function() {
    return this;
  }), u;
  function p(y) {
    return function(k) {
      return v([y, k]);
    };
  }
  function v(y) {
    if (r) throw new TypeError("Generator is already executing.");
    for (; u && (u = 0, y[0] && (n = 0)), n; ) try {
      if (r = 1, o && (i = y[0] & 2 ? o.return : y[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, y[1])).done) return i;
      switch (o = 0, i && (y = [y[0] & 2, i.value]), y[0]) {
        case 0:
        case 1:
          i = y;
          break;
        case 4:
          return n.label++, { value: y[1], done: false };
        case 5:
          n.label++, o = y[1], y = [0];
          continue;
        case 7:
          y = n.ops.pop(), n.trys.pop();
          continue;
        default:
          if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (y[0] === 6 || y[0] === 2)) {
            n = 0;
            continue;
          }
          if (y[0] === 3 && (!i || y[1] > i[0] && y[1] < i[3])) {
            n.label = y[1];
            break;
          }
          if (y[0] === 6 && n.label < i[1]) {
            n.label = i[1], i = y;
            break;
          }
          if (i && n.label < i[2]) {
            n.label = i[2], n.ops.push(y);
            break;
          }
          i[2] && n.ops.pop(), n.trys.pop();
          continue;
      }
      y = t.call(e10, n);
    } catch (k) {
      y = [6, k], o = 0;
    } finally {
      r = i = 0;
    }
    if (y[0] & 5) throw y[1];
    return { value: y[0] ? y[1] : void 0, done: true };
  }
}
function Up(e10) {
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e10[t], r = 0;
  if (n) return n.call(e10);
  if (e10 && typeof e10.length == "number") return {
    next: function() {
      return e10 && r >= e10.length && (e10 = void 0), { value: e10 && e10[r++], done: !e10 };
    }
  };
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function z1(e10, t) {
  var n = typeof Symbol == "function" && e10[Symbol.iterator];
  if (!n) return e10;
  var r = n.call(e10), o, i = [], u;
  try {
    for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) i.push(o.value);
  } catch (p) {
    u = { error: p };
  } finally {
    try {
      o && !o.done && (n = r.return) && n.call(r);
    } finally {
      if (u) throw u.error;
    }
  }
  return i;
}
function W1(e10, t, n) {
  if (arguments.length === 2) for (var r = 0, o = t.length, i; r < o; r++)
    (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
  return e10.concat(i || Array.prototype.slice.call(t));
}
function Fp(e10) {
  return this instanceof Fp ? (this.v = e10, this) : new Fp(e10);
}
function F0e(e10, t, n) {
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  var r = n.apply(e10, t || []), o, i = [];
  return o = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), p("next"), p("throw"), p("return", u), o[Symbol.asyncIterator] = function() {
    return this;
  }, o;
  function u(I) {
    return function(P) {
      return Promise.resolve(P).then(I, T);
    };
  }
  function p(I, P) {
    r[I] && (o[I] = function(S) {
      return new Promise(function(U, B) {
        i.push([I, S, U, B]) > 1 || v(I, S);
      });
    }, P && (o[I] = P(o[I])));
  }
  function v(I, P) {
    try {
      y(r[I](P));
    } catch (S) {
      R(i[0][3], S);
    }
  }
  function y(I) {
    I.value instanceof Fp ? Promise.resolve(I.value.v).then(k, T) : R(i[0][2], I);
  }
  function k(I) {
    v("next", I);
  }
  function T(I) {
    v("throw", I);
  }
  function R(I, P) {
    I(P), i.shift(), i.length && v(i[0][0], i[0][1]);
  }
}
function N0e(e10) {
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  var t = e10[Symbol.asyncIterator], n;
  return t ? t.call(e10) : (e10 = typeof Up == "function" ? Up(e10) : e10[Symbol.iterator](), n = {}, r("next"), r("throw"), r("return"), n[Symbol.asyncIterator] = function() {
    return this;
  }, n);
  function r(i) {
    n[i] = e10[i] && function(u) {
      return new Promise(function(p, v) {
        u = e10[i](u), o(p, v, u.done, u.value);
      });
    };
  }
  function o(i, u, p, v) {
    Promise.resolve(v).then(function(y) {
      i({ value: y, done: p });
    }, u);
  }
}
function tl(e10) {
  return typeof e10 == "function";
}
function _2(e10) {
  var t = function(r) {
    Error.call(r), r.stack = new Error().stack;
  }, n = e10(t);
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
}
var Om = _2(function(e10) {
  return function(n) {
    e10(this), this.message = n ? n.length + ` errors occurred during unsubscription:
` + n.map(function(r, o) {
      return o + 1 + ") " + r.toString();
    }).join(`
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
  };
});
function ky(e10, t) {
  if (e10) {
    var n = e10.indexOf(t);
    0 <= n && e10.splice(n, 1);
  }
}
var Tg = (function() {
  function e10(t) {
    this.initialTeardown = t, this.closed = false, this._parentage = null, this._finalizers = null;
  }
  return e10.prototype.unsubscribe = function() {
    var t, n, r, o, i;
    if (!this.closed) {
      this.closed = true;
      var u = this._parentage;
      if (u)
        if (this._parentage = null, Array.isArray(u))
          try {
            for (var p = Up(u), v = p.next(); !v.done; v = p.next()) {
              var y = v.value;
              y.remove(this);
            }
          } catch (S) {
            t = { error: S };
          } finally {
            try {
              v && !v.done && (n = p.return) && n.call(p);
            } finally {
              if (t) throw t.error;
            }
          }
        else
          u.remove(this);
      var k = this.initialTeardown;
      if (tl(k))
        try {
          k();
        } catch (S) {
          i = S instanceof Om ? S.errors : [S];
        }
      var T = this._finalizers;
      if (T) {
        this._finalizers = null;
        try {
          for (var R = Up(T), I = R.next(); !I.done; I = R.next()) {
            var P = I.value;
            try {
              Px(P);
            } catch (S) {
              i = i ?? [], S instanceof Om ? i = W1(W1([], z1(i)), z1(S.errors)) : i.push(S);
            }
          }
        } catch (S) {
          r = { error: S };
        } finally {
          try {
            I && !I.done && (o = R.return) && o.call(R);
          } finally {
            if (r) throw r.error;
          }
        }
      }
      if (i)
        throw new Om(i);
    }
  }, e10.prototype.add = function(t) {
    var n;
    if (t && t !== this)
      if (this.closed)
        Px(t);
      else {
        if (t instanceof e10) {
          if (t.closed || t._hasParent(this))
            return;
          t._addParent(this);
        }
        (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
      }
  }, e10.prototype._hasParent = function(t) {
    var n = this._parentage;
    return n === t || Array.isArray(n) && n.includes(t);
  }, e10.prototype._addParent = function(t) {
    var n = this._parentage;
    this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
  }, e10.prototype._removeParent = function(t) {
    var n = this._parentage;
    n === t ? this._parentage = null : Array.isArray(n) && ky(n, t);
  }, e10.prototype.remove = function(t) {
    var n = this._finalizers;
    n && ky(n, t), t instanceof e10 && t._removeParent(this);
  }, e10.EMPTY = (function() {
    var t = new e10();
    return t.closed = true, t;
  })(), e10;
})(), qk = Tg.EMPTY;
function eE(e10) {
  return e10 instanceof Tg || e10 && "closed" in e10 && tl(e10.remove) && tl(e10.add) && tl(e10.unsubscribe);
}
function Px(e10) {
  tl(e10) ? e10() : e10.unsubscribe();
}
var L0e = {
  Promise: void 0
}, B0e = {
  setTimeout: function(e10, t) {
    for (var n = [], r = 2; r < arguments.length; r++)
      n[r - 2] = arguments[r];
    return setTimeout.apply(void 0, W1([e10, t], z1(n)));
  },
  clearTimeout: function(e10) {
    return clearTimeout(e10);
  },
  delegate: void 0
};
function tE(e10) {
  B0e.setTimeout(function() {
    throw e10;
  });
}
function Rx() {
}
function y1(e10) {
  e10();
}
var w2 = (function(e10) {
  n0(t, e10);
  function t(n) {
    var r = e10.call(this) || this;
    return r.isStopped = false, n ? (r.destination = n, eE(n) && n.add(r)) : r.destination = U0e, r;
  }
  return t.create = function(n, r, o) {
    return new Hp(n, r, o);
  }, t.prototype.next = function(n) {
    this.isStopped || this._next(n);
  }, t.prototype.error = function(n) {
    this.isStopped || (this.isStopped = true, this._error(n));
  }, t.prototype.complete = function() {
    this.isStopped || (this.isStopped = true, this._complete());
  }, t.prototype.unsubscribe = function() {
    this.closed || (this.isStopped = true, e10.prototype.unsubscribe.call(this), this.destination = null);
  }, t.prototype._next = function(n) {
    this.destination.next(n);
  }, t.prototype._error = function(n) {
    try {
      this.destination.error(n);
    } finally {
      this.unsubscribe();
    }
  }, t.prototype._complete = function() {
    try {
      this.destination.complete();
    } finally {
      this.unsubscribe();
    }
  }, t;
})(Tg), z0e = (function() {
  function e10(t) {
    this.partialObserver = t;
  }
  return e10.prototype.next = function(t) {
    var n = this.partialObserver;
    if (n.next)
      try {
        n.next(t);
      } catch (r) {
        Kb(r);
      }
  }, e10.prototype.error = function(t) {
    var n = this.partialObserver;
    if (n.error)
      try {
        n.error(t);
      } catch (r) {
        Kb(r);
      }
    else
      Kb(t);
  }, e10.prototype.complete = function() {
    var t = this.partialObserver;
    if (t.complete)
      try {
        t.complete();
      } catch (n) {
        Kb(n);
      }
  }, e10;
})(), Hp = (function(e10) {
  n0(t, e10);
  function t(n, r, o) {
    var i = e10.call(this) || this, u;
    return tl(n) || !n ? u = {
      next: n ?? void 0,
      error: r ?? void 0,
      complete: o ?? void 0
    } : u = n, i.destination = new z0e(u), i;
  }
  return t;
})(w2);
function Kb(e10) {
  tE(e10);
}
function W0e(e10) {
  throw e10;
}
var U0e = {
  closed: true,
  next: Rx,
  error: W0e,
  complete: Rx
}, T2 = (function() {
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
})();
function H0e(e10) {
  return e10;
}
function $0e(e10) {
  return e10.length === 0 ? H0e : e10.length === 1 ? e10[0] : function(n) {
    return e10.reduce(function(r, o) {
      return o(r);
    }, n);
  };
}
var Bl = (function() {
  function e10(t) {
    t && (this._subscribe = t);
  }
  return e10.prototype.lift = function(t) {
    var n = new e10();
    return n.source = this, n.operator = t, n;
  }, e10.prototype.subscribe = function(t, n, r) {
    var o = this, i = G0e(t) ? t : new Hp(t, n, r);
    return y1(function() {
      var u = o, p = u.operator, v = u.source;
      i.add(p ? p.call(i, v) : v ? o._subscribe(i) : o._trySubscribe(i));
    }), i;
  }, e10.prototype._trySubscribe = function(t) {
    try {
      return this._subscribe(t);
    } catch (n) {
      t.error(n);
    }
  }, e10.prototype.forEach = function(t, n) {
    var r = this;
    return n = Ix(n), new n(function(o, i) {
      var u = new Hp({
        next: function(p) {
          try {
            t(p);
          } catch (v) {
            i(v), u.unsubscribe();
          }
        },
        error: i,
        complete: o
      });
      r.subscribe(u);
    });
  }, e10.prototype._subscribe = function(t) {
    var n;
    return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
  }, e10.prototype[T2] = function() {
    return this;
  }, e10.prototype.pipe = function() {
    for (var t = [], n = 0; n < arguments.length; n++)
      t[n] = arguments[n];
    return $0e(t)(this);
  }, e10.prototype.toPromise = function(t) {
    var n = this;
    return t = Ix(t), new t(function(r, o) {
      var i;
      n.subscribe(function(u) {
        return i = u;
      }, function(u) {
        return o(u);
      }, function() {
        return r(i);
      });
    });
  }, e10.create = function(t) {
    return new e10(t);
  }, e10;
})();
function Ix(e10) {
  var t;
  return (t = e10 ?? L0e.Promise) !== null && t !== void 0 ? t : Promise;
}
function V0e(e10) {
  return e10 && tl(e10.next) && tl(e10.error) && tl(e10.complete);
}
function G0e(e10) {
  return e10 && e10 instanceof w2 || V0e(e10) && eE(e10);
}
function Y0e(e10) {
  return tl(e10 == null ? void 0 : e10.lift);
}
function kb(e10) {
  return function(t) {
    if (Y0e(t))
      return t.lift(function(n) {
        try {
          return e10(n, this);
        } catch (r) {
          this.error(r);
        }
      });
    throw new TypeError("Unable to lift unknown Observable type");
  };
}
function k2(e10, t, n, r, o) {
  return new X0e(e10, t, n, r, o);
}
var X0e = (function(e10) {
  n0(t, e10);
  function t(n, r, o, i, u, p) {
    var v = e10.call(this, n) || this;
    return v.onFinalize = u, v.shouldUnsubscribe = p, v._next = r ? function(y) {
      try {
        r(y);
      } catch (k) {
        n.error(k);
      }
    } : e10.prototype._next, v._error = i ? function(y) {
      try {
        i(y);
      } catch (k) {
        n.error(k);
      } finally {
        this.unsubscribe();
      }
    } : e10.prototype._error, v._complete = o ? function() {
      try {
        o();
      } catch (y) {
        n.error(y);
      } finally {
        this.unsubscribe();
      }
    } : e10.prototype._complete, v;
  }
  return t.prototype.unsubscribe = function() {
    var n;
    if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
      var r = this.closed;
      e10.prototype.unsubscribe.call(this), !r && ((n = this.onFinalize) === null || n === void 0 || n.call(this));
    }
  }, t;
})(w2), Z0e = _2(function(e10) {
  return function() {
    e10(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
  };
}), E2 = (function(e10) {
  n0(t, e10);
  function t() {
    var n = e10.call(this) || this;
    return n.closed = false, n.currentObservers = null, n.observers = [], n.isStopped = false, n.hasError = false, n.thrownError = null, n;
  }
  return t.prototype.lift = function(n) {
    var r = new Mx(this, this);
    return r.operator = n, r;
  }, t.prototype._throwIfClosed = function() {
    if (this.closed)
      throw new Z0e();
  }, t.prototype.next = function(n) {
    var r = this;
    y1(function() {
      var o, i;
      if (r._throwIfClosed(), !r.isStopped) {
        r.currentObservers || (r.currentObservers = Array.from(r.observers));
        try {
          for (var u = Up(r.currentObservers), p = u.next(); !p.done; p = u.next()) {
            var v = p.value;
            v.next(n);
          }
        } catch (y) {
          o = { error: y };
        } finally {
          try {
            p && !p.done && (i = u.return) && i.call(u);
          } finally {
            if (o) throw o.error;
          }
        }
      }
    });
  }, t.prototype.error = function(n) {
    var r = this;
    y1(function() {
      if (r._throwIfClosed(), !r.isStopped) {
        r.hasError = r.isStopped = true, r.thrownError = n;
        for (var o = r.observers; o.length; )
          o.shift().error(n);
      }
    });
  }, t.prototype.complete = function() {
    var n = this;
    y1(function() {
      if (n._throwIfClosed(), !n.isStopped) {
        n.isStopped = true;
        for (var r = n.observers; r.length; )
          r.shift().complete();
      }
    });
  }, t.prototype.unsubscribe = function() {
    this.isStopped = this.closed = true, this.observers = this.currentObservers = null;
  }, Object.defineProperty(t.prototype, "observed", {
    get: function() {
      var n;
      return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
    },
    enumerable: false,
    configurable: true
  }), t.prototype._trySubscribe = function(n) {
    return this._throwIfClosed(), e10.prototype._trySubscribe.call(this, n);
  }, t.prototype._subscribe = function(n) {
    return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
  }, t.prototype._innerSubscribe = function(n) {
    var r = this, o = this, i = o.hasError, u = o.isStopped, p = o.observers;
    return i || u ? qk : (this.currentObservers = null, p.push(n), new Tg(function() {
      r.currentObservers = null, ky(p, n);
    }));
  }, t.prototype._checkFinalizedStatuses = function(n) {
    var r = this, o = r.hasError, i = r.thrownError, u = r.isStopped;
    o ? n.error(i) : u && n.complete();
  }, t.prototype.asObservable = function() {
    var n = new Bl();
    return n.source = this, n;
  }, t.create = function(n, r) {
    return new Mx(n, r);
  }, t;
})(Bl), Mx = (function(e10) {
  n0(t, e10);
  function t(n, r) {
    var o = e10.call(this) || this;
    return o.destination = n, o.source = r, o;
  }
  return t.prototype.next = function(n) {
    var r, o;
    (o = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || o === void 0 || o.call(r, n);
  }, t.prototype.error = function(n) {
    var r, o;
    (o = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || o === void 0 || o.call(r, n);
  }, t.prototype.complete = function() {
    var n, r;
    (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
  }, t.prototype._subscribe = function(n) {
    var r, o;
    return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : qk;
  }, t;
})(E2), nE = {
  now: function() {
    return (nE.delegate || Date).now();
  },
  delegate: void 0
}, rE = (function(e10) {
  n0(t, e10);
  function t(n, r, o) {
    n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = nE);
    var i = e10.call(this) || this;
    return i._bufferSize = n, i._windowTime = r, i._timestampProvider = o, i._buffer = [], i._infiniteTimeWindow = true, i._infiniteTimeWindow = r === 1 / 0, i._bufferSize = Math.max(1, n), i._windowTime = Math.max(1, r), i;
  }
  return t.prototype.next = function(n) {
    var r = this, o = r.isStopped, i = r._buffer, u = r._infiniteTimeWindow, p = r._timestampProvider, v = r._windowTime;
    o || (i.push(n), !u && i.push(p.now() + v)), this._trimBuffer(), e10.prototype.next.call(this, n);
  }, t.prototype._subscribe = function(n) {
    this._throwIfClosed(), this._trimBuffer();
    for (var r = this._innerSubscribe(n), o = this, i = o._infiniteTimeWindow, u = o._buffer, p = u.slice(), v = 0; v < p.length && !n.closed; v += i ? 1 : 2)
      n.next(p[v]);
    return this._checkFinalizedStatuses(n), r;
  }, t.prototype._trimBuffer = function() {
    var n = this, r = n._bufferSize, o = n._timestampProvider, i = n._buffer, u = n._infiniteTimeWindow, p = (u ? 1 : 2) * r;
    if (r < 1 / 0 && p < i.length && i.splice(0, i.length - p), !u) {
      for (var v = o.now(), y = 0, k = 1; k < i.length && i[k] <= v; k += 2)
        y = k;
      y && i.splice(0, y + 1);
    }
  }, t;
})(E2);
function K0e(e10) {
  return e10 && tl(e10.schedule);
}
function J0e(e10) {
  return e10[e10.length - 1];
}
function Q0e(e10) {
  return K0e(J0e(e10)) ? e10.pop() : void 0;
}
var oE = (function(e10) {
  return e10 && typeof e10.length == "number" && typeof e10 != "function";
});
function iE(e10) {
  return tl(e10 == null ? void 0 : e10.then);
}
function aE(e10) {
  return tl(e10[T2]);
}
function sE(e10) {
  return Symbol.asyncIterator && tl(e10 == null ? void 0 : e10[Symbol.asyncIterator]);
}
function lE(e10) {
  return new TypeError("You provided " + (e10 !== null && typeof e10 == "object" ? "an invalid object" : "'" + e10 + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
}
function j0e() {
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
}
var uE = j0e();
function cE(e10) {
  return tl(e10 == null ? void 0 : e10[uE]);
}
function dE(e10) {
  return F0e(this, arguments, function() {
    var n, r, o, i;
    return jk(this, function(u) {
      switch (u.label) {
        case 0:
          n = e10.getReader(), u.label = 1;
        case 1:
          u.trys.push([1, , 9, 10]), u.label = 2;
        case 2:
          return [4, Fp(n.read())];
        case 3:
          return r = u.sent(), o = r.value, i = r.done, i ? [4, Fp(void 0)] : [3, 5];
        case 4:
          return [2, u.sent()];
        case 5:
          return [4, Fp(o)];
        case 6:
          return [4, u.sent()];
        case 7:
          return u.sent(), [3, 2];
        case 8:
          return [3, 10];
        case 9:
          return n.releaseLock(), [7];
        case 10:
          return [2];
      }
    });
  });
}
function fE(e10) {
  return tl(e10 == null ? void 0 : e10.getReader);
}
function r0(e10) {
  if (e10 instanceof Bl)
    return e10;
  if (e10 != null) {
    if (aE(e10))
      return q0e(e10);
    if (oE(e10))
      return ebe(e10);
    if (iE(e10))
      return tbe(e10);
    if (sE(e10))
      return hE(e10);
    if (cE(e10))
      return nbe(e10);
    if (fE(e10))
      return rbe(e10);
  }
  throw lE(e10);
}
function q0e(e10) {
  return new Bl(function(t) {
    var n = e10[T2]();
    if (tl(n.subscribe))
      return n.subscribe(t);
    throw new TypeError("Provided object does not correctly implement Symbol.observable");
  });
}
function ebe(e10) {
  return new Bl(function(t) {
    for (var n = 0; n < e10.length && !t.closed; n++)
      t.next(e10[n]);
    t.complete();
  });
}
function tbe(e10) {
  return new Bl(function(t) {
    e10.then(function(n) {
      t.closed || (t.next(n), t.complete());
    }, function(n) {
      return t.error(n);
    }).then(null, tE);
  });
}
function nbe(e10) {
  return new Bl(function(t) {
    var n, r;
    try {
      for (var o = Up(e10), i = o.next(); !i.done; i = o.next()) {
        var u = i.value;
        if (t.next(u), t.closed)
          return;
      }
    } catch (p) {
      n = { error: p };
    } finally {
      try {
        i && !i.done && (r = o.return) && r.call(o);
      } finally {
        if (n) throw n.error;
      }
    }
    t.complete();
  });
}
function hE(e10) {
  return new Bl(function(t) {
    obe(e10, t).catch(function(n) {
      return t.error(n);
    });
  });
}
function rbe(e10) {
  return hE(dE(e10));
}
function obe(e10, t) {
  var n, r, o, i;
  return D0e(this, void 0, void 0, function() {
    var u, p;
    return jk(this, function(v) {
      switch (v.label) {
        case 0:
          v.trys.push([0, 5, 6, 11]), n = N0e(e10), v.label = 1;
        case 1:
          return [4, n.next()];
        case 2:
          if (r = v.sent(), !!r.done) return [3, 4];
          if (u = r.value, t.next(u), t.closed)
            return [2];
          v.label = 3;
        case 3:
          return [3, 1];
        case 4:
          return [3, 11];
        case 5:
          return p = v.sent(), o = { error: p }, [3, 11];
        case 6:
          return v.trys.push([6, , 9, 10]), r && !r.done && (i = n.return) ? [4, i.call(n)] : [3, 8];
        case 7:
          v.sent(), v.label = 8;
        case 8:
          return [3, 10];
        case 9:
          if (o) throw o.error;
          return [7];
        case 10:
          return [7];
        case 11:
          return t.complete(), [2];
      }
    });
  });
}
function Jh(e10, t, n, r, o) {
  r === void 0 && (r = 0), o === void 0 && (o = false);
  var i = t.schedule(function() {
    n(), o ? e10.add(this.schedule(null, r)) : this.unsubscribe();
  }, r);
  if (e10.add(i), !o)
    return i;
}
function pE(e10, t) {
  return t === void 0 && (t = 0), kb(function(n, r) {
    n.subscribe(k2(r, function(o) {
      return Jh(r, e10, function() {
        return r.next(o);
      }, t);
    }, function() {
      return Jh(r, e10, function() {
        return r.complete();
      }, t);
    }, function(o) {
      return Jh(r, e10, function() {
        return r.error(o);
      }, t);
    }));
  });
}
function bE(e10, t) {
  return t === void 0 && (t = 0), kb(function(n, r) {
    r.add(e10.schedule(function() {
      return n.subscribe(r);
    }, t));
  });
}
function ibe(e10, t) {
  return r0(e10).pipe(bE(t), pE(t));
}
function abe(e10, t) {
  return r0(e10).pipe(bE(t), pE(t));
}
function sbe(e10, t) {
  return new Bl(function(n) {
    var r = 0;
    return t.schedule(function() {
      r === e10.length ? n.complete() : (n.next(e10[r++]), n.closed || this.schedule());
    });
  });
}
function lbe(e10, t) {
  return new Bl(function(n) {
    var r;
    return Jh(n, t, function() {
      r = e10[uE](), Jh(n, t, function() {
        var o, i, u;
        try {
          o = r.next(), i = o.value, u = o.done;
        } catch (p) {
          n.error(p);
          return;
        }
        u ? n.complete() : n.next(i);
      }, 0, true);
    }), function() {
      return tl(r == null ? void 0 : r.return) && r.return();
    };
  });
}
function gE(e10, t) {
  if (!e10)
    throw new Error("Iterable cannot be null");
  return new Bl(function(n) {
    Jh(n, t, function() {
      var r = e10[Symbol.asyncIterator]();
      Jh(n, t, function() {
        r.next().then(function(o) {
          o.done ? n.complete() : n.next(o.value);
        });
      }, 0, true);
    });
  });
}
function ube(e10, t) {
  return gE(dE(e10), t);
}
function cbe(e10, t) {
  if (e10 != null) {
    if (aE(e10))
      return ibe(e10, t);
    if (oE(e10))
      return sbe(e10, t);
    if (iE(e10))
      return abe(e10, t);
    if (sE(e10))
      return gE(e10, t);
    if (cE(e10))
      return lbe(e10, t);
    if (fE(e10))
      return ube(e10, t);
  }
  throw lE(e10);
}
function mE(e10, t) {
  return t ? cbe(e10, t) : r0(e10);
}
function Ox() {
  for (var e10 = [], t = 0; t < arguments.length; t++)
    e10[t] = arguments[t];
  var n = Q0e(e10);
  return mE(e10, n);
}
var dbe = _2(function(e10) {
  return function() {
    e10(this), this.name = "EmptyError", this.message = "no elements in sequence";
  };
});
function fbe(e10, t) {
  return new Promise(function(n, r) {
    var o = new Hp({
      next: function(i) {
        n(i), o.unsubscribe();
      },
      error: r,
      complete: function() {
        r(new dbe());
      }
    });
    e10.subscribe(o);
  });
}
function k0(e10, t) {
  return kb(function(n, r) {
    var o = 0;
    n.subscribe(k2(r, function(i) {
      r.next(e10.call(t, i, o++));
    }));
  });
}
function Vh(e10) {
  return kb(function(t, n) {
    var r = null, o = false, i;
    r = t.subscribe(k2(n, void 0, void 0, function(u) {
      i = r0(e10(u, Vh(e10)(t))), r ? (r.unsubscribe(), r = null, i.subscribe(n)) : o = true;
    })), o && (r.unsubscribe(), r = null, i.subscribe(n));
  });
}
function hbe(e10) {
  e10 === void 0 && (e10 = {});
  var t = e10.connector, n = t === void 0 ? function() {
    return new E2();
  } : t, r = e10.resetOnError, o = r === void 0 ? true : r, i = e10.resetOnComplete, u = i === void 0 ? true : i, p = e10.resetOnRefCountZero, v = p === void 0 ? true : p;
  return function(y) {
    var k, T, R, I = 0, P = false, S = false, U = function() {
      T == null || T.unsubscribe(), T = void 0;
    }, B = function() {
      U(), k = R = void 0, P = S = false;
    }, X = function() {
      var Z = k;
      B(), Z == null || Z.unsubscribe();
    };
    return kb(function(Z, te) {
      I++, !S && !P && U();
      var Q = R = R ?? n();
      te.add(function() {
        I--, I === 0 && !S && !P && (T = Dm(X, v));
      }), Q.subscribe(te), !k && I > 0 && (k = new Hp({
        next: function(q) {
          return Q.next(q);
        },
        error: function(q) {
          S = true, U(), T = Dm(B, o, q), Q.error(q);
        },
        complete: function() {
          P = true, U(), T = Dm(B, u), Q.complete();
        }
      }), r0(Z).subscribe(k));
    })(y);
  };
}
function Dm(e10, t) {
  for (var n = [], r = 2; r < arguments.length; r++)
    n[r - 2] = arguments[r];
  if (t === true) {
    e10();
    return;
  }
  if (t !== false) {
    var o = new Hp({
      next: function() {
        o.unsubscribe(), e10();
      }
    });
    return r0(t.apply(void 0, W1([], z1(n)))).subscribe(o);
  }
}
function pbe(e10, t, n) {
  var r, o = false;
  return r = e10, hbe({
    connector: function() {
      return new rE(r, t, n);
    },
    resetOnError: true,
    resetOnComplete: false,
    resetOnRefCountZero: o
  });
}
const Dx = {
  // For WordPress, include only icons and loading assets
  .../* @__PURE__ */ Object.assign({
    "./assets/icons/Icon-NO_ICON.svg": () => __vitePreload(() => import("./Icon-NO_ICON-D6AyUwhI.D6AyUwhI.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-add-1.svg": () => __vitePreload(() => import("./Icon-add-1-BcPf6e4M.BcPf6e4M.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-add.svg": () => __vitePreload(() => import("./Icon-add-D0ysmToD.D0ysmToD.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-ai-1.svg": () => __vitePreload(() => import("./Icon-ai-1-DFDf6_Yx.DFDf6_Yx.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-ai-reviews-1.svg": () => __vitePreload(() => import("./Icon-ai-reviews-1-CYarQeN4.CYarQeN4.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-ai-reviews.svg": () => __vitePreload(() => import("./Icon-ai-reviews-CYarQeN4.CYarQeN4.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-ai.svg": () => __vitePreload(() => import("./Icon-ai-CSqjgYd0.CSqjgYd0.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-api-1.svg": () => __vitePreload(() => import("./Icon-api-1-D8HaZZ59.D8HaZZ59.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-api.svg": () => __vitePreload(() => import("./Icon-api-B8gX5BSr.B8gX5BSr.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-arrow-down-1.svg": () => __vitePreload(() => import("./Icon-arrow-down-1-DDpM4ZfZ.DDpM4ZfZ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-arrow-down.svg": () => __vitePreload(() => import("./Icon-arrow-down-C8qb9kPM.C8qb9kPM.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-arrow-left-1.svg": () => __vitePreload(() => import("./Icon-arrow-left-1-BUq2z3h0.BUq2z3h0.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-arrow-left.svg": () => __vitePreload(() => import("./Icon-arrow-left-QlEfmtEZ.QlEfmtEZ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-arrow-right-1.svg": () => __vitePreload(() => import("./Icon-arrow-right-1-DPYPojr9.DPYPojr9.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-arrow-right.svg": () => __vitePreload(() => import("./Icon-arrow-right-D7vyPfZN.D7vyPfZN.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-arrow-up-1.svg": () => __vitePreload(() => import("./Icon-arrow-up-1-C3iWaU_g.C3iWaU_g.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-arrow-up.svg": () => __vitePreload(() => import("./Icon-arrow-up-CeUIUKik.CeUIUKik.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-attachment-1.svg": () => __vitePreload(() => import("./Icon-attachment-1-Ddv-3rX-.Ddv-3rX-.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-attachment.svg": () => __vitePreload(() => import("./Icon-attachment-7XM6K4zI.7XM6K4zI.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-audio-microphone-1.svg": () => __vitePreload(() => import("./Icon-audio-microphone-1-BKUbynps.BKUbynps.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-audio-microphone.svg": () => __vitePreload(() => import("./Icon-audio-microphone-BeytlPw2.BeytlPw2.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-audio-settings-1.svg": () => __vitePreload(() => import("./Icon-audio-settings-1-Dj7UL_9p.Dj7UL_9p.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-audio-settings.svg": () => __vitePreload(() => import("./Icon-audio-settings-BGRlthov.BGRlthov.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-bank-1.svg": () => __vitePreload(() => import("./Icon-bank-1-BZT-0p53.BZT-0p53.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-bank.svg": () => __vitePreload(() => import("./Icon-bank-Bi0clwT4.Bi0clwT4.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-bar-chart-1.svg": () => __vitePreload(() => import("./Icon-bar-chart-1-DxvFCfAA.DxvFCfAA.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-bar-chart.svg": () => __vitePreload(() => import("./Icon-bar-chart-D2RsxY5n.D2RsxY5n.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-bing-1.svg": () => __vitePreload(() => import("./Icon-bing-1-BW33ACeG.BW33ACeG.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-bing.svg": () => __vitePreload(() => import("./Icon-bing-DCa8hRsM.DCa8hRsM.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-boost-1.svg": () => __vitePreload(() => import("./Icon-boost-1-mWn-K6Wm.mWn-K6Wm.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-boost.svg": () => __vitePreload(() => import("./Icon-boost-C3Im1GI6.C3Im1GI6.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-browser-1.svg": () => __vitePreload(() => import("./Icon-browser-1-DCaocL69.DCaocL69.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-browser-active-1.svg": () => __vitePreload(() => import("./Icon-browser-active-1-DCqLW8me.DCqLW8me.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-browser-active.svg": () => __vitePreload(() => import("./Icon-browser-active-fkRRnsZI.fkRRnsZI.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-browser.svg": () => __vitePreload(() => import("./Icon-browser-DUz7PJWD.DUz7PJWD.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-budget-1.svg": () => __vitePreload(() => import("./Icon-budget-1-D8rKWJjC.D8rKWJjC.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-budget.svg": () => __vitePreload(() => import("./Icon-budget-CNF8O-4q.CNF8O-4q.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-bullet-list-1.svg": () => __vitePreload(() => import("./Icon-bullet-list-1-HFmtKXO-.HFmtKXO-.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-bullet-list.svg": () => __vitePreload(() => import("./Icon-bullet-list-Ds_5OmRG.Ds_5OmRG.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-business-1.svg": () => __vitePreload(() => import("./Icon-business-1-5tA4ER5n.5tA4ER5n.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-business-active-1.svg": () => __vitePreload(() => import("./Icon-business-active-1-fF9EO34_.fF9EO34_.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-business-active.svg": () => __vitePreload(() => import("./Icon-business-active-9irgPhrw.9irgPhrw.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-business.svg": () => __vitePreload(() => import("./Icon-business-v1TQOjmG.v1TQOjmG.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-calendar-1.svg": () => __vitePreload(() => import("./Icon-calendar-1-BAiZ_Tjf.BAiZ_Tjf.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-calendar.svg": () => __vitePreload(() => import("./Icon-calendar-2FIW4bpt.2FIW4bpt.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-call-tracking-1.svg": () => __vitePreload(() => import("./Icon-call-tracking-1-DYpP2Q7H.DYpP2Q7H.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-call-tracking.svg": () => __vitePreload(() => import("./Icon-call-tracking-CyqfVyUy.CyqfVyUy.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-card-1.svg": () => __vitePreload(() => import("./Icon-card-1-BfkrEyvd.BfkrEyvd.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-card.svg": () => __vitePreload(() => import("./Icon-card-Cky0-I3P.Cky0-I3P.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-caret-down-1.svg": () => __vitePreload(() => import("./Icon-caret-down-1-Ca8zrZaF.Ca8zrZaF.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-caret-down.svg": () => __vitePreload(() => import("./Icon-caret-down-D8tySWY3.D8tySWY3.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-caret-left-1.svg": () => __vitePreload(() => import("./Icon-caret-left-1-CvRumVrq.CvRumVrq.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-caret-left.svg": () => __vitePreload(() => import("./Icon-caret-left-CodORvlh.CodORvlh.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-caret-right-1.svg": () => __vitePreload(() => import("./Icon-caret-right-1-DfNaY3Fw.DfNaY3Fw.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-caret-right.svg": () => __vitePreload(() => import("./Icon-caret-right-CDTdcBZP.CDTdcBZP.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-caret-up-1.svg": () => __vitePreload(() => import("./Icon-caret-up-1-BA-Gua1t.BA-Gua1t.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-caret-up.svg": () => __vitePreload(() => import("./Icon-caret-up-BaJ-lnwB.BaJ-lnwB.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-category-1.svg": () => __vitePreload(() => import("./Icon-category-1-WcQgBLFT.WcQgBLFT.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-category.svg": () => __vitePreload(() => import("./Icon-category-DaC79kWA.DaC79kWA.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-check-1.svg": () => __vitePreload(() => import("./Icon-check-1-CP5un6_w.CP5un6_w.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-check.svg": () => __vitePreload(() => import("./Icon-check-Bi-y-Hft.Bi-y-Hft.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-clock-1.svg": () => __vitePreload(() => import("./Icon-clock-1-YzDtYRPd.YzDtYRPd.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-clock.svg": () => __vitePreload(() => import("./Icon-clock-R3nE2HlR.R3nE2HlR.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-close-1.svg": () => __vitePreload(() => import("./Icon-close-1-zvT078dA.zvT078dA.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-close.svg": () => __vitePreload(() => import("./Icon-close-CDpYm1a3.CDpYm1a3.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-connect-1.svg": () => __vitePreload(() => import("./Icon-connect-1-DdJ_ShaA.DdJ_ShaA.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-connect.svg": () => __vitePreload(() => import("./Icon-connect-BTMWNOm2.BTMWNOm2.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-cursor-1.svg": () => __vitePreload(() => import("./Icon-cursor-1-DAgDkW1a.DAgDkW1a.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-cursor.svg": () => __vitePreload(() => import("./Icon-cursor-DAgDkW1a.DAgDkW1a.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-dash-1.svg": () => __vitePreload(() => import("./Icon-dash-1-Cq-AZW3V.Cq-AZW3V.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-dash.svg": () => __vitePreload(() => import("./Icon-dash-Cq-AZW3V.Cq-AZW3V.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-desktop-1.svg": () => __vitePreload(() => import("./Icon-desktop-1-VpeuJFco.VpeuJFco.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-desktop.svg": () => __vitePreload(() => import("./Icon-desktop-VpeuJFco.VpeuJFco.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-details-1.svg": () => __vitePreload(() => import("./Icon-details-1-CVvBcWIl.CVvBcWIl.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-details.svg": () => __vitePreload(() => import("./Icon-details-C6BPkGTT.C6BPkGTT.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-directions-1.svg": () => __vitePreload(() => import("./Icon-directions-1-CIXEhWpn.CIXEhWpn.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-directions.svg": () => __vitePreload(() => import("./Icon-directions-CIXEhWpn.CIXEhWpn.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-document-1.svg": () => __vitePreload(() => import("./Icon-document-1-CdUjGhkX.CdUjGhkX.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-document-active-1.svg": () => __vitePreload(() => import("./Icon-document-active-1-BNbAelSx.BNbAelSx.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-document-active.svg": () => __vitePreload(() => import("./Icon-document-active-C1Pow12T.C1Pow12T.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-document.svg": () => __vitePreload(() => import("./Icon-document-BTppuwKw.BTppuwKw.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-download-1.svg": () => __vitePreload(() => import("./Icon-download-1-DSME1OBp.DSME1OBp.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-download.svg": () => __vitePreload(() => import("./Icon-download-Bp3UOhYz.Bp3UOhYz.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-duplicate-1.svg": () => __vitePreload(() => import("./Icon-duplicate-1-Bm7UgDL6.Bm7UgDL6.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-duplicate.svg": () => __vitePreload(() => import("./Icon-duplicate-CQ6xOezg.CQ6xOezg.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-edit-1.svg": () => __vitePreload(() => import("./Icon-edit-1-IDAL3iQI.IDAL3iQI.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-edit.svg": () => __vitePreload(() => import("./Icon-edit-DZVv9_D_.DZVv9_D_.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-email-1.svg": () => __vitePreload(() => import("./Icon-email-1-BdX-QAk-.BdX-QAk-.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-email-at-1.svg": () => __vitePreload(() => import("./Icon-email-at-1-Be9HMURw.Be9HMURw.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-email-at.svg": () => __vitePreload(() => import("./Icon-email-at-Be9HMURw.Be9HMURw.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-email.svg": () => __vitePreload(() => import("./Icon-email-DMyE58Fd.DMyE58Fd.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-end-1.svg": () => __vitePreload(() => import("./Icon-end-1-B2hE2ScQ.B2hE2ScQ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-end.svg": () => __vitePreload(() => import("./Icon-end-DfZ13lCK.DfZ13lCK.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-event-1.svg": () => __vitePreload(() => import("./Icon-event-1-CWBMDbsX.CWBMDbsX.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-event.svg": () => __vitePreload(() => import("./Icon-event-C2D1ZlDl.C2D1ZlDl.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-exclamation-1.svg": () => __vitePreload(() => import("./Icon-exclamation-1-DvmYxGoe.DvmYxGoe.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-exclamation.svg": () => __vitePreload(() => import("./Icon-exclamation-CnVMd4Fe.CnVMd4Fe.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-facebook-1.svg": () => __vitePreload(() => import("./Icon-facebook-1-iyAnNBru.iyAnNBru.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-facebook.svg": () => __vitePreload(() => import("./Icon-facebook-B-zdVESY.B-zdVESY.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-fax-1.svg": () => __vitePreload(() => import("./Icon-fax-1-BSxYJcGR.BSxYJcGR.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-fax.svg": () => __vitePreload(() => import("./Icon-fax-DzL3wu4Q.DzL3wu4Q.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-filter-1.svg": () => __vitePreload(() => import("./Icon-filter-1-BtA1Lg34.BtA1Lg34.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-filter.svg": () => __vitePreload(() => import("./Icon-filter-Byz7Hgsh.Byz7Hgsh.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-g-ads-1.svg": () => __vitePreload(() => import("./Icon-g-ads-1-C9SO-3_S.C9SO-3_S.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-g-ads-active-1.svg": () => __vitePreload(() => import("./Icon-g-ads-active-1-B6WwUWw5.B6WwUWw5.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-g-ads-active.svg": () => __vitePreload(() => import("./Icon-g-ads-active-BVixRly-.BVixRly-.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-g-ads.svg": () => __vitePreload(() => import("./Icon-g-ads-Z-O4vq0x.Z-O4vq0x.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-generate-1.svg": () => __vitePreload(() => import("./Icon-generate-1-DihOz4Z2.DihOz4Z2.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-generate.svg": () => __vitePreload(() => import("./Icon-generate-CT5l-aC3.CT5l-aC3.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-gmb-1.svg": () => __vitePreload(() => import("./Icon-gmb-1-Czi8N7eq.Czi8N7eq.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-gmb.svg": () => __vitePreload(() => import("./Icon-gmb-CWyBD10m.CWyBD10m.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-google-1.svg": () => __vitePreload(() => import("./Icon-google-1-tJB5ciEK.tJB5ciEK.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-google.svg": () => __vitePreload(() => import("./Icon-google-BLcLnTFS.BLcLnTFS.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-hamburger-menu-1.svg": () => __vitePreload(() => import("./Icon-hamburger-menu-1-5qYyzPIl.5qYyzPIl.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-hamburger-menu.svg": () => __vitePreload(() => import("./Icon-hamburger-menu-CuLqxb4p.CuLqxb4p.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-help-1.svg": () => __vitePreload(() => import("./Icon-help-1-CYcP1jL-.CYcP1jL-.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-help.svg": () => __vitePreload(() => import("./Icon-help-BoSHqvBg.BoSHqvBg.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-high-1.svg": () => __vitePreload(() => import("./Icon-high-1-LYCBM7v5.LYCBM7v5.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-high.svg": () => __vitePreload(() => import("./Icon-high-LYCBM7v5.LYCBM7v5.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-home-1.svg": () => __vitePreload(() => import("./Icon-home-1-BqRWkhr9.BqRWkhr9.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-home-active-1.svg": () => __vitePreload(() => import("./Icon-home-active-1-oo4cajtf.oo4cajtf.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-home-active.svg": () => __vitePreload(() => import("./Icon-home-active-CUxlRvdh.CUxlRvdh.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-home.svg": () => __vitePreload(() => import("./Icon-home-A9yaWxiX.A9yaWxiX.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-image-1.svg": () => __vitePreload(() => import("./Icon-image-1-M71i_dQU.M71i_dQU.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-image.svg": () => __vitePreload(() => import("./Icon-image-TfLh8KTU.TfLh8KTU.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-info-1.svg": () => __vitePreload(() => import("./Icon-info-1-msXAygyt.msXAygyt.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-info.svg": () => __vitePreload(() => import("./Icon-info-te86EJtP.te86EJtP.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-instagram-1.svg": () => __vitePreload(() => import("./Icon-instagram-1-DomUP0_E.DomUP0_E.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-instagram.svg": () => __vitePreload(() => import("./Icon-instagram-fLdMnfxd.fLdMnfxd.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-kebab-menu-1.svg": () => __vitePreload(() => import("./Icon-kebab-menu-1-BaJ-GXdD.BaJ-GXdD.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-kebab-menu.svg": () => __vitePreload(() => import("./Icon-kebab-menu-CAjgzWun.CAjgzWun.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-language-1.svg": () => __vitePreload(() => import("./Icon-language-1-DPnaKsGM.DPnaKsGM.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-language.svg": () => __vitePreload(() => import("./Icon-language-C2fhL3rf.C2fhL3rf.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-like-1.svg": () => __vitePreload(() => import("./Icon-like-1-BTuHP6o6.BTuHP6o6.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-like.svg": () => __vitePreload(() => import("./Icon-like-BA_VWx-c.BA_VWx-c.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-line-chart-1.svg": () => __vitePreload(() => import("./Icon-line-chart-1-B0BJmmTL.B0BJmmTL.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-line-chart.svg": () => __vitePreload(() => import("./Icon-line-chart-DNw7Bp_b.DNw7Bp_b.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-link-1.svg": () => __vitePreload(() => import("./Icon-link-1-CLq3wQ5_.CLq3wQ5_.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-link.svg": () => __vitePreload(() => import("./Icon-link-Cb4w8_Qg.Cb4w8_Qg.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-linkedin-1.svg": () => __vitePreload(() => import("./Icon-linkedin-1--lpOgmWu.-lpOgmWu.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-linkedin.svg": () => __vitePreload(() => import("./Icon-linkedin-CnGP8Snj.CnGP8Snj.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-list-1.svg": () => __vitePreload(() => import("./Icon-list-1-BKcse5Kq.BKcse5Kq.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-list-active-1.svg": () => __vitePreload(() => import("./Icon-list-active-1-CMWBBljn.CMWBBljn.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-list-active.svg": () => __vitePreload(() => import("./Icon-list-active-DLyP-KM_.DLyP-KM_.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-list.svg": () => __vitePreload(() => import("./Icon-list-D4HDDVXN.D4HDDVXN.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-location-1.svg": () => __vitePreload(() => import("./Icon-location-1-CLOieXYG.CLOieXYG.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-location.svg": () => __vitePreload(() => import("./Icon-location-DW3MtusP.DW3MtusP.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-lock-1.svg": () => __vitePreload(() => import("./Icon-lock-1-C2w3u201.C2w3u201.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-lock-open-1.svg": () => __vitePreload(() => import("./Icon-lock-open-1-BmNoV1gx.BmNoV1gx.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-lock-open.svg": () => __vitePreload(() => import("./Icon-lock-open-DrwsdPIf.DrwsdPIf.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-lock.svg": () => __vitePreload(() => import("./Icon-lock-DX0A_uM_.DX0A_uM_.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-login-1.svg": () => __vitePreload(() => import("./Icon-login-1-CoR8Bvow.CoR8Bvow.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-login.svg": () => __vitePreload(() => import("./Icon-login-CKUYY9gK.CKUYY9gK.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-logout-1.svg": () => __vitePreload(() => import("./Icon-logout-1-DHe0KK0J.DHe0KK0J.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-logout.svg": () => __vitePreload(() => import("./Icon-logout-atybm8Nq.atybm8Nq.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-low-1.svg": () => __vitePreload(() => import("./Icon-low-1-BNseYVD7.BNseYVD7.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-low.svg": () => __vitePreload(() => import("./Icon-low-BNseYVD7.BNseYVD7.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-mail-1.svg": () => __vitePreload(() => import("./Icon-mail-1-CzsqGInB.CzsqGInB.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-mail.svg": () => __vitePreload(() => import("./Icon-mail-DHXGVgDo.DHXGVgDo.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-manage-projects-1.svg": () => __vitePreload(() => import("./Icon-manage-projects-1-DTU1Yqe9.DTU1Yqe9.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-manage-projects-active-1.svg": () => __vitePreload(() => import("./Icon-manage-projects-active-1-5GrLM5Rt.5GrLM5Rt.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-manage-projects-active.svg": () => __vitePreload(() => import("./Icon-manage-projects-active-jzJITd2J.jzJITd2J.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-manage-projects.svg": () => __vitePreload(() => import("./Icon-manage-projects-CAbX5mzm.CAbX5mzm.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-maps-1.svg": () => __vitePreload(() => import("./Icon-maps-1-CE7Lk9CF.CE7Lk9CF.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-maps.svg": () => __vitePreload(() => import("./Icon-maps-CE7Lk9CF.CE7Lk9CF.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-maximize-1.svg": () => __vitePreload(() => import("./Icon-maximize-1-ceYYtXYf.ceYYtXYf.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-maximize.svg": () => __vitePreload(() => import("./Icon-maximize-BgQ6RXBZ.BgQ6RXBZ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-meatballs-menu-1.svg": () => __vitePreload(() => import("./Icon-meatballs-menu-1-HdWf4UOc.HdWf4UOc.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-meatballs-menu.svg": () => __vitePreload(() => import("./Icon-meatballs-menu-Day0_bcM.Day0_bcM.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-media-1.svg": () => __vitePreload(() => import("./Icon-media-1-wLePoxqb.wLePoxqb.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-media.svg": () => __vitePreload(() => import("./Icon-media-BULzHB1n.BULzHB1n.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-medium-1.svg": () => __vitePreload(() => import("./Icon-medium-1-DaObi1mQ.DaObi1mQ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-medium.svg": () => __vitePreload(() => import("./Icon-medium-DaObi1mQ.DaObi1mQ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-message-1.svg": () => __vitePreload(() => import("./Icon-message-1-ZSKgQNYa.ZSKgQNYa.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-message-bad-1.svg": () => __vitePreload(() => import("./Icon-message-bad-1-k92CVCDe.k92CVCDe.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-message-bad.svg": () => __vitePreload(() => import("./Icon-message-bad-C8VSZiuW.C8VSZiuW.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-message-good-1.svg": () => __vitePreload(() => import("./Icon-message-good-1-BKadc3FD.BKadc3FD.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-message-good.svg": () => __vitePreload(() => import("./Icon-message-good-B_WiJMCf.B_WiJMCf.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-message-neutral-1.svg": () => __vitePreload(() => import("./Icon-message-neutral-1-DF9xDrN6.DF9xDrN6.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-message-neutral.svg": () => __vitePreload(() => import("./Icon-message-neutral-I4pwDQ6w.I4pwDQ6w.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-message.svg": () => __vitePreload(() => import("./Icon-message-GUdeS1QW.GUdeS1QW.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-minimize-1.svg": () => __vitePreload(() => import("./Icon-minimize-1-h02UvBTN.h02UvBTN.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-minimize.svg": () => __vitePreload(() => import("./Icon-minimize-D09Tu0RM.D09Tu0RM.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-mobile-1.svg": () => __vitePreload(() => import("./Icon-mobile-1-BJ4ohMaw.BJ4ohMaw.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-mobile.svg": () => __vitePreload(() => import("./Icon-mobile-BJ4ohMaw.BJ4ohMaw.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-movabale-indicator-1.svg": () => __vitePreload(() => import("./Icon-movabale-indicator-1-dqo5DUEe.dqo5DUEe.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-movabale-indicator.svg": () => __vitePreload(() => import("./Icon-movabale-indicator-B04cv07D.B04cv07D.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-new-tab-1.svg": () => __vitePreload(() => import("./Icon-new-tab-1-DKHW35_M.DKHW35_M.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-new-tab.svg": () => __vitePreload(() => import("./Icon-new-tab-Cuh6GeYp.Cuh6GeYp.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-news-1.svg": () => __vitePreload(() => import("./Icon-news-1-BcIQkMo0.BcIQkMo0.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-news.svg": () => __vitePreload(() => import("./Icon-news-DGvv6q52.DGvv6q52.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-notification-1.svg": () => __vitePreload(() => import("./Icon-notification-1-BiSK4LV5.BiSK4LV5.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-notification.svg": () => __vitePreload(() => import("./Icon-notification-BAPXczxQ.BAPXczxQ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-overview-1.svg": () => __vitePreload(() => import("./Icon-overview-1-Dh1yP7ZG.Dh1yP7ZG.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-overview.svg": () => __vitePreload(() => import("./Icon-overview-DreVKqdQ.DreVKqdQ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-pause-1.svg": () => __vitePreload(() => import("./Icon-pause-1-BnrBVyuM.BnrBVyuM.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-pause.svg": () => __vitePreload(() => import("./Icon-pause-CwaDsoNW.CwaDsoNW.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-phone-1.svg": () => __vitePreload(() => import("./Icon-phone-1-BXIDPh1x.BXIDPh1x.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-phone.svg": () => __vitePreload(() => import("./Icon-phone-DZeqdKp9.DZeqdKp9.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-photo-1.svg": () => __vitePreload(() => import("./Icon-photo-1-Oz5bckws.Oz5bckws.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-photo.svg": () => __vitePreload(() => import("./Icon-photo-DykIU8y-.DykIU8y-.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-pin-filled-1.svg": () => __vitePreload(() => import("./Icon-pin-filled-1-CGDCIQsm.CGDCIQsm.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-pin-filled.svg": () => __vitePreload(() => import("./Icon-pin-filled-CGDCIQsm.CGDCIQsm.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-play-1.svg": () => __vitePreload(() => import("./Icon-play-1-CZ3lAqMx.CZ3lAqMx.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-play.svg": () => __vitePreload(() => import("./Icon-play-B9J7uR1E.B9J7uR1E.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-post-1.svg": () => __vitePreload(() => import("./Icon-post-1-xYkfjOOS.xYkfjOOS.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-post.svg": () => __vitePreload(() => import("./Icon-post-CFtmGOkR.CFtmGOkR.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-posts-series-1.svg": () => __vitePreload(() => import("./Icon-posts-series-1-CNfN00ma.CNfN00ma.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-posts-series.svg": () => __vitePreload(() => import("./Icon-posts-series-BR4mFUvQ.BR4mFUvQ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-prize-1.svg": () => __vitePreload(() => import("./Icon-prize-1-BSWtTzry.BSWtTzry.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-prize.svg": () => __vitePreload(() => import("./Icon-prize-CJoFL0As.CJoFL0As.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-q-analysis-1.svg": () => __vitePreload(() => import("./Icon-q-analysis-1-K_d5kSWA.K_d5kSWA.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-q-analysis.svg": () => __vitePreload(() => import("./Icon-q-analysis-BUDEGinb.BUDEGinb.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-queries-brand-1.svg": () => __vitePreload(() => import("./Icon-queries-brand-1-Bt6owdSm.Bt6owdSm.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-queries-brand.svg": () => __vitePreload(() => import("./Icon-queries-brand-Bt6owdSm.Bt6owdSm.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-queries-discovery-1.svg": () => __vitePreload(() => import("./Icon-queries-discovery-1-CTCnzb3p.CTCnzb3p.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-queries-discovery.svg": () => __vitePreload(() => import("./Icon-queries-discovery-CTCnzb3p.CTCnzb3p.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-queries-target-1.svg": () => __vitePreload(() => import("./Icon-queries-target-1-BWDdxmno.BWDdxmno.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-queries-target.svg": () => __vitePreload(() => import("./Icon-queries-target-BWDdxmno.BWDdxmno.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-question-1.svg": () => __vitePreload(() => import("./Icon-question-1-CyBgA7K5.CyBgA7K5.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-question.svg": () => __vitePreload(() => import("./Icon-question-CyBgA7K5.CyBgA7K5.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-rec-1.svg": () => __vitePreload(() => import("./Icon-rec-1-BmhIaa9j.BmhIaa9j.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-rec.svg": () => __vitePreload(() => import("./Icon-rec-CsL9kM2H.CsL9kM2H.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-refresh-1.svg": () => __vitePreload(() => import("./Icon-refresh-1-eQS2kvTw.eQS2kvTw.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-refresh.svg": () => __vitePreload(() => import("./Icon-refresh-FwipetHt.FwipetHt.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-region-1.svg": () => __vitePreload(() => import("./Icon-region-1-Cvu-2OPx.Cvu-2OPx.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-region.svg": () => __vitePreload(() => import("./Icon-region-Dt7xtFt4.Dt7xtFt4.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-remove-1.svg": () => __vitePreload(() => import("./Icon-remove-1-CyYJQoYT.CyYJQoYT.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-remove.svg": () => __vitePreload(() => import("./Icon-remove-BaXWFYmC.BaXWFYmC.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-rewrite-1.svg": () => __vitePreload(() => import("./Icon-rewrite-1-DC-heP33.DC-heP33.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-rewrite.svg": () => __vitePreload(() => import("./Icon-rewrite-NFvbufhZ.NFvbufhZ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-save-1.svg": () => __vitePreload(() => import("./Icon-save-1-DynxOSIF.DynxOSIF.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-save-active-1.svg": () => __vitePreload(() => import("./Icon-save-active-1-BXIn4M60.BXIn4M60.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-save-active.svg": () => __vitePreload(() => import("./Icon-save-active-sukwIFSJ.sukwIFSJ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-save.svg": () => __vitePreload(() => import("./Icon-save-BMypSyF_.BMypSyF_.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-search-1.svg": () => __vitePreload(() => import("./Icon-search-1-BpQy3Hqr.BpQy3Hqr.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-search-engines-1.svg": () => __vitePreload(() => import("./Icon-search-engines-1-As3zxwjv.As3zxwjv.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-search-engines-active-1.svg": () => __vitePreload(() => import("./Icon-search-engines-active-1-ChlsV7tB.ChlsV7tB.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-search-engines-active.svg": () => __vitePreload(() => import("./Icon-search-engines-active-92E9xMul.92E9xMul.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-search-engines.svg": () => __vitePreload(() => import("./Icon-search-engines-CNVZztvA.CNVZztvA.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-search.svg": () => __vitePreload(() => import("./Icon-search-BCGPwxfl.BCGPwxfl.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-send-1.svg": () => __vitePreload(() => import("./Icon-send-1-C0BeglqV.C0BeglqV.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-send.svg": () => __vitePreload(() => import("./Icon-send-e3r84Bk4.e3r84Bk4.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-sepa-1.svg": () => __vitePreload(() => import("./Icon-sepa-1-BfRUkFTf.BfRUkFTf.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-sepa-active-1.svg": () => __vitePreload(() => import("./Icon-sepa-active-1-CQz_LpKA.CQz_LpKA.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-sepa-active.svg": () => __vitePreload(() => import("./Icon-sepa-active-BcmATS7C.BcmATS7C.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-sepa.svg": () => __vitePreload(() => import("./Icon-sepa-DJ0e3o7k.DJ0e3o7k.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-settings-1.svg": () => __vitePreload(() => import("./Icon-settings-1-OJ-7J_Gi.OJ-7J_Gi.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-settings-active-1.svg": () => __vitePreload(() => import("./Icon-settings-active-1-Dnk1MJGj.Dnk1MJGj.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-settings-active.svg": () => __vitePreload(() => import("./Icon-settings-active-Cvd3c6po.Cvd3c6po.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-settings.svg": () => __vitePreload(() => import("./Icon-settings-C0aP6emE.C0aP6emE.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-share-1.svg": () => __vitePreload(() => import("./Icon-share-1-BiNU7pPZ.BiNU7pPZ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-share.svg": () => __vitePreload(() => import("./Icon-share-CkvIKRmW.CkvIKRmW.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-shield-1.svg": () => __vitePreload(() => import("./Icon-shield-1-DBhVvcTV.DBhVvcTV.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-shield-active-1.svg": () => __vitePreload(() => import("./Icon-shield-active-1-CnKQlQG7.CnKQlQG7.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-shield-active.svg": () => __vitePreload(() => import("./Icon-shield-active-BHT3T7d1.BHT3T7d1.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-shield.svg": () => __vitePreload(() => import("./Icon-shield-C2Tql6xW.C2Tql6xW.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-slide-h-1.svg": () => __vitePreload(() => import("./Icon-slide-h-1-BCig0xiZ.BCig0xiZ.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-slide-h.svg": () => __vitePreload(() => import("./Icon-slide-h-BhbGFyff.BhbGFyff.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-slide-v-1.svg": () => __vitePreload(() => import("./Icon-slide-v-1-VJt17Dfy.VJt17Dfy.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-slide-v.svg": () => __vitePreload(() => import("./Icon-slide-v-CPoVusGA.CPoVusGA.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-social-media-1.svg": () => __vitePreload(() => import("./Icon-social-media-1-BCf0rJH5.BCf0rJH5.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-social-media-active-1.svg": () => __vitePreload(() => import("./Icon-social-media-active-1-DCAGe-Ea.DCAGe-Ea.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-social-media-active.svg": () => __vitePreload(() => import("./Icon-social-media-active-CYnT3hBu.CYnT3hBu.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-social-media.svg": () => __vitePreload(() => import("./Icon-social-media-LXApHlRA.LXApHlRA.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-sorting-1.svg": () => __vitePreload(() => import("./Icon-sorting-1-DJdDJ07o.DJdDJ07o.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-sorting.svg": () => __vitePreload(() => import("./Icon-sorting-jIt_WFUb.jIt_WFUb.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-star-1.svg": () => __vitePreload(() => import("./Icon-star-1-BlFPMhYo.BlFPMhYo.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-star-active-1.svg": () => __vitePreload(() => import("./Icon-star-active-1-DASm7fpD.DASm7fpD.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-star-active.svg": () => __vitePreload(() => import("./Icon-star-active-CYAC8-Te.CYAC8-Te.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-star.svg": () => __vitePreload(() => import("./Icon-star-BGpy4hXd.BGpy4hXd.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-start-1.svg": () => __vitePreload(() => import("./Icon-start-1-DrokefU_.DrokefU_.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-start.svg": () => __vitePreload(() => import("./Icon-start-Yfsqn4Ej.Yfsqn4Ej.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tablet-1.svg": () => __vitePreload(() => import("./Icon-tablet-1-Dhq1cGy6.Dhq1cGy6.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tablet.svg": () => __vitePreload(() => import("./Icon-tablet-Dhq1cGy6.Dhq1cGy6.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tag-1.svg": () => __vitePreload(() => import("./Icon-tag-1-Dhjfe2vy.Dhjfe2vy.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tag.svg": () => __vitePreload(() => import("./Icon-tag-BXsYgGNI.BXsYgGNI.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tasks-1.svg": () => __vitePreload(() => import("./Icon-tasks-1-zrMulfA9.zrMulfA9.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tasks.svg": () => __vitePreload(() => import("./Icon-tasks-Vl29Gej3.Vl29Gej3.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-text-1.svg": () => __vitePreload(() => import("./Icon-text-1-C255nzq_.C255nzq_.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-text.svg": () => __vitePreload(() => import("./Icon-text-BbY9K4_z.BbY9K4_z.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tools-1.svg": () => __vitePreload(() => import("./Icon-tools-1-BFTzmhkF.BFTzmhkF.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tools-active-1.svg": () => __vitePreload(() => import("./Icon-tools-active-1-B-9tOuX0.B-9tOuX0.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tools-active.svg": () => __vitePreload(() => import("./Icon-tools-active-t9IjG2pg.t9IjG2pg.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-tools.svg": () => __vitePreload(() => import("./Icon-tools-BgqdpUMr.BgqdpUMr.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-trafic-1.svg": () => __vitePreload(() => import("./Icon-trafic-1-DRX1vXSI.DRX1vXSI.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-trafic.svg": () => __vitePreload(() => import("./Icon-trafic-BugWdjcP.BugWdjcP.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-trash-1.svg": () => __vitePreload(() => import("./Icon-trash-1-Oznq3LWC.Oznq3LWC.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-trash.svg": () => __vitePreload(() => import("./Icon-trash-BO58VGzy.BO58VGzy.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-twitter-1.svg": () => __vitePreload(() => import("./Icon-twitter-1-CAXHZcAT.CAXHZcAT.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-twitter.svg": () => __vitePreload(() => import("./Icon-twitter-QBdsA1r_.QBdsA1r_.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-upload-1.svg": () => __vitePreload(() => import("./Icon-upload-1-lLEEb6Ac.lLEEb6Ac.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-upload.svg": () => __vitePreload(() => import("./Icon-upload-C0e0X_9u.C0e0X_9u.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-user-1.svg": () => __vitePreload(() => import("./Icon-user-1-gUOn_Nkm.gUOn_Nkm.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-user-active-1.svg": () => __vitePreload(() => import("./Icon-user-active-1-CB2diJDq.CB2diJDq.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-user-active.svg": () => __vitePreload(() => import("./Icon-user-active-BX075VMi.BX075VMi.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-user-round-1.svg": () => __vitePreload(() => import("./Icon-user-round-1-ZGVJMUKD.ZGVJMUKD.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-user-round.svg": () => __vitePreload(() => import("./Icon-user-round-DaArNZWo.DaArNZWo.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-user.svg": () => __vitePreload(() => import("./Icon-user-BWGiXvl9.BWGiXvl9.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-visibility-1.svg": () => __vitePreload(() => import("./Icon-visibility-1-DnMYUXil.DnMYUXil.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-visibility-off-1.svg": () => __vitePreload(() => import("./Icon-visibility-off-1-Ds6ynZQF.Ds6ynZQF.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-visibility-off.svg": () => __vitePreload(() => import("./Icon-visibility-off-djF_pBx-.djF_pBx-.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-visibility.svg": () => __vitePreload(() => import("./Icon-visibility-SPH4JN_3.SPH4JN_3.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-warning-1.svg": () => __vitePreload(() => import("./Icon-warning-1-Bezns3Ef.Bezns3Ef.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-warning-full.svg": () => __vitePreload(() => import("./Icon-warning-full-Wup5S44B.Wup5S44B.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-warning.svg": () => __vitePreload(() => import("./Icon-warning-EJZEoVyn.EJZEoVyn.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-whatsapp-1.svg": () => __vitePreload(() => import("./Icon-whatsapp-1-CbY-lzyz.CbY-lzyz.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-whatsapp.svg": () => __vitePreload(() => import("./Icon-whatsapp-aAB5sE-G.aAB5sE-G.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-wizard-1.svg": () => __vitePreload(() => import("./Icon-wizard-1-DhUF1Ka1.DhUF1Ka1.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-wizard.svg": () => __vitePreload(() => import("./Icon-wizard-DF33E-zN.DF33E-zN.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-youtube-1.svg": () => __vitePreload(() => import("./Icon-youtube-1-D9W0Hth7.D9W0Hth7.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default),
    "./assets/icons/Icon-youtube.svg": () => __vitePreload(() => import("./Icon-youtube-C0iJ9qnf.C0iJ9qnf.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default)
  }),
  .../* @__PURE__ */ Object.assign({
    "./assets/gifs/loading.gif": () => __vitePreload(() => import("./loading-CYx0Pgns.CYx0Pgns.js"), true ? [] : void 0, import.meta.url).then((e10) => e10.default)
  })
}, bbe = /* @__PURE__ */ new Map(), Fm = /* @__PURE__ */ new Map();
async function gbe(e10) {
  const t = Object.keys(Dx).find((r) => r.endsWith(`/assets/${e10}`));
  if (!t) return;
  const n = Dx[t];
  return n ? await n() : void 0;
}
function mbe(e10) {
  if (!Fm.has(e10)) {
    const t = Ox(e10).pipe(Vh(() => Ox("")), pbe(1));
    Fm.set(e10, t);
  }
  return Fm.get(e10);
}
const Eb = (e10, t = {
  shouldRequest: true
}) => {
  const [n, r] = reactExports.useState({
    error: null,
    loading: true,
    SvgIcon: ""
  });
  return reactExports.useEffect(() => {
    t.shouldRequest && (e10.includes("assets/ads") && (e10 = e10.replace("assets/ads", "assets/ads_")), gbe(e10).then((o) => {
      if (!o) {
        r({
          error: new Error("Asset not found"),
          loading: false,
          SvgIcon: ""
        });
        return;
      }
      const i = mbe(o).subscribe({
        next: (u) => {
          bbe.set(e10, u), r({
            error: null,
            loading: false,
            SvgIcon: u
          });
        },
        error: (u) => {
          r({
            error: new Error("Failed to load asset"),
            loading: false,
            SvgIcon: ""
          });
        }
      });
      return () => i.unsubscribe();
    }).catch((o) => {
      r({
        error: new Error("Failed to load asset"),
        loading: false,
        SvgIcon: ""
      });
    }));
  }, [e10, t.shouldRequest]), n;
};
function Hf(e10) {
  let t = "https://mui.com/production-error/?code=" + e10;
  for (let n = 1; n < arguments.length; n += 1)
    t += "&args[]=" + encodeURIComponent(arguments[n]);
  return "Minified MUI error #" + e10 + "; visit " + t + " for the full message.";
}
const vbe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Hf }, Symbol.toStringTag, { value: "Module" }));
function Me() {
  return Me = Object.assign ? Object.assign.bind() : function(e10) {
    for (var t = 1; t < arguments.length; t++) {
      var n = arguments[t];
      for (var r in n) ({}).hasOwnProperty.call(n, r) && (e10[r] = n[r]);
    }
    return e10;
  }, Me.apply(null, arguments);
}
function vE(e10) {
  var t = /* @__PURE__ */ Object.create(null);
  return function(n) {
    return t[n] === void 0 && (t[n] = e10(n)), t[n];
  };
}
var ybe = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Ey = /* @__PURE__ */ vE(
  function(e10) {
    return ybe.test(e10) || e10.charCodeAt(0) === 111 && e10.charCodeAt(1) === 110 && e10.charCodeAt(2) < 91;
  }
  /* Z+1 */
);
function xbe(e10) {
  if (e10.sheet)
    return e10.sheet;
  for (var t = 0; t < document.styleSheets.length; t++)
    if (document.styleSheets[t].ownerNode === e10)
      return document.styleSheets[t];
}
function _be(e10) {
  var t = document.createElement("style");
  return t.setAttribute("data-emotion", e10.key), e10.nonce !== void 0 && t.setAttribute("nonce", e10.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
}
var yE = /* @__PURE__ */ (function() {
  function e10(n) {
    var r = this;
    this._insertTag = function(o) {
      var i;
      r.tags.length === 0 ? r.insertionPoint ? i = r.insertionPoint.nextSibling : r.prepend ? i = r.container.firstChild : i = r.before : i = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(o, i), r.tags.push(o);
    }, this.isSpeedy = n.speedy === void 0 ? true : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null;
  }
  var t = e10.prototype;
  return t.hydrate = function(r) {
    r.forEach(this._insertTag);
  }, t.insert = function(r) {
    this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(_be(this));
    var o = this.tags[this.tags.length - 1];
    if (this.isSpeedy) {
      var i = xbe(o);
      try {
        i.insertRule(r, i.cssRules.length);
      } catch {
      }
    } else
      o.appendChild(document.createTextNode(r));
    this.ctr++;
  }, t.flush = function() {
    this.tags.forEach(function(r) {
      var o;
      return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
    }), this.tags = [], this.ctr = 0;
  }, e10;
})(), Ll = "-ms-", U1 = "-moz-", Ho = "-webkit-", xE = "comm", C2 = "rule", S2 = "decl", wbe = "@import", _E = "@keyframes", Tbe = "@layer", kbe = Math.abs, kg = String.fromCharCode, Ebe = Object.assign;
function Cbe(e10, t) {
  return yl(e10, 0) ^ 45 ? (((t << 2 ^ yl(e10, 0)) << 2 ^ yl(e10, 1)) << 2 ^ yl(e10, 2)) << 2 ^ yl(e10, 3) : 0;
}
function wE(e10) {
  return e10.trim();
}
function Sbe(e10, t) {
  return (e10 = t.exec(e10)) ? e10[0] : e10;
}
function $o(e10, t, n) {
  return e10.replace(t, n);
}
function Cy(e10, t) {
  return e10.indexOf(t);
}
function yl(e10, t) {
  return e10.charCodeAt(t) | 0;
}
function cb(e10, t, n) {
  return e10.slice(t, n);
}
function af(e10) {
  return e10.length;
}
function A2(e10) {
  return e10.length;
}
function Jb(e10, t) {
  return t.push(e10), e10;
}
function Abe(e10, t) {
  return e10.map(t).join("");
}
var Eg = 1, $p = 1, TE = 0, zu = 0, ss = 0, o0 = "";
function Cg(e10, t, n, r, o, i, u) {
  return { value: e10, root: t, parent: n, type: r, props: o, children: i, line: Eg, column: $p, length: u, return: "" };
}
function E0(e10, t) {
  return Ebe(Cg("", null, null, "", null, null, 0), e10, { length: -e10.length }, t);
}
function Pbe() {
  return ss;
}
function Rbe() {
  return ss = zu > 0 ? yl(o0, --zu) : 0, $p--, ss === 10 && ($p = 1, Eg--), ss;
}
function mc() {
  return ss = zu < TE ? yl(o0, zu++) : 0, $p++, ss === 10 && ($p = 1, Eg++), ss;
}
function cf() {
  return yl(o0, zu);
}
function x1() {
  return zu;
}
function Cb(e10, t) {
  return cb(o0, e10, t);
}
function db(e10) {
  switch (e10) {
    // \0 \t \n \r \s whitespace token
    case 0:
    case 9:
    case 10:
    case 13:
    case 32:
      return 5;
    // ! + , / > @ ~ isolate token
    case 33:
    case 43:
    case 44:
    case 47:
    case 62:
    case 64:
    case 126:
    // ; { } breakpoint token
    case 59:
    case 123:
    case 125:
      return 4;
    // : accompanied token
    case 58:
      return 3;
    // " ' ( [ opening delimit token
    case 34:
    case 39:
    case 40:
    case 91:
      return 2;
    // ) ] closing delimit token
    case 41:
    case 93:
      return 1;
  }
  return 0;
}
function kE(e10) {
  return Eg = $p = 1, TE = af(o0 = e10), zu = 0, [];
}
function EE(e10) {
  return o0 = "", e10;
}
function _1(e10) {
  return wE(Cb(zu - 1, Sy(e10 === 91 ? e10 + 2 : e10 === 40 ? e10 + 1 : e10)));
}
function Ibe(e10) {
  for (; (ss = cf()) && ss < 33; )
    mc();
  return db(e10) > 2 || db(ss) > 3 ? "" : " ";
}
function Mbe(e10, t) {
  for (; --t && mc() && !(ss < 48 || ss > 102 || ss > 57 && ss < 65 || ss > 70 && ss < 97); )
    ;
  return Cb(e10, x1() + (t < 6 && cf() == 32 && mc() == 32));
}
function Sy(e10) {
  for (; mc(); )
    switch (ss) {
      // ] ) " '
      case e10:
        return zu;
      // " '
      case 34:
      case 39:
        e10 !== 34 && e10 !== 39 && Sy(ss);
        break;
      // (
      case 40:
        e10 === 41 && Sy(e10);
        break;
      // \
      case 92:
        mc();
        break;
    }
  return zu;
}
function Obe(e10, t) {
  for (; mc() && e10 + ss !== 57; )
    if (e10 + ss === 84 && cf() === 47)
      break;
  return "/*" + Cb(t, zu - 1) + "*" + kg(e10 === 47 ? e10 : mc());
}
function Dbe(e10) {
  for (; !db(cf()); )
    mc();
  return Cb(e10, zu);
}
function Fbe(e10) {
  return EE(w1("", null, null, null, [""], e10 = kE(e10), 0, [0], e10));
}
function w1(e10, t, n, r, o, i, u, p, v) {
  for (var y = 0, k = 0, T = u, R = 0, I = 0, P = 0, S = 1, U = 1, B = 1, X = 0, Z = "", te = o, Q = i, q = r, F = Z; U; )
    switch (P = X, X = mc()) {
      // (
      case 40:
        if (P != 108 && yl(F, T - 1) == 58) {
          Cy(F += $o(_1(X), "&", "&\f"), "&\f") != -1 && (B = -1);
          break;
        }
      // " ' [
      case 34:
      case 39:
      case 91:
        F += _1(X);
        break;
      // \t \n \r \s
      case 9:
      case 10:
      case 13:
      case 32:
        F += Ibe(P);
        break;
      // \
      case 92:
        F += Mbe(x1() - 1, 7);
        continue;
      // /
      case 47:
        switch (cf()) {
          case 42:
          case 47:
            Jb(Nbe(Obe(mc(), x1()), t, n), v);
            break;
          default:
            F += "/";
        }
        break;
      // {
      case 123 * S:
        p[y++] = af(F) * B;
      // } ; \0
      case 125 * S:
      case 59:
      case 0:
        switch (X) {
          // \0 }
          case 0:
          case 125:
            U = 0;
          // ;
          case 59 + k:
            B == -1 && (F = $o(F, /\f/g, "")), I > 0 && af(F) - T && Jb(I > 32 ? Nx(F + ";", r, n, T - 1) : Nx($o(F, " ", "") + ";", r, n, T - 2), v);
            break;
          // @ ;
          case 59:
            F += ";";
          // { rule/at-rule
          default:
            if (Jb(q = Fx(F, t, n, y, k, o, p, Z, te = [], Q = [], T), i), X === 123)
              if (k === 0)
                w1(F, t, q, q, te, i, T, p, Q);
              else
                switch (R === 99 && yl(F, 3) === 110 ? 100 : R) {
                  // d l m s
                  case 100:
                  case 108:
                  case 109:
                  case 115:
                    w1(e10, q, q, r && Jb(Fx(e10, q, q, 0, 0, o, p, Z, o, te = [], T), Q), o, Q, T, p, r ? te : Q);
                    break;
                  default:
                    w1(F, q, q, q, [""], Q, 0, p, Q);
                }
        }
        y = k = I = 0, S = B = 1, Z = F = "", T = u;
        break;
      // :
      case 58:
        T = 1 + af(F), I = P;
      default:
        if (S < 1) {
          if (X == 123)
            --S;
          else if (X == 125 && S++ == 0 && Rbe() == 125)
            continue;
        }
        switch (F += kg(X), X * S) {
          // &
          case 38:
            B = k > 0 ? 1 : (F += "\f", -1);
            break;
          // ,
          case 44:
            p[y++] = (af(F) - 1) * B, B = 1;
            break;
          // @
          case 64:
            cf() === 45 && (F += _1(mc())), R = cf(), k = T = af(Z = F += Dbe(x1())), X++;
            break;
          // -
          case 45:
            P === 45 && af(F) == 2 && (S = 0);
        }
    }
  return i;
}
function Fx(e10, t, n, r, o, i, u, p, v, y, k) {
  for (var T = o - 1, R = o === 0 ? i : [""], I = A2(R), P = 0, S = 0, U = 0; P < r; ++P)
    for (var B = 0, X = cb(e10, T + 1, T = kbe(S = u[P])), Z = e10; B < I; ++B)
      (Z = wE(S > 0 ? R[B] + " " + X : $o(X, /&\f/g, R[B]))) && (v[U++] = Z);
  return Cg(e10, t, n, o === 0 ? C2 : p, v, y, k);
}
function Nbe(e10, t, n) {
  return Cg(e10, t, n, xE, kg(Pbe()), cb(e10, 2, -2), 0);
}
function Nx(e10, t, n, r) {
  return Cg(e10, t, n, S2, cb(e10, 0, r), cb(e10, r + 1, -1), r);
}
function Np(e10, t) {
  for (var n = "", r = A2(e10), o = 0; o < r; o++)
    n += t(e10[o], o, e10, t) || "";
  return n;
}
function Lbe(e10, t, n, r) {
  switch (e10.type) {
    case Tbe:
      if (e10.children.length) break;
    case wbe:
    case S2:
      return e10.return = e10.return || e10.value;
    case xE:
      return "";
    case _E:
      return e10.return = e10.value + "{" + Np(e10.children, r) + "}";
    case C2:
      e10.value = e10.props.join(",");
  }
  return af(n = Np(e10.children, r)) ? e10.return = e10.value + "{" + n + "}" : "";
}
function Bbe(e10) {
  var t = A2(e10);
  return function(n, r, o, i) {
    for (var u = "", p = 0; p < t; p++)
      u += e10[p](n, r, o, i) || "";
    return u;
  };
}
function zbe(e10) {
  return function(t) {
    t.root || (t = t.return) && e10(t);
  };
}
var Wbe = function(t, n, r) {
  for (var o = 0, i = 0; o = i, i = cf(), o === 38 && i === 12 && (n[r] = 1), !db(i); )
    mc();
  return Cb(t, zu);
}, Ube = function(t, n) {
  var r = -1, o = 44;
  do
    switch (db(o)) {
      case 0:
        o === 38 && cf() === 12 && (n[r] = 1), t[r] += Wbe(zu - 1, n, r);
        break;
      case 2:
        t[r] += _1(o);
        break;
      case 4:
        if (o === 44) {
          t[++r] = cf() === 58 ? "&\f" : "", n[r] = t[r].length;
          break;
        }
      // fallthrough
      default:
        t[r] += kg(o);
    }
  while (o = mc());
  return t;
}, Hbe = function(t, n) {
  return EE(Ube(kE(t), n));
}, Lx = /* @__PURE__ */ new WeakMap(), $be = function(t) {
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
  // negative .length indicates that this rule has been already prefixed
  t.length < 1)) {
    for (var n = t.value, r = t.parent, o = t.column === r.column && t.line === r.line; r.type !== "rule"; )
      if (r = r.parent, !r) return;
    if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Lx.get(r)) && !o) {
      Lx.set(t, true);
      for (var i = [], u = Hbe(n, i), p = r.props, v = 0, y = 0; v < u.length; v++)
        for (var k = 0; k < p.length; k++, y++)
          t.props[y] = i[v] ? u[v].replace(/&\f/g, p[k]) : p[k] + " " + u[v];
    }
  }
}, Vbe = function(t) {
  if (t.type === "decl") {
    var n = t.value;
    n.charCodeAt(0) === 108 && // charcode for b
    n.charCodeAt(2) === 98 && (t.return = "", t.value = "");
  }
};
function CE(e10, t) {
  switch (Cbe(e10, t)) {
    // color-adjust
    case 5103:
      return Ho + "print-" + e10 + e10;
    // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
    case 5737:
    case 4201:
    case 3177:
    case 3433:
    case 1641:
    case 4457:
    case 2921:
    // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
    case 5572:
    case 6356:
    case 5844:
    case 3191:
    case 6645:
    case 3005:
    // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
    case 6391:
    case 5879:
    case 5623:
    case 6135:
    case 4599:
    case 4855:
    // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
    case 4215:
    case 6389:
    case 5109:
    case 5365:
    case 5621:
    case 3829:
      return Ho + e10 + e10;
    // appearance, user-select, transform, hyphens, text-size-adjust
    case 5349:
    case 4246:
    case 4810:
    case 6968:
    case 2756:
      return Ho + e10 + U1 + e10 + Ll + e10 + e10;
    // flex, flex-direction
    case 6828:
    case 4268:
      return Ho + e10 + Ll + e10 + e10;
    // order
    case 6165:
      return Ho + e10 + Ll + "flex-" + e10 + e10;
    // align-items
    case 5187:
      return Ho + e10 + $o(e10, /(\w+).+(:[^]+)/, Ho + "box-$1$2" + Ll + "flex-$1$2") + e10;
    // align-self
    case 5443:
      return Ho + e10 + Ll + "flex-item-" + $o(e10, /flex-|-self/, "") + e10;
    // align-content
    case 4675:
      return Ho + e10 + Ll + "flex-line-pack" + $o(e10, /align-content|flex-|-self/, "") + e10;
    // flex-shrink
    case 5548:
      return Ho + e10 + Ll + $o(e10, "shrink", "negative") + e10;
    // flex-basis
    case 5292:
      return Ho + e10 + Ll + $o(e10, "basis", "preferred-size") + e10;
    // flex-grow
    case 6060:
      return Ho + "box-" + $o(e10, "-grow", "") + Ho + e10 + Ll + $o(e10, "grow", "positive") + e10;
    // transition
    case 4554:
      return Ho + $o(e10, /([^-])(transform)/g, "$1" + Ho + "$2") + e10;
    // cursor
    case 6187:
      return $o($o($o(e10, /(zoom-|grab)/, Ho + "$1"), /(image-set)/, Ho + "$1"), e10, "") + e10;
    // background, background-image
    case 5495:
    case 3959:
      return $o(e10, /(image-set\([^]*)/, Ho + "$1$`$1");
    // justify-content
    case 4968:
      return $o($o(e10, /(.+:)(flex-)?(.*)/, Ho + "box-pack:$3" + Ll + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Ho + e10 + e10;
    // (margin|padding)-inline-(start|end)
    case 4095:
    case 3583:
    case 4068:
    case 2532:
      return $o(e10, /(.+)-inline(.+)/, Ho + "$1$2") + e10;
    // (min|max)?(width|height|inline-size|block-size)
    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 (af(e10) - 1 - t > 6) switch (yl(e10, t + 1)) {
        // (m)ax-content, (m)in-content
        case 109:
          if (yl(e10, t + 4) !== 45) break;
        // (f)ill-available, (f)it-content
        case 102:
          return $o(e10, /(.+:)(.+)-([^]+)/, "$1" + Ho + "$2-$3$1" + U1 + (yl(e10, t + 3) == 108 ? "$3" : "$2-$3")) + e10;
        // (s)tretch
        case 115:
          return ~Cy(e10, "stretch") ? CE($o(e10, "stretch", "fill-available"), t) + e10 : e10;
      }
      break;
    // position: sticky
    case 4949:
      if (yl(e10, t + 1) !== 115) break;
    // display: (flex|inline-flex)
    case 6444:
      switch (yl(e10, af(e10) - 3 - (~Cy(e10, "!important") && 10))) {
        // stic(k)y
        case 107:
          return $o(e10, ":", ":" + Ho) + e10;
        // (inline-)?fl(e)x
        case 101:
          return $o(e10, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Ho + (yl(e10, 14) === 45 ? "inline-" : "") + "box$3$1" + Ho + "$2$3$1" + Ll + "$2box$3") + e10;
      }
      break;
    // writing-mode
    case 5936:
      switch (yl(e10, t + 11)) {
        // vertical-l(r)
        case 114:
          return Ho + e10 + Ll + $o(e10, /[svh]\w+-[tblr]{2}/, "tb") + e10;
        // vertical-r(l)
        case 108:
          return Ho + e10 + Ll + $o(e10, /[svh]\w+-[tblr]{2}/, "tb-rl") + e10;
        // horizontal(-)tb
        case 45:
          return Ho + e10 + Ll + $o(e10, /[svh]\w+-[tblr]{2}/, "lr") + e10;
      }
      return Ho + e10 + Ll + e10 + e10;
  }
  return e10;
}
var Gbe = function(t, n, r, o) {
  if (t.length > -1 && !t.return) switch (t.type) {
    case S2:
      t.return = CE(t.value, t.length);
      break;
    case _E:
      return Np([E0(t, {
        value: $o(t.value, "@", "@" + Ho)
      })], o);
    case C2:
      if (t.length) return Abe(t.props, function(i) {
        switch (Sbe(i, /(::plac\w+|:read-\w+)/)) {
          // :read-(only|write)
          case ":read-only":
          case ":read-write":
            return Np([E0(t, {
              props: [$o(i, /:(read-\w+)/, ":" + U1 + "$1")]
            })], o);
          // :placeholder
          case "::placeholder":
            return Np([E0(t, {
              props: [$o(i, /:(plac\w+)/, ":" + Ho + "input-$1")]
            }), E0(t, {
              props: [$o(i, /:(plac\w+)/, ":" + U1 + "$1")]
            }), E0(t, {
              props: [$o(i, /:(plac\w+)/, Ll + "input-$1")]
            })], o);
        }
        return "";
      });
  }
}, Ybe = [Gbe], SE = function(t) {
  var n = t.key;
  if (n === "css") {
    var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
    Array.prototype.forEach.call(r, function(S) {
      var U = S.getAttribute("data-emotion");
      U.indexOf(" ") !== -1 && (document.head.appendChild(S), S.setAttribute("data-s", ""));
    });
  }
  var o = t.stylisPlugins || Ybe, i = {}, u, p = [];
  u = t.container || document.head, Array.prototype.forEach.call(
    // this means we will ignore elements which don't have a space in them which
    // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
    document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
    function(S) {
      for (var U = S.getAttribute("data-emotion").split(" "), B = 1; B < U.length; B++)
        i[U[B]] = true;
      p.push(S);
    }
  );
  var v, y = [$be, Vbe];
  {
    var k, T = [Lbe, zbe(function(S) {
      k.insert(S);
    })], R = Bbe(y.concat(o, T)), I = function(U) {
      return Np(Fbe(U), R);
    };
    v = function(U, B, X, Z) {
      k = X, I(U ? U + "{" + B.styles + "}" : B.styles), Z && (P.inserted[B.name] = true);
    };
  }
  var P = {
    key: n,
    sheet: new yE({
      key: n,
      container: u,
      nonce: t.nonce,
      speedy: t.speedy,
      prepend: t.prepend,
      insertionPoint: t.insertionPoint
    }),
    nonce: t.nonce,
    inserted: i,
    registered: {},
    insert: v
  };
  return P.sheet.hydrate(p), P;
}, Nm, Bx;
function Xbe() {
  if (Bx) return Nm;
  Bx = 1;
  var e10 = qy, t = {
    childContextTypes: true,
    contextType: true,
    contextTypes: true,
    defaultProps: true,
    displayName: true,
    getDefaultProps: true,
    getDerivedStateFromError: true,
    getDerivedStateFromProps: true,
    mixins: true,
    propTypes: true,
    type: true
  }, n = {
    name: true,
    length: true,
    prototype: true,
    caller: true,
    callee: true,
    arguments: true,
    arity: true
  }, r = {
    $$typeof: true,
    render: true,
    defaultProps: true,
    displayName: true,
    propTypes: true
  }, o = {
    $$typeof: true,
    compare: true,
    defaultProps: true,
    displayName: true,
    propTypes: true,
    type: true
  }, i = {};
  i[e10.ForwardRef] = r, i[e10.Memo] = o;
  function u(P) {
    return e10.isMemo(P) ? o : i[P.$$typeof] || t;
  }
  var p = Object.defineProperty, v = Object.getOwnPropertyNames, y = Object.getOwnPropertySymbols, k = Object.getOwnPropertyDescriptor, T = Object.getPrototypeOf, R = Object.prototype;
  function I(P, S, U) {
    if (typeof S != "string") {
      if (R) {
        var B = T(S);
        B && B !== R && I(P, B, U);
      }
      var X = v(S);
      y && (X = X.concat(y(S)));
      for (var Z = u(P), te = u(S), Q = 0; Q < X.length; ++Q) {
        var q = X[Q];
        if (!n[q] && !(U && U[q]) && !(te && te[q]) && !(Z && Z[q])) {
          var F = k(S, q);
          try {
            p(P, q, F);
          } catch {
          }
        }
      }
    }
    return P;
  }
  return Nm = I, Nm;
}
var Zbe = Xbe();
const Kbe = /* @__PURE__ */ jc(Zbe);
var Jbe = true;
function AE(e10, t, n) {
  var r = "";
  return n.split(" ").forEach(function(o) {
    e10[o] !== void 0 ? t.push(e10[o] + ";") : o && (r += o + " ");
  }), r;
}
var Qbe = function(t, n, r) {
  var o = t.key + "-" + n.name;
  (r === false || // we need to always store it if we're in compat mode and
  // in node since emotion-server relies on whether a style is in
  // the registered cache to know whether a style is global or not
  // also, note that this check will be dead code eliminated in the browser
  Jbe === false) && t.registered[o] === void 0 && (t.registered[o] = n.styles);
}, P2 = function(t, n, r) {
  Qbe(t, n, r);
  var o = t.key + "-" + n.name;
  if (t.inserted[n.name] === void 0) {
    var i = n;
    do
      t.insert(n === i ? "." + o : "", i, t.sheet, true), i = i.next;
    while (i !== void 0);
  }
};
function jbe(e10) {
  for (var t = 0, n, r = 0, o = e10.length; o >= 4; ++r, o -= 4)
    n = e10.charCodeAt(r) & 255 | (e10.charCodeAt(++r) & 255) << 8 | (e10.charCodeAt(++r) & 255) << 16 | (e10.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
    (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
    n >>> 24, t = /* Math.imul(k, m): */
    (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
    (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
  switch (o) {
    case 3:
      t ^= (e10.charCodeAt(r + 2) & 255) << 16;
    case 2:
      t ^= (e10.charCodeAt(r + 1) & 255) << 8;
    case 1:
      t ^= e10.charCodeAt(r) & 255, t = /* Math.imul(h, m): */
      (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
  }
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
}
var qbe = {
  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,
  // SVG-related properties
  fillOpacity: 1,
  floodOpacity: 1,
  stopOpacity: 1,
  strokeDasharray: 1,
  strokeDashoffset: 1,
  strokeMiterlimit: 1,
  strokeOpacity: 1,
  strokeWidth: 1
}, e1e = /[A-Z]|^ms/g, t1e = /_EMO_([^_]+?)_([^]*?)_EMO_/g, PE = function(t) {
  return t.charCodeAt(1) === 45;
}, zx = function(t) {
  return t != null && typeof t != "boolean";
}, Lm = /* @__PURE__ */ vE(function(e10) {
  return PE(e10) ? e10 : e10.replace(e1e, "-$&").toLowerCase();
}), Wx = function(t, n) {
  switch (t) {
    case "animation":
    case "animationName":
      if (typeof n == "string")
        return n.replace(t1e, function(r, o, i) {
          return sf = {
            name: o,
            styles: i,
            next: sf
          }, o;
        });
  }
  return qbe[t] !== 1 && !PE(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
};
function fb(e10, t, n) {
  if (n == null)
    return "";
  var r = n;
  if (r.__emotion_styles !== void 0)
    return r;
  switch (typeof n) {
    case "boolean":
      return "";
    case "object": {
      var o = n;
      if (o.anim === 1)
        return sf = {
          name: o.name,
          styles: o.styles,
          next: sf
        }, o.name;
      var i = n;
      if (i.styles !== void 0) {
        var u = i.next;
        if (u !== void 0)
          for (; u !== void 0; )
            sf = {
              name: u.name,
              styles: u.styles,
              next: sf
            }, u = u.next;
        var p = i.styles + ";";
        return p;
      }
      return n1e(e10, t, n);
    }
    case "function": {
      if (e10 !== void 0) {
        var v = sf, y = n(e10);
        return sf = v, fb(e10, t, y);
      }
      break;
    }
  }
  var k = n;
  if (t == null)
    return k;
  var T = t[k];
  return T !== void 0 ? T : k;
}
function n1e(e10, t, n) {
  var r = "";
  if (Array.isArray(n))
    for (var o = 0; o < n.length; o++)
      r += fb(e10, t, n[o]) + ";";
  else
    for (var i in n) {
      var u = n[i];
      if (typeof u != "object") {
        var p = u;
        t != null && t[p] !== void 0 ? r += i + "{" + t[p] + "}" : zx(p) && (r += Lm(i) + ":" + Wx(i, p) + ";");
      } else if (Array.isArray(u) && typeof u[0] == "string" && (t == null || t[u[0]] === void 0))
        for (var v = 0; v < u.length; v++)
          zx(u[v]) && (r += Lm(i) + ":" + Wx(i, u[v]) + ";");
      else {
        var y = fb(e10, t, u);
        switch (i) {
          case "animation":
          case "animationName": {
            r += Lm(i) + ":" + y + ";";
            break;
          }
          default:
            r += i + "{" + y + "}";
        }
      }
    }
  return r;
}
var Ux = /label:\s*([^\s;{]+)\s*(;|$)/g, sf;
function Vp(e10, t, n) {
  if (e10.length === 1 && typeof e10[0] == "object" && e10[0] !== null && e10[0].styles !== void 0)
    return e10[0];
  var r = true, o = "";
  sf = void 0;
  var i = e10[0];
  if (i == null || i.raw === void 0)
    r = false, o += fb(n, t, i);
  else {
    var u = i;
    o += u[0];
  }
  for (var p = 1; p < e10.length; p++)
    if (o += fb(n, t, e10[p]), r) {
      var v = i;
      o += v[p];
    }
  Ux.lastIndex = 0;
  for (var y = "", k; (k = Ux.exec(o)) !== null; )
    y += "-" + k[1];
  var T = jbe(o) + y;
  return {
    name: T,
    styles: o,
    next: sf
  };
}
var RE = /* @__PURE__ */ reactExports.createContext(
  // we're doing this to avoid preconstruct's dead code elimination in this one case
  // because this module is primarily intended for the browser and node
  // but it's also required in react native and similar environments sometimes
  // and we could have a special build just for that
  // but this is much easier and the native packages
  // might use a different theme context in the future anyway
  typeof HTMLElement < "u" ? /* @__PURE__ */ SE({
    key: "css"
  }) : null
), o1e = RE.Provider, R2 = function(t) {
  return /* @__PURE__ */ reactExports.forwardRef(function(n, r) {
    var o = reactExports.useContext(RE);
    return t(n, o, r);
  });
}, Sb = /* @__PURE__ */ reactExports.createContext({});
var s1e = /* @__PURE__ */ R2(function(e10, t) {
  var n = e10.styles, r = Vp([n], void 0, typeof n == "function" || Array.isArray(n) ? reactExports.useContext(Sb) : void 0), o = reactExports.useRef();
  return reactExports.useLayoutEffect(function() {
    var i = t.key + "-global", u = new yE({
      key: i,
      nonce: t.sheet.nonce,
      container: t.sheet.container,
      speedy: t.sheet.isSpeedy
    }), p = document.querySelector('style[data-emotion="' + i + " " + r.name + '"]');
    return t.sheet.tags.length && (u.before = t.sheet.tags[0]), p !== null && u.hydrate([p]), o.current = u, function() {
      u.flush();
    };
  }, [t]), reactExports.useLayoutEffect(function() {
    r.next !== void 0 && P2(t, r.next, true);
    var i = o.current;
    if (i.tags.length) {
      var u = i.tags[i.tags.length - 1].nextElementSibling;
      i.before = u, i.flush();
    }
    t.insert("", r, i, false);
  }, [t, r.name]), null;
});
function H1() {
  for (var e10 = arguments.length, t = new Array(e10), n = 0; n < e10; n++)
    t[n] = arguments[n];
  return Vp(t);
}
var i0 = function() {
  var t = H1.apply(void 0, arguments), n = "animation-" + t.name;
  return {
    name: n,
    styles: "@keyframes " + n + "{" + t.styles + "}",
    anim: 1,
    toString: function() {
      return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
    }
  };
};
var u1e = Ey, c1e = function(t) {
  return t !== "theme";
}, Zx = function(t) {
  return typeof t == "string" && // 96 is one less than the char code
  // for "a" so this is checking that
  // it's a lowercase character
  t.charCodeAt(0) > 96 ? u1e : c1e;
}, Kx = function(t, n, r) {
  var o;
  if (n) {
    var i = n.shouldForwardProp;
    o = t.__emotion_forwardProp && i ? function(u) {
      return t.__emotion_forwardProp(u) && i(u);
    } : i;
  }
  return typeof o != "function" && r && (o = t.__emotion_forwardProp), o;
};
var d1e = function e(t, n) {
  var r = t.__emotion_real === t, o = r && t.__emotion_base || t, i, u;
  n !== void 0 && (i = n.label, u = n.target);
  var p = Kx(t, n, r), v = p || Zx(o), y = !v("as");
  return function() {
    var k = arguments, T = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
    if (i !== void 0 && T.push("label:" + i + ";"), k[0] == null || k[0].raw === void 0)
      T.push.apply(T, k);
    else {
      T.push(k[0][0]);
      for (var R = k.length, I = 1; I < R; I++)
        T.push(k[I], k[0][I]);
    }
    var P = R2(function(S, U, B) {
      var X = y && S.as || o, Z = "", te = [], Q = S;
      if (S.theme == null) {
        Q = {};
        for (var q in S)
          Q[q] = S[q];
        Q.theme = reactExports.useContext(Sb);
      }
      typeof S.className == "string" ? Z = AE(U.registered, te, S.className) : S.className != null && (Z = S.className + " ");
      var F = Vp(T.concat(te), U.registered, Q);
      P2(U, F, typeof X == "string"), Z += U.key + "-" + F.name, u !== void 0 && (Z += " " + u);
      var ne = y && p === void 0 ? Zx(X) : v, ae = {};
      for (var pe in S)
        y && pe === "as" || // $FlowFixMe
        ne(pe) && (ae[pe] = S[pe]);
      ae.className = Z, ae.ref = B;
      var Ve = /* @__PURE__ */ reactExports.createElement(X, ae);
      return Ve;
    });
    return P.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", P.defaultProps = t.defaultProps, P.__emotion_real = P, P.__emotion_base = o, P.__emotion_styles = T, P.__emotion_forwardProp = p, Object.defineProperty(P, "toString", {
      value: function() {
        return "." + u;
      }
    }), P.withComponent = function(S, U) {
      return e(S, Me({}, n, {}, U, {
        shouldForwardProp: Kx(P, U, true)
      })).apply(void 0, T);
    }, P;
  };
}, f1e = [
  "a",
  "abbr",
  "address",
  "area",
  "article",
  "aside",
  "audio",
  "b",
  "base",
  "bdi",
  "bdo",
  "big",
  "blockquote",
  "body",
  "br",
  "button",
  "canvas",
  "caption",
  "cite",
  "code",
  "col",
  "colgroup",
  "data",
  "datalist",
  "dd",
  "del",
  "details",
  "dfn",
  "dialog",
  "div",
  "dl",
  "dt",
  "em",
  "embed",
  "fieldset",
  "figcaption",
  "figure",
  "footer",
  "form",
  "h1",
  "h2",
  "h3",
  "h4",
  "h5",
  "h6",
  "head",
  "header",
  "hgroup",
  "hr",
  "html",
  "i",
  "iframe",
  "img",
  "input",
  "ins",
  "kbd",
  "keygen",
  "label",
  "legend",
  "li",
  "link",
  "main",
  "map",
  "mark",
  "marquee",
  "menu",
  "menuitem",
  "meta",
  "meter",
  "nav",
  "noscript",
  "object",
  "ol",
  "optgroup",
  "option",
  "output",
  "p",
  "param",
  "picture",
  "pre",
  "progress",
  "q",
  "rp",
  "rt",
  "ruby",
  "s",
  "samp",
  "script",
  "section",
  "select",
  "small",
  "source",
  "span",
  "strong",
  "style",
  "sub",
  "summary",
  "sup",
  "table",
  "tbody",
  "td",
  "textarea",
  "tfoot",
  "th",
  "thead",
  "time",
  "title",
  "tr",
  "track",
  "u",
  "ul",
  "var",
  "video",
  "wbr",
  // SVG
  "circle",
  "clipPath",
  "defs",
  "ellipse",
  "foreignObject",
  "g",
  "image",
  "line",
  "linearGradient",
  "mask",
  "path",
  "pattern",
  "polygon",
  "polyline",
  "radialGradient",
  "rect",
  "stop",
  "svg",
  "text",
  "tspan"
], Ay = d1e.bind();
f1e.forEach(function(e10) {
  Ay[e10] = Ay(e10);
});
var Qb = { exports: {} };
var zm, Qx;
function I2() {
  if (Qx) return zm;
  Qx = 1;
  var e10 = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
  return zm = e10, zm;
}
var $m, t_;
function g1e() {
  if (t_) return $m;
  t_ = 1;
  var e10 = /* @__PURE__ */ I2();
  function t() {
  }
  function n() {
  }
  return n.resetWarningCache = t, $m = function() {
    function r(u, p, v, y, k, T) {
      if (T !== e10) {
        var R = new Error(
          "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
        );
        throw R.name = "Invariant Violation", R;
      }
    }
    r.isRequired = r;
    function o() {
      return r;
    }
    var i = {
      array: r,
      bigint: r,
      bool: r,
      func: r,
      number: r,
      object: r,
      string: r,
      symbol: r,
      any: r,
      arrayOf: o,
      element: r,
      elementType: r,
      instanceOf: o,
      node: r,
      objectOf: o,
      oneOf: o,
      oneOfType: o,
      shape: o,
      exact: o,
      checkPropTypes: n,
      resetWarningCache: t
    };
    return i.PropTypes = i, i;
  }, $m;
}
var n_;
function m1e() {
  if (n_) return Qb.exports;
  if (n_ = 1, false) ;
  else
    Qb.exports = /* @__PURE__ */ g1e()();
  return Qb.exports;
}
var v1e = /* @__PURE__ */ m1e();
const c = /* @__PURE__ */ jc(v1e);
function y1e(e10, t) {
  const n = SE({
    key: "css",
    prepend: e10
  });
  if (t) {
    const r = n.insert;
    n.insert = (...o) => (o[1].styles.match(/^@layer\s+[^{]*$/) || (o[1].styles = `@layer mui {${o[1].styles}}`), r(...o));
  }
  return n;
}
const Vm = /* @__PURE__ */ new Map();
function ME(e10) {
  const {
    injectFirst: t,
    enableCssLayer: n,
    children: r
  } = e10, o = reactExports.useMemo(() => {
    const i = `${t}-${n}`;
    if (typeof document == "object" && Vm.has(i))
      return Vm.get(i);
    const u = y1e(t, n);
    return Vm.set(i, u), u;
  }, [t, n]);
  return t || n ? /* @__PURE__ */ jsxRuntimeExports.jsx(o1e, {
    value: o,
    children: r
  }) : r;
}
function x1e(e10) {
  return e10 == null || Object.keys(e10).length === 0;
}
function M2(e10) {
  const {
    styles: t,
    defaultTheme: n = {}
  } = e10;
  return /* @__PURE__ */ jsxRuntimeExports.jsx(s1e, {
    styles: typeof t == "function" ? (o) => t(x1e(o) ? n : o) : t
  });
}
function OE(e10, t) {
  const n = Ay(e10, t);
  return n;
}
const _1e = (e10, t) => {
  Array.isArray(e10.__emotion_styles) && (e10.__emotion_styles = t(e10.__emotion_styles));
}, r_ = [];
function w1e(e10) {
  return r_[0] = e10, Vp(r_);
}
const T1e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, GlobalStyles: M2, StyledEngineProvider: ME, ThemeContext: Sb, css: H1, default: OE, internal_processStyles: _1e, internal_serializeStyles: w1e, keyframes: i0 }, Symbol.toStringTag, { value: "Module" }));
function Pn(e10, t) {
  if (e10 == null) return {};
  var n = {};
  for (var r in e10) if ({}.hasOwnProperty.call(e10, r)) {
    if (t.indexOf(r) !== -1) continue;
    n[r] = e10[r];
  }
  return n;
}
function lh(e10) {
  if (typeof e10 != "object" || e10 === null)
    return false;
  const t = Object.getPrototypeOf(e10);
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e10) && !(Symbol.iterator in e10);
}
function DE(e10) {
  if (/* @__PURE__ */ reactExports.isValidElement(e10) || !lh(e10))
    return e10;
  const t = {};
  return Object.keys(e10).forEach((n) => {
    t[n] = DE(e10[n]);
  }), t;
}
function vc(e10, t, n = {
  clone: true
}) {
  const r = n.clone ? Me({}, e10) : e10;
  return lh(e10) && lh(t) && Object.keys(t).forEach((o) => {
    /* @__PURE__ */ reactExports.isValidElement(t[o]) ? r[o] = t[o] : lh(t[o]) && // Avoid prototype pollution
    Object.prototype.hasOwnProperty.call(e10, o) && lh(e10[o]) ? r[o] = vc(e10[o], t[o], n) : n.clone ? r[o] = lh(t[o]) ? DE(t[o]) : t[o] : r[o] = t[o];
  }), r;
}
const k1e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: vc, isPlainObject: lh }, Symbol.toStringTag, { value: "Module" })), E1e = ["values", "unit", "step"], C1e = (e10) => {
  const t = Object.keys(e10).map((n) => ({
    key: n,
    val: e10[n]
  })) || [];
  return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => Me({}, n, {
    [r.key]: r.val
  }), {});
};
function FE(e10) {
  const {
    // The breakpoint **start** at this value.
    // For instance with the first breakpoint xs: [xs, sm).
    values: t = {
      xs: 0,
      // phone
      sm: 600,
      // tablet
      md: 900,
      // small laptop
      lg: 1200,
      // desktop
      xl: 1536
      // large screen
    },
    unit: n = "px",
    step: r = 5
  } = e10, o = Pn(e10, E1e), i = C1e(t), u = Object.keys(i);
  function p(R) {
    return `@media (min-width:${typeof t[R] == "number" ? t[R] : R}${n})`;
  }
  function v(R) {
    return `@media (max-width:${(typeof t[R] == "number" ? t[R] : R) - r / 100}${n})`;
  }
  function y(R, I) {
    const P = u.indexOf(I);
    return `@media (min-width:${typeof t[R] == "number" ? t[R] : R}${n}) and (max-width:${(P !== -1 && typeof t[u[P]] == "number" ? t[u[P]] : I) - r / 100}${n})`;
  }
  function k(R) {
    return u.indexOf(R) + 1 < u.length ? y(R, u[u.indexOf(R) + 1]) : p(R);
  }
  function T(R) {
    const I = u.indexOf(R);
    return I === 0 ? p(u[1]) : I === u.length - 1 ? v(u[I]) : y(R, u[u.indexOf(R) + 1]).replace("@media", "@media not all and");
  }
  return Me({
    keys: u,
    values: i,
    up: p,
    down: v,
    between: y,
    only: k,
    not: T,
    unit: n
  }, o);
}
const S1e = {
  borderRadius: 4
};
function X0(e10, t) {
  return t ? vc(e10, t, {
    clone: false
    // No need to clone deep, it's way faster.
  }) : e10;
}
const O2 = {
  xs: 0,
  // phone
  sm: 600,
  // tablet
  md: 900,
  // small laptop
  lg: 1200,
  // desktop
  xl: 1536
  // large screen
}, o_ = {
  // Sorted ASC by size. That's important.
  // It can't be configured as it's used statically for propTypes.
  keys: ["xs", "sm", "md", "lg", "xl"],
  up: (e10) => `@media (min-width:${O2[e10]}px)`
};
function $f(e10, t, n) {
  const r = e10.theme || {};
  if (Array.isArray(t)) {
    const i = r.breakpoints || o_;
    return t.reduce((u, p, v) => (u[i.up(i.keys[v])] = n(t[v]), u), {});
  }
  if (typeof t == "object") {
    const i = r.breakpoints || o_;
    return Object.keys(t).reduce((u, p) => {
      if (Object.keys(i.values || O2).indexOf(p) !== -1) {
        const v = i.up(p);
        u[v] = n(t[p], p);
      } else {
        const v = p;
        u[v] = t[v];
      }
      return u;
    }, {});
  }
  return n(t);
}
function A1e(e10 = {}) {
  var t;
  return ((t = e10.keys) == null ? void 0 : t.reduce((r, o) => {
    const i = e10.up(o);
    return r[i] = {}, r;
  }, {})) || {};
}
function P1e(e10, t) {
  return e10.reduce((n, r) => {
    const o = n[r];
    return (!o || Object.keys(o).length === 0) && delete n[r], n;
  }, t);
}
function An(e10) {
  if (typeof e10 != "string")
    throw new Error(Hf(7));
  return e10.charAt(0).toUpperCase() + e10.slice(1);
}
const R1e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: An }, Symbol.toStringTag, { value: "Module" }));
function Sg(e10, t, n = true) {
  if (!t || typeof t != "string")
    return null;
  if (e10 && e10.vars && n) {
    const r = `vars.${t}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e10);
    if (r != null)
      return r;
  }
  return t.split(".").reduce((r, o) => r && r[o] != null ? r[o] : null, e10);
}
function $1(e10, t, n, r = n) {
  let o;
  return typeof e10 == "function" ? o = e10(n) : Array.isArray(e10) ? o = e10[n] || r : o = Sg(e10, n) || r, t && (o = t(o, r, e10)), o;
}
function Ga(e10) {
  const {
    prop: t,
    cssProperty: n = e10.prop,
    themeKey: r,
    transform: o
  } = e10, i = (u) => {
    if (u[t] == null)
      return null;
    const p = u[t], v = u.theme, y = Sg(v, r) || {};
    return $f(u, p, (T) => {
      let R = $1(y, o, T);
      return T === R && typeof T == "string" && (R = $1(y, o, `${t}${T === "default" ? "" : An(T)}`, T)), n === false ? R : {
        [n]: R
      };
    });
  };
  return i.propTypes = {}, i.filterProps = [t], i;
}
function I1e(e10) {
  const t = {};
  return (n) => (t[n] === void 0 && (t[n] = e10(n)), t[n]);
}
const M1e = {
  m: "margin",
  p: "padding"
}, O1e = {
  t: "Top",
  r: "Right",
  b: "Bottom",
  l: "Left",
  x: ["Left", "Right"],
  y: ["Top", "Bottom"]
}, i_ = {
  marginX: "mx",
  marginY: "my",
  paddingX: "px",
  paddingY: "py"
}, D1e = I1e((e10) => {
  if (e10.length > 2)
    if (i_[e10])
      e10 = i_[e10];
    else
      return [e10];
  const [t, n] = e10.split(""), r = M1e[t], o = O1e[n] || "";
  return Array.isArray(o) ? o.map((i) => r + i) : [r + o];
}), Ag = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Pg = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
[...Ag, ...Pg];
function Ab(e10, t, n, r) {
  var o;
  const i = (o = Sg(e10, t, false)) != null ? o : n;
  return typeof i == "number" ? (u) => typeof u == "string" ? u : i * u : Array.isArray(i) ? (u) => typeof u == "string" ? u : i[u] : typeof i == "function" ? i : (() => {
  });
}
function NE(e10) {
  return Ab(e10, "spacing", 8);
}
function Pb(e10, t) {
  if (typeof t == "string" || t == null)
    return t;
  const n = Math.abs(t), r = e10(n);
  return t >= 0 ? r : typeof r == "number" ? -r : `-${r}`;
}
function N1e(e10, t) {
  return (n) => e10.reduce((r, o) => (r[o] = Pb(t, n), r), {});
}
function L1e(e10, t, n, r) {
  if (t.indexOf(n) === -1)
    return null;
  const o = D1e(n), i = N1e(o, r), u = e10[n];
  return $f(e10, u, i);
}
function LE(e10, t) {
  const n = NE(e10.theme);
  return Object.keys(e10).map((r) => L1e(e10, t, r, n)).reduce(X0, {});
}
function Ra(e10) {
  return LE(e10, Ag);
}
Ra.propTypes = {};
Ra.filterProps = Ag;
function Ia(e10) {
  return LE(e10, Pg);
}
Ia.propTypes = {};
Ia.filterProps = Pg;
function B1e(e10 = 8) {
  if (e10.mui)
    return e10;
  const t = NE({
    spacing: e10
  }), n = (...r) => (r.length === 0 ? [1] : r).map((i) => {
    const u = t(i);
    return typeof u == "number" ? `${u}px` : u;
  }).join(" ");
  return n.mui = true, n;
}
function Rg(...e10) {
  const t = e10.reduce((r, o) => (o.filterProps.forEach((i) => {
    r[i] = o;
  }), r), {}), n = (r) => Object.keys(r).reduce((o, i) => t[i] ? X0(o, t[i](r)) : o, {});
  return n.propTypes = {}, n.filterProps = e10.reduce((r, o) => r.concat(o.filterProps), []), n;
}
function Yc(e10) {
  return typeof e10 != "number" ? e10 : `${e10}px solid`;
}
function qc(e10, t) {
  return Ga({
    prop: e10,
    themeKey: "borders",
    transform: t
  });
}
const z1e = qc("border", Yc), W1e = qc("borderTop", Yc), U1e = qc("borderRight", Yc), H1e = qc("borderBottom", Yc), $1e = qc("borderLeft", Yc), V1e = qc("borderColor"), G1e = qc("borderTopColor"), Y1e = qc("borderRightColor"), X1e = qc("borderBottomColor"), Z1e = qc("borderLeftColor"), K1e = qc("outline", Yc), J1e = qc("outlineColor"), Ig = (e10) => {
  if (e10.borderRadius !== void 0 && e10.borderRadius !== null) {
    const t = Ab(e10.theme, "shape.borderRadius", 4), n = (r) => ({
      borderRadius: Pb(t, r)
    });
    return $f(e10, e10.borderRadius, n);
  }
  return null;
};
Ig.propTypes = {};
Ig.filterProps = ["borderRadius"];
Rg(z1e, W1e, U1e, H1e, $1e, V1e, G1e, Y1e, X1e, Z1e, Ig, K1e, J1e);
const Mg = (e10) => {
  if (e10.gap !== void 0 && e10.gap !== null) {
    const t = Ab(e10.theme, "spacing", 8), n = (r) => ({
      gap: Pb(t, r)
    });
    return $f(e10, e10.gap, n);
  }
  return null;
};
Mg.propTypes = {};
Mg.filterProps = ["gap"];
const Og = (e10) => {
  if (e10.columnGap !== void 0 && e10.columnGap !== null) {
    const t = Ab(e10.theme, "spacing", 8), n = (r) => ({
      columnGap: Pb(t, r)
    });
    return $f(e10, e10.columnGap, n);
  }
  return null;
};
Og.propTypes = {};
Og.filterProps = ["columnGap"];
const Dg = (e10) => {
  if (e10.rowGap !== void 0 && e10.rowGap !== null) {
    const t = Ab(e10.theme, "spacing", 8), n = (r) => ({
      rowGap: Pb(t, r)
    });
    return $f(e10, e10.rowGap, n);
  }
  return null;
};
Dg.propTypes = {};
Dg.filterProps = ["rowGap"];
const Q1e = Ga({
  prop: "gridColumn"
}), j1e = Ga({
  prop: "gridRow"
}), q1e = Ga({
  prop: "gridAutoFlow"
}), ege = Ga({
  prop: "gridAutoColumns"
}), tge = Ga({
  prop: "gridAutoRows"
}), nge = Ga({
  prop: "gridTemplateColumns"
}), rge = Ga({
  prop: "gridTemplateRows"
}), oge = Ga({
  prop: "gridTemplateAreas"
}), ige = Ga({
  prop: "gridArea"
});
Rg(Mg, Og, Dg, Q1e, j1e, q1e, ege, tge, nge, rge, oge, ige);
function Lp(e10, t) {
  return t === "grey" ? t : e10;
}
const age = Ga({
  prop: "color",
  themeKey: "palette",
  transform: Lp
}), sge = Ga({
  prop: "bgcolor",
  cssProperty: "backgroundColor",
  themeKey: "palette",
  transform: Lp
}), lge = Ga({
  prop: "backgroundColor",
  themeKey: "palette",
  transform: Lp
});
Rg(age, sge, lge);
function gc(e10) {
  return e10 <= 1 && e10 !== 0 ? `${e10 * 100}%` : e10;
}
const uge = Ga({
  prop: "width",
  transform: gc
}), D2 = (e10) => {
  if (e10.maxWidth !== void 0 && e10.maxWidth !== null) {
    const t = (n) => {
      var r, o;
      const i = ((r = e10.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || O2[n];
      return i ? ((o = e10.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
        maxWidth: `${i}${e10.theme.breakpoints.unit}`
      } : {
        maxWidth: i
      } : {
        maxWidth: gc(n)
      };
    };
    return $f(e10, e10.maxWidth, t);
  }
  return null;
};
D2.filterProps = ["maxWidth"];
const cge = Ga({
  prop: "minWidth",
  transform: gc
}), dge = Ga({
  prop: "height",
  transform: gc
}), fge = Ga({
  prop: "maxHeight",
  transform: gc
}), hge = Ga({
  prop: "minHeight",
  transform: gc
});
Ga({
  prop: "size",
  cssProperty: "width",
  transform: gc
});
Ga({
  prop: "size",
  cssProperty: "height",
  transform: gc
});
const pge = Ga({
  prop: "boxSizing"
});
Rg(uge, D2, cge, dge, fge, hge, pge);
const Rb = {
  // borders
  border: {
    themeKey: "borders",
    transform: Yc
  },
  borderTop: {
    themeKey: "borders",
    transform: Yc
  },
  borderRight: {
    themeKey: "borders",
    transform: Yc
  },
  borderBottom: {
    themeKey: "borders",
    transform: Yc
  },
  borderLeft: {
    themeKey: "borders",
    transform: Yc
  },
  borderColor: {
    themeKey: "palette"
  },
  borderTopColor: {
    themeKey: "palette"
  },
  borderRightColor: {
    themeKey: "palette"
  },
  borderBottomColor: {
    themeKey: "palette"
  },
  borderLeftColor: {
    themeKey: "palette"
  },
  outline: {
    themeKey: "borders",
    transform: Yc
  },
  outlineColor: {
    themeKey: "palette"
  },
  borderRadius: {
    themeKey: "shape.borderRadius",
    style: Ig
  },
  // palette
  color: {
    themeKey: "palette",
    transform: Lp
  },
  bgcolor: {
    themeKey: "palette",
    cssProperty: "backgroundColor",
    transform: Lp
  },
  backgroundColor: {
    themeKey: "palette",
    transform: Lp
  },
  // spacing
  p: {
    style: Ia
  },
  pt: {
    style: Ia
  },
  pr: {
    style: Ia
  },
  pb: {
    style: Ia
  },
  pl: {
    style: Ia
  },
  px: {
    style: Ia
  },
  py: {
    style: Ia
  },
  padding: {
    style: Ia
  },
  paddingTop: {
    style: Ia
  },
  paddingRight: {
    style: Ia
  },
  paddingBottom: {
    style: Ia
  },
  paddingLeft: {
    style: Ia
  },
  paddingX: {
    style: Ia
  },
  paddingY: {
    style: Ia
  },
  paddingInline: {
    style: Ia
  },
  paddingInlineStart: {
    style: Ia
  },
  paddingInlineEnd: {
    style: Ia
  },
  paddingBlock: {
    style: Ia
  },
  paddingBlockStart: {
    style: Ia
  },
  paddingBlockEnd: {
    style: Ia
  },
  m: {
    style: Ra
  },
  mt: {
    style: Ra
  },
  mr: {
    style: Ra
  },
  mb: {
    style: Ra
  },
  ml: {
    style: Ra
  },
  mx: {
    style: Ra
  },
  my: {
    style: Ra
  },
  margin: {
    style: Ra
  },
  marginTop: {
    style: Ra
  },
  marginRight: {
    style: Ra
  },
  marginBottom: {
    style: Ra
  },
  marginLeft: {
    style: Ra
  },
  marginX: {
    style: Ra
  },
  marginY: {
    style: Ra
  },
  marginInline: {
    style: Ra
  },
  marginInlineStart: {
    style: Ra
  },
  marginInlineEnd: {
    style: Ra
  },
  marginBlock: {
    style: Ra
  },
  marginBlockStart: {
    style: Ra
  },
  marginBlockEnd: {
    style: Ra
  },
  // display
  displayPrint: {
    cssProperty: false,
    transform: (e10) => ({
      "@media print": {
        display: e10
      }
    })
  },
  display: {},
  overflow: {},
  textOverflow: {},
  visibility: {},
  whiteSpace: {},
  // flexbox
  flexBasis: {},
  flexDirection: {},
  flexWrap: {},
  justifyContent: {},
  alignItems: {},
  alignContent: {},
  order: {},
  flex: {},
  flexGrow: {},
  flexShrink: {},
  alignSelf: {},
  justifyItems: {},
  justifySelf: {},
  // grid
  gap: {
    style: Mg
  },
  rowGap: {
    style: Dg
  },
  columnGap: {
    style: Og
  },
  gridColumn: {},
  gridRow: {},
  gridAutoFlow: {},
  gridAutoColumns: {},
  gridAutoRows: {},
  gridTemplateColumns: {},
  gridTemplateRows: {},
  gridTemplateAreas: {},
  gridArea: {},
  // positions
  position: {},
  zIndex: {
    themeKey: "zIndex"
  },
  top: {},
  right: {},
  bottom: {},
  left: {},
  // shadows
  boxShadow: {
    themeKey: "shadows"
  },
  // sizing
  width: {
    transform: gc
  },
  maxWidth: {
    style: D2
  },
  minWidth: {
    transform: gc
  },
  height: {
    transform: gc
  },
  maxHeight: {
    transform: gc
  },
  minHeight: {
    transform: gc
  },
  boxSizing: {},
  // typography
  fontFamily: {
    themeKey: "typography"
  },
  fontSize: {
    themeKey: "typography"
  },
  fontStyle: {
    themeKey: "typography"
  },
  fontWeight: {
    themeKey: "typography"
  },
  letterSpacing: {},
  textTransform: {},
  lineHeight: {},
  textAlign: {},
  typography: {
    cssProperty: false,
    themeKey: "typography"
  }
};
function bge(...e10) {
  const t = e10.reduce((r, o) => r.concat(Object.keys(o)), []), n = new Set(t);
  return e10.every((r) => n.size === Object.keys(r).length);
}
function gge(e10, t) {
  return typeof e10 == "function" ? e10(t) : e10;
}
function BE() {
  function e10(n, r, o, i) {
    const u = {
      [n]: r,
      theme: o
    }, p = i[n];
    if (!p)
      return {
        [n]: r
      };
    const {
      cssProperty: v = n,
      themeKey: y,
      transform: k,
      style: T
    } = p;
    if (r == null)
      return null;
    if (y === "typography" && r === "inherit")
      return {
        [n]: r
      };
    const R = Sg(o, y) || {};
    return T ? T(u) : $f(u, r, (P) => {
      let S = $1(R, k, P);
      return P === S && typeof P == "string" && (S = $1(R, k, `${n}${P === "default" ? "" : An(P)}`, P)), v === false ? S : {
        [v]: S
      };
    });
  }
  function t(n) {
    var r;
    const {
      sx: o,
      theme: i = {}
    } = n || {};
    if (!o)
      return null;
    const u = (r = i.unstable_sxConfig) != null ? r : Rb;
    function p(v) {
      let y = v;
      if (typeof v == "function")
        y = v(i);
      else if (typeof v != "object")
        return v;
      if (!y)
        return null;
      const k = A1e(i.breakpoints), T = Object.keys(k);
      let R = k;
      return Object.keys(y).forEach((I) => {
        const P = gge(y[I], i);
        if (P != null)
          if (typeof P == "object")
            if (u[I])
              R = X0(R, e10(I, P, i, u));
            else {
              const S = $f({
                theme: i
              }, P, (U) => ({
                [I]: U
              }));
              bge(S, P) ? R[I] = t({
                sx: P,
                theme: i
              }) : R = X0(R, S);
            }
          else
            R = X0(R, e10(I, P, i, u));
      }), P1e(T, R);
    }
    return Array.isArray(o) ? o.map(p) : p(o);
  }
  return t;
}
const Ib = BE();
Ib.filterProps = ["sx"];
function zE(e10, t) {
  const n = this;
  return n.vars && typeof n.getColorSchemeSelector == "function" ? {
    [n.getColorSchemeSelector(e10).replace(/(\[[^\]]+\])/, "*:where($1)")]: t
  } : n.palette.mode === e10 ? t : {};
}
const mge = ["breakpoints", "palette", "spacing", "shape"];
function F2(e10 = {}, ...t) {
  const {
    breakpoints: n = {},
    palette: r = {},
    spacing: o,
    shape: i = {}
  } = e10, u = Pn(e10, mge), p = FE(n), v = B1e(o);
  let y = vc({
    breakpoints: p,
    direction: "ltr",
    components: {},
    // Inject component definitions.
    palette: Me({
      mode: "light"
    }, r),
    spacing: v,
    shape: Me({}, S1e, i)
  }, u);
  return y.applyStyles = zE, y = t.reduce((k, T) => vc(k, T), y), y.unstable_sxConfig = Me({}, Rb, u == null ? void 0 : u.unstable_sxConfig), y.unstable_sx = function(T) {
    return Ib({
      sx: T,
      theme: this
    });
  }, y;
}
const vge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: F2, private_createBreakpoints: FE, unstable_applyStyles: zE }, Symbol.toStringTag, { value: "Module" }));
function yge(e10) {
  return Object.keys(e10).length === 0;
}
function xge(e10 = null) {
  const t = reactExports.useContext(Sb);
  return !t || yge(t) ? e10 : t;
}
const _ge = F2();
function N2(e10 = _ge) {
  return xge(e10);
}
function WE({
  styles: e10,
  themeId: t,
  defaultTheme: n = {}
}) {
  const r = N2(n), o = typeof e10 == "function" ? e10(t && r[t] || r) : e10;
  return /* @__PURE__ */ jsxRuntimeExports.jsx(M2, {
    styles: o
  });
}
const wge = ["sx"], Tge = (e10) => {
  var t, n;
  const r = {
    systemProps: {},
    otherProps: {}
  }, o = (t = e10 == null || (n = e10.theme) == null ? void 0 : n.unstable_sxConfig) != null ? t : Rb;
  return Object.keys(e10).forEach((i) => {
    o[i] ? r.systemProps[i] = e10[i] : r.otherProps[i] = e10[i];
  }), r;
};
function L2(e10) {
  const {
    sx: t
  } = e10, n = Pn(e10, wge), {
    systemProps: r,
    otherProps: o
  } = Tge(n);
  let i;
  return Array.isArray(t) ? i = [r, ...t] : typeof t == "function" ? i = (...u) => {
    const p = t(...u);
    return lh(p) ? Me({}, r, p) : r;
  } : i = Me({}, r, t), Me({}, o, {
    sx: i
  });
}
const kge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Ib, extendSxProp: L2, unstable_createStyleFunctionSx: BE, unstable_defaultSxConfig: Rb }, Symbol.toStringTag, { value: "Module" })), a_ = (e10) => e10, Ege = () => {
  let e10 = a_;
  return {
    configure(t) {
      e10 = t;
    },
    generate(t) {
      return e10(t);
    },
    reset() {
      e10 = a_;
    }
  };
}, UE = Ege();
function HE(e10) {
  var t, n, r = "";
  if (typeof e10 == "string" || typeof e10 == "number") r += e10;
  else if (typeof e10 == "object") if (Array.isArray(e10)) {
    var o = e10.length;
    for (t = 0; t < o; t++) e10[t] && (n = HE(e10[t])) && (r && (r += " "), r += n);
  } else for (n in e10) e10[n] && (r && (r += " "), r += n);
  return r;
}
function Cge() {
  for (var e10, t, n = 0, r = "", o = arguments.length; n < o; n++) (e10 = arguments[n]) && (t = HE(e10)) && (r && (r += " "), r += t);
  return r;
}
const Sge = ["className", "component"];
function Age(e10 = {}) {
  const {
    themeId: t,
    defaultTheme: n,
    defaultClassName: r = "MuiBox-root",
    generateClassName: o
  } = e10, i = OE("div", {
    shouldForwardProp: (p) => p !== "theme" && p !== "sx" && p !== "as"
  })(Ib);
  return /* @__PURE__ */ reactExports.forwardRef(function(v, y) {
    const k = N2(n), T = L2(v), {
      className: R,
      component: I = "div"
    } = T, P = Pn(T, Sge);
    return /* @__PURE__ */ jsxRuntimeExports.jsx(i, Me({
      as: I,
      ref: y,
      className: Cge(R, o ? o(r) : r),
      theme: t && k[t] || k
    }, P));
  });
}
const Pge = {
  active: "active",
  checked: "checked",
  completed: "completed",
  disabled: "disabled",
  error: "error",
  expanded: "expanded",
  focused: "focused",
  focusVisible: "focusVisible",
  open: "open",
  readOnly: "readOnly",
  required: "required",
  selected: "selected"
};
function Qr(e10, t, n = "Mui") {
  const r = Pge[t];
  return r ? `${n}-${r}` : `${UE.generate(e10)}-${t}`;
}
function Dr(e10, t, n = "Mui") {
  const r = {};
  return t.forEach((o) => {
    r[o] = Qr(e10, o, n);
  }), r;
}
const Rge = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
function $E(e10) {
  const t = `${e10}`.match(Rge);
  return t && t[1] || "";
}
function VE(e10, t = "") {
  return e10.displayName || e10.name || $E(e10) || t;
}
function s_(e10, t, n) {
  const r = VE(t);
  return e10.displayName || (r !== "" ? `${n}(${r})` : n);
}
function Ige(e10) {
  if (e10 != null) {
    if (typeof e10 == "string")
      return e10;
    if (typeof e10 == "function")
      return VE(e10, "Component");
    if (typeof e10 == "object")
      switch (e10.$$typeof) {
        case reactIsExports.ForwardRef:
          return s_(e10, e10.render, "ForwardRef");
        case reactIsExports.Memo:
          return s_(e10, e10.type, "memo");
        default:
          return;
      }
  }
}
const Mge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Ige, getFunctionName: $E }, Symbol.toStringTag, { value: "Module" }));
function Py(e10, t) {
  const n = Me({}, t);
  return Object.keys(e10).forEach((r) => {
    if (r.toString().match(/^(components|slots)$/))
      n[r] = Me({}, e10[r], n[r]);
    else if (r.toString().match(/^(componentsProps|slotProps)$/)) {
      const o = e10[r] || {}, i = t[r];
      n[r] = {}, !i || !Object.keys(i) ? n[r] = o : !o || !Object.keys(o) ? n[r] = i : (n[r] = Me({}, i), Object.keys(o).forEach((u) => {
        n[r][u] = Py(o[u], i[u]);
      }));
    } else n[r] === void 0 && (n[r] = e10[r]);
  }), n;
}
const Nd = typeof window < "u" ? reactExports.useLayoutEffect : reactExports.useEffect;
function GE(e10, t = Number.MIN_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER) {
  return Math.max(t, Math.min(e10, n));
}
const Oge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: GE }, Symbol.toStringTag, { value: "Module" }));
function Dge(e10, t = 0, n = 1) {
  return GE(e10, t, n);
}
function YE(e10) {
  e10 = e10.slice(1);
  const t = new RegExp(`.{1,${e10.length >= 6 ? 2 : 1}}`, "g");
  let n = e10.match(t);
  return n && n[0].length === 1 && (n = n.map((r) => r + r)), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((r, o) => o < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
}
function XE(e10) {
  if (e10.type)
    return e10;
  if (e10.charAt(0) === "#")
    return XE(YE(e10));
  const t = e10.indexOf("("), n = e10.substring(0, t);
  if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(n) === -1)
    throw new Error(Hf(9, e10));
  let r = e10.substring(t + 1, e10.length - 1), o;
  if (n === "color") {
    if (r = r.split(" "), o = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
      throw new Error(Hf(10, o));
  } else
    r = r.split(",");
  return r = r.map((i) => parseFloat(i)), {
    type: n,
    values: r,
    colorSpace: o
  };
}
function Fge(e10) {
  const {
    type: t,
    colorSpace: n
  } = e10;
  let {
    values: r
  } = e10;
  return t.indexOf("rgb") !== -1 ? r = r.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.indexOf("hsl") !== -1 && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.indexOf("color") !== -1 ? r = `${n} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`;
}
function Nge(e10, t) {
  return e10 = XE(e10), t = Dge(t), (e10.type === "rgb" || e10.type === "hsl") && (e10.type += "a"), e10.type === "color" ? e10.values[3] = `/${t}` : e10.values[3] = t, Fge(e10);
}
function hf(e10, t) {
  return () => null;
}
const a0 = hf(c.element);
a0.isRequired = hf(c.element.isRequired);
hf(c.elementType);
c.oneOfType([c.func, c.object]);
function l_(...e10) {
  return e10.reduce((t, n) => n == null ? t : function(...o) {
    t.apply(this, o), n.apply(this, o);
  }, () => {
  });
}
function Ng(e10, t = 166) {
  let n;
  function r(...o) {
    const i = () => {
      e10.apply(this, o);
    };
    clearTimeout(n), n = setTimeout(i, t);
  }
  return r.clear = () => {
    clearTimeout(n);
  }, r;
}
function Gm(e10, t) {
  var n, r;
  return /* @__PURE__ */ reactExports.isValidElement(e10) && t.indexOf(
    // For server components `muiName` is avaialble in element.type._payload.value.muiName
    // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
    // eslint-disable-next-line no-underscore-dangle
    (n = e10.type.muiName) != null ? n : (r = e10.type) == null || (r = r._payload) == null || (r = r.value) == null ? void 0 : r.muiName
  ) !== -1;
}
function zl(e10) {
  return e10 && e10.ownerDocument || document;
}
function Gf(e10) {
  return zl(e10).defaultView || window;
}
function V1(e10, t) {
  typeof e10 == "function" ? e10(t) : e10 && (e10.current = t);
}
let u_ = 0;
function Uge(e10) {
  const [t, n] = reactExports.useState(e10), r = e10 || t;
  return reactExports.useEffect(() => {
    t == null && (u_ += 1, n(`mui-${u_}`));
  }, [t]), r;
}
const c_ = reactExports.useId;
function Lg(e10) {
  if (c_ !== void 0) {
    const t = c_();
    return e10 ?? t;
  }
  return Uge(e10);
}
function Qh({
  controlled: e10,
  default: t,
  name: n,
  state: r = "value"
}) {
  const {
    current: o
  } = reactExports.useRef(e10 !== void 0), [i, u] = reactExports.useState(t), p = o ? e10 : i;
  const v = reactExports.useCallback((y) => {
    o || u(y);
  }, []);
  return [p, v];
}
function au(e10) {
  const t = reactExports.useRef(e10);
  return Nd(() => {
    t.current = e10;
  }), reactExports.useRef((...n) => (
    // @ts-expect-error hide `this`
    (0, t.current)(...n)
  )).current;
}
function Ma(...e10) {
  return reactExports.useMemo(() => e10.every((t) => t == null) ? null : (t) => {
    e10.forEach((n) => {
      V1(n, t);
    });
  }, e10);
}
const d_ = {};
function Hge(e10, t) {
  const n = reactExports.useRef(d_);
  return n.current === d_ && (n.current = e10(t)), n;
}
const $ge = [];
function Vge(e10) {
  reactExports.useEffect(e10, $ge);
}
class Mb {
  constructor() {
    this.currentId = null, this.clear = () => {
      this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
    }, this.disposeEffect = () => this.clear;
  }
  static create() {
    return new Mb();
  }
  /**
   * Executes `fn` after `delay`, clearing any previously scheduled call.
   */
  start(t, n) {
    this.clear(), this.currentId = setTimeout(() => {
      this.currentId = null, n();
    }, t);
  }
}
function Zh() {
  const e10 = Hge(Mb.create).current;
  return Vge(e10.disposeEffect), e10;
}
let Bg = true, Ry = false;
const Gge = new Mb(), Yge = {
  text: true,
  search: true,
  url: true,
  tel: true,
  email: true,
  password: true,
  number: true,
  date: true,
  month: true,
  week: true,
  time: true,
  datetime: true,
  "datetime-local": true
};
function Xge(e10) {
  const {
    type: t,
    tagName: n
  } = e10;
  return !!(n === "INPUT" && Yge[t] && !e10.readOnly || n === "TEXTAREA" && !e10.readOnly || e10.isContentEditable);
}
function Zge(e10) {
  e10.metaKey || e10.altKey || e10.ctrlKey || (Bg = true);
}
function Ym() {
  Bg = false;
}
function Kge() {
  this.visibilityState === "hidden" && Ry && (Bg = true);
}
function Jge(e10) {
  e10.addEventListener("keydown", Zge, true), e10.addEventListener("mousedown", Ym, true), e10.addEventListener("pointerdown", Ym, true), e10.addEventListener("touchstart", Ym, true), e10.addEventListener("visibilitychange", Kge, true);
}
function Qge(e10) {
  const {
    target: t
  } = e10;
  try {
    return t.matches(":focus-visible");
  } catch {
  }
  return Bg || Xge(t);
}
function QE() {
  const e10 = reactExports.useCallback((o) => {
    o != null && Jge(o.ownerDocument);
  }, []), t = reactExports.useRef(false);
  function n() {
    return t.current ? (Ry = true, Gge.start(100, () => {
      Ry = false;
    }), t.current = false, true) : false;
  }
  function r(o) {
    return Qge(o) ? (t.current = true, true) : false;
  }
  return {
    isFocusVisibleRef: t,
    onFocus: r,
    onBlur: n,
    ref: e10
  };
}
function jE(e10) {
  const t = e10.documentElement.clientWidth;
  return Math.abs(window.innerWidth - t);
}
let gp;
function qE() {
  if (gp)
    return gp;
  const e10 = document.createElement("div"), t = document.createElement("div");
  return t.style.width = "10px", t.style.height = "1px", e10.appendChild(t), e10.dir = "rtl", e10.style.fontSize = "14px", e10.style.width = "4px", e10.style.height = "1px", e10.style.position = "absolute", e10.style.top = "-1000px", e10.style.overflow = "scroll", document.body.appendChild(e10), gp = "reverse", e10.scrollLeft > 0 ? gp = "default" : (e10.scrollLeft = 1, e10.scrollLeft === 0 && (gp = "negative")), document.body.removeChild(e10), gp;
}
function jge(e10, t) {
  const n = e10.scrollLeft;
  if (t !== "rtl")
    return n;
  switch (qE()) {
    case "negative":
      return e10.scrollWidth - e10.clientWidth + n;
    case "reverse":
      return e10.scrollWidth - e10.clientWidth - n;
    default:
      return n;
  }
}
const qge = (e10) => {
  const t = reactExports.useRef({});
  return reactExports.useEffect(() => {
    t.current = e10;
  }), t.current;
};
function Iy() {
  return null;
}
Iy.isRequired = Iy;
function ao(e10, t, n = void 0) {
  const r = {};
  return Object.keys(e10).forEach(
    // `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
    // @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
    (o) => {
      r[o] = e10[o].reduce((i, u) => {
        if (u) {
          const p = t(u);
          p !== "" && i.push(p), n && n[u] && i.push(n[u]);
        }
        return i;
      }, []).join(" ");
    }
  ), r;
}
function G1(e10) {
  return typeof e10 == "string";
}
function Pp(e10, t, n) {
  return e10 === void 0 || G1(e10) ? t : Me({}, t, {
    ownerState: Me({}, t.ownerState, n)
  });
}
function n4(e10) {
  var t, n, r = "";
  if (typeof e10 == "string" || typeof e10 == "number") r += e10;
  else if (typeof e10 == "object") if (Array.isArray(e10)) {
    var o = e10.length;
    for (t = 0; t < o; t++) e10[t] && (n = n4(e10[t])) && (r && (r += " "), r += n);
  } else for (n in e10) e10[n] && (r && (r += " "), r += n);
  return r;
}
function f_() {
  for (var e10, t, n = 0, r = "", o = arguments.length; n < o; n++) (e10 = arguments[n]) && (t = n4(e10)) && (r && (r += " "), r += t);
  return r;
}
function r4(e10, t = []) {
  if (e10 === void 0)
    return {};
  const n = {};
  return Object.keys(e10).filter((r) => r.match(/^on[A-Z]/) && typeof e10[r] == "function" && !t.includes(r)).forEach((r) => {
    n[r] = e10[r];
  }), n;
}
function h_(e10) {
  if (e10 === void 0)
    return {};
  const t = {};
  return Object.keys(e10).filter((n) => !(n.match(/^on[A-Z]/) && typeof e10[n] == "function")).forEach((n) => {
    t[n] = e10[n];
  }), t;
}
function o4(e10) {
  const {
    getSlotProps: t,
    additionalProps: n,
    externalSlotProps: r,
    externalForwardedProps: o,
    className: i
  } = e10;
  if (!t) {
    const I = f_(n == null ? void 0 : n.className, i, o == null ? void 0 : o.className, r == null ? void 0 : r.className), P = Me({}, n == null ? void 0 : n.style, o == null ? void 0 : o.style, r == null ? void 0 : r.style), S = Me({}, n, o, r);
    return I.length > 0 && (S.className = I), Object.keys(P).length > 0 && (S.style = P), {
      props: S,
      internalRef: void 0
    };
  }
  const u = r4(Me({}, o, r)), p = h_(r), v = h_(o), y = t(u), k = f_(y == null ? void 0 : y.className, n == null ? void 0 : n.className, i, o == null ? void 0 : o.className, r == null ? void 0 : r.className), T = Me({}, y == null ? void 0 : y.style, n == null ? void 0 : n.style, o == null ? void 0 : o.style, r == null ? void 0 : r.style), R = Me({}, y, n, v, p);
  return k.length > 0 && (R.className = k), Object.keys(T).length > 0 && (R.style = T), {
    props: R,
    internalRef: y.ref
  };
}
function i4(e10, t, n) {
  return typeof e10 == "function" ? e10(t, n) : e10;
}
const rme = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
function Ld(e10) {
  var t;
  const {
    elementType: n,
    externalSlotProps: r,
    ownerState: o,
    skipResolvingSlotProps: i = false
  } = e10, u = Pn(e10, rme), p = i ? {} : i4(r, o), {
    props: v,
    internalRef: y
  } = o4(Me({}, u, {
    externalSlotProps: p
  })), k = Ma(y, p == null ? void 0 : p.ref, (t = e10.additionalProps) == null ? void 0 : t.ref);
  return Pp(n, Me({}, v, {
    ref: k
  }), o);
}
function s0(e10) {
  if (parseInt(reactExports.version, 10) >= 19) {
    var t;
    return (e10 == null || (t = e10.props) == null ? void 0 : t.ref) || null;
  }
  return (e10 == null ? void 0 : e10.ref) || null;
}
const ome = /* @__PURE__ */ reactExports.createContext();
const zg = () => {
  const e10 = reactExports.useContext(ome);
  return e10 ?? false;
}, ime = /* @__PURE__ */ reactExports.createContext(void 0);
function ame(e10) {
  const {
    theme: t,
    name: n,
    props: r
  } = e10;
  if (!t || !t.components || !t.components[n])
    return r;
  const o = t.components[n];
  return o.defaultProps ? Py(o.defaultProps, r) : !o.styleOverrides && !o.variants ? Py(o, r) : r;
}
function sme({
  props: e10,
  name: t
}) {
  const n = reactExports.useContext(ime);
  return ame({
    props: e10,
    name: t,
    theme: {
      components: n
    }
  });
}
const lme = (e10, t) => YE(e10).replace("rgb", "rgba").replace(")", `,${t})`), p_ = (e10) => {
  if (typeof window > "u")
    return e10;
  try {
    const n = window.getComputedStyle(document.documentElement).getPropertyValue(e10).trim();
    return !n || n.startsWith("--") ? e10 : n;
  } catch {
    return e10;
  }
}, ume = ["--p500", "--p600", "--p700", "--p800", "--s400", "--s500", "--p400", "--p500", "--w400", "--w500", "--e400", "--e500", "--e900", "--a1500", "--a1900", "--a1900", "--a2500", "--a2900", "--a3500", "--a3900"], cme = (e10) => {
  let t = 0;
  return e10.forEach((n) => {
    t += n.charCodeAt(0) % 20;
  }), ume[Math.floor(t / 2)];
}, Xm = (e10) => {
  if (e10.startsWith("--")) {
    const t = p_(e10);
    return t !== e10 ? t : `var(${e10})`;
  }
  if (e10.startsWith("var(")) {
    const t = e10.match(/var\((--[^)]+)\)/);
    if (t) {
      const n = p_(t[1]);
      return n !== t[1] ? n : e10;
    }
    return e10;
  }
  return e10;
}, dme = (e10, t) => {
  if (e10.startsWith("rgba(")) {
    const n = e10.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*([\d.]+)\)/);
    if (n) {
      const [, r, o, i] = n;
      return `rgba(${r}, ${o}, ${i}, ${t})`;
    }
  }
  if (e10.startsWith("rgb(")) {
    const n = e10.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
    if (n) {
      const [, r, o, i] = n;
      return `rgba(${r}, ${o}, ${i}, ${t})`;
    }
  }
  return e10.startsWith("#") ? lme(e10, t) : e10;
};
function fme(e10) {
  function t(Ue, We, Ge, Ze, _e) {
    for (var st = 0, Ke = 0, ht = 0, gt = 0, xt, ct, yt = 0, Ot = 0, qe, wt = qe = xt = 0, en = 0, Vt = 0, wn = 0, dn = 0, zt = Ge.length, jt = zt - 1, _t, Pt = "", Ht = "", kn = "", Tn = "", hn; en < zt; ) {
      if (ct = Ge.charCodeAt(en), en === jt && Ke + gt + ht + st !== 0 && (Ke !== 0 && (ct = Ke === 47 ? 10 : 47), gt = ht = st = 0, zt++, jt++), Ke + gt + ht + st === 0) {
        if (en === jt && (0 < Vt && (Pt = Pt.replace(R, "")), 0 < Pt.trim().length)) {
          switch (ct) {
            case 32:
            case 9:
            case 59:
            case 13:
            case 10:
              break;
            default:
              Pt += Ge.charAt(en);
          }
          ct = 59;
        }
        switch (ct) {
          case 123:
            for (Pt = Pt.trim(), xt = Pt.charCodeAt(0), qe = 1, dn = ++en; en < zt; ) {
              switch (ct = Ge.charCodeAt(en)) {
                case 123:
                  qe++;
                  break;
                case 125:
                  qe--;
                  break;
                case 47:
                  switch (ct = Ge.charCodeAt(en + 1)) {
                    case 42:
                    case 47:
                      e: {
                        for (wt = en + 1; wt < jt; ++wt)
                          switch (Ge.charCodeAt(wt)) {
                            case 47:
                              if (ct === 42 && Ge.charCodeAt(wt - 1) === 42 && en + 2 !== wt) {
                                en = wt + 1;
                                break e;
                              }
                              break;
                            case 10:
                              if (ct === 47) {
                                en = wt + 1;
                                break e;
                              }
                          }
                        en = wt;
                      }
                  }
                  break;
                case 91:
                  ct++;
                case 40:
                  ct++;
                case 34:
                case 39:
                  for (; en++ < jt && Ge.charCodeAt(en) !== ct; )
                    ;
              }
              if (qe === 0) break;
              en++;
            }
            switch (qe = Ge.substring(dn, en), xt === 0 && (xt = (Pt = Pt.replace(T, "").trim()).charCodeAt(0)), xt) {
              case 64:
                switch (0 < Vt && (Pt = Pt.replace(R, "")), ct = Pt.charCodeAt(1), ct) {
                  case 100:
                  case 109:
                  case 115:
                  case 45:
                    Vt = We;
                    break;
                  default:
                    Vt = de;
                }
                if (qe = t(We, Vt, qe, ct, _e + 1), dn = qe.length, 0 < nt && (Vt = n(de, Pt, wn), hn = p(3, qe, Vt, We, Te, we, dn, ct, _e, Ze), Pt = Vt.join(""), hn !== void 0 && (dn = (qe = hn.trim()).length) === 0 && (ct = 0, qe = "")), 0 < dn) switch (ct) {
                  case 115:
                    Pt = Pt.replace(q, u);
                  case 100:
                  case 109:
                  case 45:
                    qe = Pt + "{" + qe + "}";
                    break;
                  case 107:
                    Pt = Pt.replace(X, "$1 $2"), qe = Pt + "{" + qe + "}", qe = ie === 1 || ie === 2 && i("@" + qe, 3) ? "@-webkit-" + qe + "@" + qe : "@" + qe;
                    break;
                  default:
                    qe = Pt + qe, Ze === 112 && (qe = (Ht += qe, ""));
                }
                else qe = "";
                break;
              default:
                qe = t(We, n(We, Pt, wn), qe, Ze, _e + 1);
            }
            kn += qe, qe = wn = Vt = wt = xt = 0, Pt = "", ct = Ge.charCodeAt(++en);
            break;
          case 125:
          case 59:
            if (Pt = (0 < Vt ? Pt.replace(R, "") : Pt).trim(), 1 < (dn = Pt.length)) switch (wt === 0 && (xt = Pt.charCodeAt(0), xt === 45 || 96 < xt && 123 > xt) && (dn = (Pt = Pt.replace(" ", ":")).length), 0 < nt && (hn = p(1, Pt, We, Ue, Te, we, Ht.length, Ze, _e, Ze)) !== void 0 && (dn = (Pt = hn.trim()).length) === 0 && (Pt = "\0\0"), xt = Pt.charCodeAt(0), ct = Pt.charCodeAt(1), xt) {
              case 0:
                break;
              case 64:
                if (ct === 105 || ct === 99) {
                  Tn += Pt + Ge.charAt(en);
                  break;
                }
              default:
                Pt.charCodeAt(dn - 1) !== 58 && (Ht += o(Pt, xt, ct, Pt.charCodeAt(2)));
            }
            wn = Vt = wt = xt = 0, Pt = "", ct = Ge.charCodeAt(++en);
        }
      }
      switch (ct) {
        case 13:
        case 10:
          Ke === 47 ? Ke = 0 : 1 + xt === 0 && Ze !== 107 && 0 < Pt.length && (Vt = 1, Pt += "\0"), 0 < nt * Le && p(0, Pt, We, Ue, Te, we, Ht.length, Ze, _e, Ze), we = 1, Te++;
          break;
        case 59:
        case 125:
          if (Ke + gt + ht + st === 0) {
            we++;
            break;
          }
        default:
          switch (we++, _t = Ge.charAt(en), ct) {
            case 9:
            case 32:
              if (gt + st + Ke === 0) switch (yt) {
                case 44:
                case 58:
                case 9:
                case 32:
                  _t = "";
                  break;
                default:
                  ct !== 32 && (_t = " ");
              }
              break;
            case 0:
              _t = "\\0";
              break;
            case 12:
              _t = "\\f";
              break;
            case 11:
              _t = "\\v";
              break;
            case 38:
              gt + Ke + st === 0 && (Vt = wn = 1, _t = "\f" + _t);
              break;
            case 108:
              if (gt + Ke + st + be === 0 && 0 < wt) switch (en - wt) {
                case 2:
                  yt === 112 && Ge.charCodeAt(en - 3) === 58 && (be = yt);
                case 8:
                  Ot === 111 && (be = Ot);
              }
              break;
            case 58:
              gt + Ke + st === 0 && (wt = en);
              break;
            case 44:
              Ke + ht + gt + st === 0 && (Vt = 1, _t += "\r");
              break;
            case 34:
            case 39:
              Ke === 0 && (gt = gt === ct ? 0 : gt === 0 ? ct : gt);
              break;
            case 91:
              gt + Ke + ht === 0 && st++;
              break;
            case 93:
              gt + Ke + ht === 0 && st--;
              break;
            case 41:
              gt + Ke + st === 0 && ht--;
              break;
            case 40:
              if (gt + Ke + st === 0) {
                if (xt === 0) switch (2 * yt + 3 * Ot) {
                  case 533:
                    break;
                  default:
                    xt = 1;
                }
                ht++;
              }
              break;
            case 64:
              Ke + ht + gt + st + wt + qe === 0 && (qe = 1);
              break;
            case 42:
            case 47:
              if (!(0 < gt + st + ht)) switch (Ke) {
                case 0:
                  switch (2 * ct + 3 * Ge.charCodeAt(en + 1)) {
                    case 235:
                      Ke = 47;
                      break;
                    case 220:
                      dn = en, Ke = 42;
                  }
                  break;
                case 42:
                  ct === 47 && yt === 42 && dn + 2 !== en && (Ge.charCodeAt(dn + 2) === 33 && (Ht += Ge.substring(dn, en + 1)), _t = "", Ke = 0);
              }
          }
          Ke === 0 && (Pt += _t);
      }
      Ot = yt, yt = ct, en++;
    }
    if (dn = Ht.length, 0 < dn) {
      if (Vt = We, 0 < nt && (hn = p(2, Ht, Vt, Ue, Te, we, dn, Ze, _e, Ze), hn !== void 0 && (Ht = hn).length === 0)) return Tn + Ht + kn;
      if (Ht = Vt.join(",") + "{" + Ht + "}", ie * be !== 0) {
        switch (ie !== 2 || i(Ht, 2) || (be = 0), be) {
          case 111:
            Ht = Ht.replace(te, ":-moz-$1") + Ht;
            break;
          case 112:
            Ht = Ht.replace(Z, "::-webkit-input-$1") + Ht.replace(Z, "::-moz-$1") + Ht.replace(Z, ":-ms-input-$1") + Ht;
        }
        be = 0;
      }
    }
    return Tn + Ht + kn;
  }
  function n(Ue, We, Ge) {
    var Ze = We.trim().split(U);
    We = Ze;
    var _e = Ze.length, st = Ue.length;
    switch (st) {
      case 0:
      case 1:
        var Ke = 0;
        for (Ue = st === 0 ? "" : Ue[0] + " "; Ke < _e; ++Ke)
          We[Ke] = r(Ue, We[Ke], Ge).trim();
        break;
      default:
        var ht = Ke = 0;
        for (We = []; Ke < _e; ++Ke)
          for (var gt = 0; gt < st; ++gt)
            We[ht++] = r(Ue[gt] + " ", Ze[Ke], Ge).trim();
    }
    return We;
  }
  function r(Ue, We, Ge) {
    var Ze = We.charCodeAt(0);
    switch (33 > Ze && (Ze = (We = We.trim()).charCodeAt(0)), Ze) {
      case 38:
        return We.replace(B, "$1" + Ue.trim());
      case 58:
        return Ue.trim() + We.replace(B, "$1" + Ue.trim());
      default:
        if (0 < 1 * Ge && 0 < We.indexOf("\f")) return We.replace(B, (Ue.charCodeAt(0) === 58 ? "" : "$1") + Ue.trim());
    }
    return Ue + We;
  }
  function o(Ue, We, Ge, Ze) {
    var _e = Ue + ";", st = 2 * We + 3 * Ge + 4 * Ze;
    if (st === 944) {
      Ue = _e.indexOf(":", 9) + 1;
      var Ke = _e.substring(Ue, _e.length - 1).trim();
      return Ke = _e.substring(0, Ue).trim() + Ke + ";", ie === 1 || ie === 2 && i(Ke, 1) ? "-webkit-" + Ke + Ke : Ke;
    }
    if (ie === 0 || ie === 2 && !i(_e, 1)) return _e;
    switch (st) {
      case 1015:
        return _e.charCodeAt(10) === 97 ? "-webkit-" + _e + _e : _e;
      case 951:
        return _e.charCodeAt(3) === 116 ? "-webkit-" + _e + _e : _e;
      case 963:
        return _e.charCodeAt(5) === 110 ? "-webkit-" + _e + _e : _e;
      case 1009:
        if (_e.charCodeAt(4) !== 100) break;
      case 969:
      case 942:
        return "-webkit-" + _e + _e;
      case 978:
        return "-webkit-" + _e + "-moz-" + _e + _e;
      case 1019:
      case 983:
        return "-webkit-" + _e + "-moz-" + _e + "-ms-" + _e + _e;
      case 883:
        if (_e.charCodeAt(8) === 45) return "-webkit-" + _e + _e;
        if (0 < _e.indexOf("image-set(", 11)) return _e.replace(Ve, "$1-webkit-$2") + _e;
        break;
      case 932:
        if (_e.charCodeAt(4) === 45) switch (_e.charCodeAt(5)) {
          case 103:
            return "-webkit-box-" + _e.replace("-grow", "") + "-webkit-" + _e + "-ms-" + _e.replace("grow", "positive") + _e;
          case 115:
            return "-webkit-" + _e + "-ms-" + _e.replace("shrink", "negative") + _e;
          case 98:
            return "-webkit-" + _e + "-ms-" + _e.replace("basis", "preferred-size") + _e;
        }
        return "-webkit-" + _e + "-ms-" + _e + _e;
      case 964:
        return "-webkit-" + _e + "-ms-flex-" + _e + _e;
      case 1023:
        if (_e.charCodeAt(8) !== 99) break;
        return Ke = _e.substring(_e.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + Ke + "-webkit-" + _e + "-ms-flex-pack" + Ke + _e;
      case 1005:
        return P.test(_e) ? _e.replace(I, ":-webkit-") + _e.replace(I, ":-moz-") + _e : _e;
      case 1e3:
        switch (Ke = _e.substring(13).trim(), We = Ke.indexOf("-") + 1, Ke.charCodeAt(0) + Ke.charCodeAt(We)) {
          case 226:
            Ke = _e.replace(Q, "tb");
            break;
          case 232:
            Ke = _e.replace(Q, "tb-rl");
            break;
          case 220:
            Ke = _e.replace(Q, "lr");
            break;
          default:
            return _e;
        }
        return "-webkit-" + _e + "-ms-" + Ke + _e;
      case 1017:
        if (_e.indexOf("sticky", 9) === -1) break;
      case 975:
        switch (We = (_e = Ue).length - 10, Ke = (_e.charCodeAt(We) === 33 ? _e.substring(0, We) : _e).substring(Ue.indexOf(":", 7) + 1).trim(), st = Ke.charCodeAt(0) + (Ke.charCodeAt(7) | 0)) {
          case 203:
            if (111 > Ke.charCodeAt(8)) break;
          case 115:
            _e = _e.replace(Ke, "-webkit-" + Ke) + ";" + _e;
            break;
          case 207:
          case 102:
            _e = _e.replace(Ke, "-webkit-" + (102 < st ? "inline-" : "") + "box") + ";" + _e.replace(Ke, "-webkit-" + Ke) + ";" + _e.replace(Ke, "-ms-" + Ke + "box") + ";" + _e;
        }
        return _e + ";";
      case 938:
        if (_e.charCodeAt(5) === 45) switch (_e.charCodeAt(6)) {
          case 105:
            return Ke = _e.replace("-items", ""), "-webkit-" + _e + "-webkit-box-" + Ke + "-ms-flex-" + Ke + _e;
          case 115:
            return "-webkit-" + _e + "-ms-flex-item-" + _e.replace(ne, "") + _e;
          default:
            return "-webkit-" + _e + "-ms-flex-line-pack" + _e.replace("align-content", "").replace(ne, "") + _e;
        }
        break;
      case 973:
      case 989:
        if (_e.charCodeAt(3) !== 45 || _e.charCodeAt(4) === 122) break;
      case 931:
      case 953:
        if (pe.test(Ue) === true) return (Ke = Ue.substring(Ue.indexOf(":") + 1)).charCodeAt(0) === 115 ? o(Ue.replace("stretch", "fill-available"), We, Ge, Ze).replace(":fill-available", ":stretch") : _e.replace(Ke, "-webkit-" + Ke) + _e.replace(Ke, "-moz-" + Ke.replace("fill-", "")) + _e;
        break;
      case 962:
        if (_e = "-webkit-" + _e + (_e.charCodeAt(5) === 102 ? "-ms-" + _e : "") + _e, Ge + Ze === 211 && _e.charCodeAt(13) === 105 && 0 < _e.indexOf("transform", 10)) return _e.substring(0, _e.indexOf(";", 27) + 1).replace(S, "$1-webkit-$2") + _e;
    }
    return _e;
  }
  function i(Ue, We) {
    var Ge = Ue.indexOf(We === 1 ? ":" : "{"), Ze = Ue.substring(0, We !== 3 ? Ge : 10);
    return Ge = Ue.substring(Ge + 1, Ue.length - 1), ut(We !== 2 ? Ze : Ze.replace(ae, "$1"), Ge, We);
  }
  function u(Ue, We) {
    var Ge = o(We, We.charCodeAt(0), We.charCodeAt(1), We.charCodeAt(2));
    return Ge !== We + ";" ? Ge.replace(F, " or ($1)").substring(4) : "(" + We + ")";
  }
  function p(Ue, We, Ge, Ze, _e, st, Ke, ht, gt, xt) {
    for (var ct = 0, yt = We, Ot; ct < nt; ++ct)
      switch (Ot = ze[ct].call(k, Ue, yt, Ge, Ze, _e, st, Ke, ht, gt, xt)) {
        case void 0:
        case false:
        case true:
        case null:
          break;
        default:
          yt = Ot;
      }
    if (yt !== We) return yt;
  }
  function v(Ue) {
    switch (Ue) {
      case void 0:
      case null:
        nt = ze.length = 0;
        break;
      default:
        if (typeof Ue == "function") ze[nt++] = Ue;
        else if (typeof Ue == "object") for (var We = 0, Ge = Ue.length; We < Ge; ++We)
          v(Ue[We]);
        else Le = !!Ue | 0;
    }
    return v;
  }
  function y(Ue) {
    return Ue = Ue.prefix, Ue !== void 0 && (ut = null, Ue ? typeof Ue != "function" ? ie = 1 : (ie = 2, ut = Ue) : ie = 0), y;
  }
  function k(Ue, We) {
    var Ge = Ue;
    if (33 > Ge.charCodeAt(0) && (Ge = Ge.trim()), oe = Ge, Ge = [oe], 0 < nt) {
      var Ze = p(-1, We, Ge, Ge, Te, we, 0, 0, 0, 0);
      Ze !== void 0 && typeof Ze == "string" && (We = Ze);
    }
    var _e = t(de, Ge, We, 0, 0);
    return 0 < nt && (Ze = p(-2, _e, Ge, Ge, Te, we, _e.length, 0, 0, 0), Ze !== void 0 && (_e = Ze)), oe = "", be = 0, we = Te = 1, _e;
  }
  var T = /^\0+/g, R = /[\0\r\f]/g, I = /: */g, P = /zoo|gra/, S = /([,: ])(transform)/g, U = /,\r+?/g, B = /([\t\r\n ])*\f?&/g, X = /@(k\w+)\s*(\S*)\s*/, Z = /::(place)/g, te = /:(read-only)/g, Q = /[svh]\w+-[tblr]{2}/, q = /\(\s*(.*)\s*\)/g, F = /([\s\S]*?);/g, ne = /-self|flex-/g, ae = /[^]*?(:[rp][el]a[\w-]+)[^]*/, pe = /stretch|:\s*\w+\-(?:conte|avail)/, Ve = /([^-])(image-set\()/, we = 1, Te = 1, be = 0, ie = 1, de = [], ze = [], nt = 0, ut = null, Le = 0, oe = "";
  return k.use = v, k.set = y, e10 !== void 0 && y(e10), k;
}
var hme = {
  animationIterationCount: 1,
  borderImageOutset: 1,
  borderImageSlice: 1,
  borderImageWidth: 1,
  boxFlex: 1,
  boxFlexGroup: 1,
  boxOrdinalGroup: 1,
  columnCount: 1,
  columns: 1,
  flex: 1,
  flexGrow: 1,
  flexPositive: 1,
  flexShrink: 1,
  flexNegative: 1,
  flexOrder: 1,
  gridRow: 1,
  gridRowEnd: 1,
  gridRowSpan: 1,
  gridRowStart: 1,
  gridColumn: 1,
  gridColumnEnd: 1,
  gridColumnSpan: 1,
  gridColumnStart: 1,
  msGridRow: 1,
  msGridRowSpan: 1,
  msGridColumn: 1,
  msGridColumnSpan: 1,
  fontWeight: 1,
  lineHeight: 1,
  opacity: 1,
  order: 1,
  orphans: 1,
  tabSize: 1,
  widows: 1,
  zIndex: 1,
  zoom: 1,
  WebkitLineClamp: 1,
  // SVG-related properties
  fillOpacity: 1,
  floodOpacity: 1,
  stopOpacity: 1,
  strokeDasharray: 1,
  strokeDashoffset: 1,
  strokeMiterlimit: 1,
  strokeOpacity: 1,
  strokeWidth: 1
};
function Bf() {
  return (Bf = Object.assign || function(e10) {
    for (var t = 1; t < arguments.length; t++) {
      var n = arguments[t];
      for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e10[r] = n[r]);
    }
    return e10;
  }).apply(this, arguments);
}
var b_ = function(e10, t) {
  for (var n = [e10[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e10[r + 1]);
  return n;
}, My = function(e10) {
  return e10 !== null && typeof e10 == "object" && (e10.toString ? e10.toString() : Object.prototype.toString.call(e10)) === "[object Object]" && !reactIsExports.typeOf(e10);
}, Y1 = Object.freeze([]), bh = Object.freeze({});
function hb(e10) {
  return typeof e10 == "function";
}
function g_(e10) {
  return e10.displayName || e10.name || "Component";
}
function z2(e10) {
  return e10 && typeof e10.styledComponentId == "string";
}
var Gp = typeof process < "u" && define_process_env_default !== void 0 && (define_process_env_default.REACT_APP_SC_ATTR || define_process_env_default.SC_ATTR) || "data-styled", W2 = typeof window < "u" && "HTMLElement" in window, pme = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && define_process_env_default !== void 0 && (define_process_env_default.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && define_process_env_default.REACT_APP_SC_DISABLE_SPEEDY !== "" ? define_process_env_default.REACT_APP_SC_DISABLE_SPEEDY !== "false" && define_process_env_default.REACT_APP_SC_DISABLE_SPEEDY : define_process_env_default.SC_DISABLE_SPEEDY !== void 0 && define_process_env_default.SC_DISABLE_SPEEDY !== "" ? define_process_env_default.SC_DISABLE_SPEEDY !== "false" && define_process_env_default.SC_DISABLE_SPEEDY : false));
function l0(e10) {
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
  throw new Error("An error occurred. See https://git.io/JUIaE#" + e10 + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : ""));
}
var mme = (function() {
  function e10(n) {
    this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = n;
  }
  var t = e10.prototype;
  return t.indexOfGroup = function(n) {
    for (var r = 0, o = 0; o < n; o++) r += this.groupSizes[o];
    return r;
  }, t.insertRules = function(n, r) {
    if (n >= this.groupSizes.length) {
      for (var o = this.groupSizes, i = o.length, u = i; n >= u; ) (u <<= 1) < 0 && l0(16, "" + n);
      this.groupSizes = new Uint32Array(u), this.groupSizes.set(o), this.length = u;
      for (var p = i; p < u; p++) this.groupSizes[p] = 0;
    }
    for (var v = this.indexOfGroup(n + 1), y = 0, k = r.length; y < k; y++) this.tag.insertRule(v, r[y]) && (this.groupSizes[n]++, v++);
  }, t.clearGroup = function(n) {
    if (n < this.length) {
      var r = this.groupSizes[n], o = this.indexOfGroup(n), i = o + r;
      this.groupSizes[n] = 0;
      for (var u = o; u < i; u++) this.tag.deleteRule(o);
    }
  }, t.getGroup = function(n) {
    var r = "";
    if (n >= this.length || this.groupSizes[n] === 0) return r;
    for (var o = this.groupSizes[n], i = this.indexOfGroup(n), u = i + o, p = i; p < u; p++) r += this.tag.getRule(p) + `/*!sc*/
`;
    return r;
  }, e10;
})(), T1 = /* @__PURE__ */ new Map(), X1 = /* @__PURE__ */ new Map(), Z0 = 1, jb = function(e10) {
  if (T1.has(e10)) return T1.get(e10);
  for (; X1.has(Z0); ) Z0++;
  var t = Z0++;
  return T1.set(e10, t), X1.set(t, e10), t;
}, vme = function(e10) {
  return X1.get(e10);
}, yme = function(e10, t) {
  t >= Z0 && (Z0 = t + 1), T1.set(e10, t), X1.set(t, e10);
}, xme = "style[" + Gp + '][data-styled-version="5.3.10"]', _me = new RegExp("^" + Gp + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), wme = function(e10, t, n) {
  for (var r, o = n.split(","), i = 0, u = o.length; i < u; i++) (r = o[i]) && e10.registerName(t, r);
}, Tme = function(e10, t) {
  for (var n = (t.textContent || "").split(`/*!sc*/
`), r = [], o = 0, i = n.length; o < i; o++) {
    var u = n[o].trim();
    if (u) {
      var p = u.match(_me);
      if (p) {
        var v = 0 | parseInt(p[1], 10), y = p[2];
        v !== 0 && (yme(y, v), wme(e10, y, p[3]), e10.getTag().insertRules(v, r)), r.length = 0;
      } else r.push(u);
    }
  }
}, kme = function() {
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
}, a4 = function(e10) {
  var t = document.head, n = e10 || t, r = document.createElement("style"), o = (function(p) {
    for (var v = p.childNodes, y = v.length; y >= 0; y--) {
      var k = v[y];
      if (k && k.nodeType === 1 && k.hasAttribute(Gp)) return k;
    }
  })(n), i = o !== void 0 ? o.nextSibling : null;
  r.setAttribute(Gp, "active"), r.setAttribute("data-styled-version", "5.3.10");
  var u = kme();
  return u && r.setAttribute("nonce", u), n.insertBefore(r, i), r;
}, Eme = (function() {
  function e10(n) {
    var r = this.element = a4(n);
    r.appendChild(document.createTextNode("")), this.sheet = (function(o) {
      if (o.sheet) return o.sheet;
      for (var i = document.styleSheets, u = 0, p = i.length; u < p; u++) {
        var v = i[u];
        if (v.ownerNode === o) return v;
      }
      l0(17);
    })(r), this.length = 0;
  }
  var t = e10.prototype;
  return t.insertRule = function(n, r) {
    try {
      return this.sheet.insertRule(r, n), this.length++, true;
    } catch {
      return false;
    }
  }, t.deleteRule = function(n) {
    this.sheet.deleteRule(n), this.length--;
  }, t.getRule = function(n) {
    var r = this.sheet.cssRules[n];
    return r !== void 0 && typeof r.cssText == "string" ? r.cssText : "";
  }, e10;
})(), Cme = (function() {
  function e10(n) {
    var r = this.element = a4(n);
    this.nodes = r.childNodes, this.length = 0;
  }
  var t = e10.prototype;
  return t.insertRule = function(n, r) {
    if (n <= this.length && n >= 0) {
      var o = document.createTextNode(r), i = this.nodes[n];
      return this.element.insertBefore(o, i || null), this.length++, true;
    }
    return false;
  }, t.deleteRule = function(n) {
    this.element.removeChild(this.nodes[n]), this.length--;
  }, t.getRule = function(n) {
    return n < this.length ? this.nodes[n].textContent : "";
  }, e10;
})(), Sme = (function() {
  function e10(n) {
    this.rules = [], this.length = 0;
  }
  var t = e10.prototype;
  return t.insertRule = function(n, r) {
    return n <= this.length && (this.rules.splice(n, 0, r), this.length++, true);
  }, t.deleteRule = function(n) {
    this.rules.splice(n, 1), this.length--;
  }, t.getRule = function(n) {
    return n < this.length ? this.rules[n] : "";
  }, e10;
})(), m_ = W2, Ame = { isServer: !W2, useCSSOMInjection: !pme }, s4 = (function() {
  function e10(n, r, o) {
    n === void 0 && (n = bh), r === void 0 && (r = {}), this.options = Bf({}, Ame, {}, n), this.gs = r, this.names = new Map(o), this.server = !!n.isServer, !this.server && W2 && m_ && (m_ = false, (function(i) {
      for (var u = document.querySelectorAll(xme), p = 0, v = u.length; p < v; p++) {
        var y = u[p];
        y && y.getAttribute(Gp) !== "active" && (Tme(i, y), y.parentNode && y.parentNode.removeChild(y));
      }
    })(this));
  }
  e10.registerId = function(n) {
    return jb(n);
  };
  var t = e10.prototype;
  return t.reconstructWithOptions = function(n, r) {
    return r === void 0 && (r = true), new e10(Bf({}, this.options, {}, n), this.gs, r && this.names || void 0);
  }, t.allocateGSInstance = function(n) {
    return this.gs[n] = (this.gs[n] || 0) + 1;
  }, t.getTag = function() {
    return this.tag || (this.tag = (o = (r = this.options).isServer, i = r.useCSSOMInjection, u = r.target, n = o ? new Sme(u) : i ? new Eme(u) : new Cme(u), new mme(n)));
    var n, r, o, i, u;
  }, t.hasNameForId = function(n, r) {
    return this.names.has(n) && this.names.get(n).has(r);
  }, t.registerName = function(n, r) {
    if (jb(n), this.names.has(n)) this.names.get(n).add(r);
    else {
      var o = /* @__PURE__ */ new Set();
      o.add(r), this.names.set(n, o);
    }
  }, t.insertRules = function(n, r, o) {
    this.registerName(n, r), this.getTag().insertRules(jb(n), o);
  }, t.clearNames = function(n) {
    this.names.has(n) && this.names.get(n).clear();
  }, t.clearRules = function(n) {
    this.getTag().clearGroup(jb(n)), this.clearNames(n);
  }, t.clearTag = function() {
    this.tag = void 0;
  }, t.toString = function() {
    return (function(n) {
      for (var r = n.getTag(), o = r.length, i = "", u = 0; u < o; u++) {
        var p = vme(u);
        if (p !== void 0) {
          var v = n.names.get(p), y = r.getGroup(u);
          if (v && y && v.size) {
            var k = Gp + ".g" + u + '[id="' + p + '"]', T = "";
            v !== void 0 && v.forEach((function(R) {
              R.length > 0 && (T += R + ",");
            })), i += "" + y + k + '{content:"' + T + `"}/*!sc*/
`;
          }
        }
      }
      return i;
    })(this);
  }, e10;
})(), Pme = /(a)(d)/gi, v_ = function(e10) {
  return String.fromCharCode(e10 + (e10 > 25 ? 39 : 97));
};
function Oy(e10) {
  var t, n = "";
  for (t = Math.abs(e10); t > 52; t = t / 52 | 0) n = v_(t % 52) + n;
  return (v_(t % 52) + n).replace(Pme, "$1-$2");
}
var Gh = function(e10, t) {
  for (var n = t.length; n; ) e10 = 33 * e10 ^ t.charCodeAt(--n);
  return e10;
}, l4 = function(e10) {
  return Gh(5381, e10);
};
function Rme(e10) {
  for (var t = 0; t < e10.length; t += 1) {
    var n = e10[t];
    if (hb(n) && !z2(n)) return false;
  }
  return true;
}
var Ime = l4("5.3.10"), Mme = (function() {
  function e10(t, n, r) {
    this.rules = t, this.staticRulesId = "", this.isStatic = (r === void 0 || r.isStatic) && Rme(t), this.componentId = n, this.baseHash = Gh(Ime, n), this.baseStyle = r, s4.registerId(n);
  }
  return e10.prototype.generateAndInjectStyles = function(t, n, r) {
    var o = this.componentId, i = [];
    if (this.baseStyle && i.push(this.baseStyle.generateAndInjectStyles(t, n, r)), this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(o, this.staticRulesId)) i.push(this.staticRulesId);
    else {
      var u = Yp(this.rules, t, n, r).join(""), p = Oy(Gh(this.baseHash, u) >>> 0);
      if (!n.hasNameForId(o, p)) {
        var v = r(u, "." + p, void 0, o);
        n.insertRules(o, p, v);
      }
      i.push(p), this.staticRulesId = p;
    }
    else {
      for (var y = this.rules.length, k = Gh(this.baseHash, r.hash), T = "", R = 0; R < y; R++) {
        var I = this.rules[R];
        if (typeof I == "string") T += I;
        else if (I) {
          var P = Yp(I, t, n, r), S = Array.isArray(P) ? P.join("") : P;
          k = Gh(k, S + R), T += S;
        }
      }
      if (T) {
        var U = Oy(k >>> 0);
        if (!n.hasNameForId(o, U)) {
          var B = r(T, "." + U, void 0, o);
          n.insertRules(o, U, B);
        }
        i.push(U);
      }
    }
    return i.join(" ");
  }, e10;
})(), Ome = /^\s*\/\/.*$/gm, Dme = [":", "[", ".", "#"];
function Fme(e10) {
  var t, n, r, o, i = bh, u = i.options, p = u === void 0 ? bh : u, v = i.plugins, y = v === void 0 ? Y1 : v, k = new fme(p), T = [], R = /* @__PURE__ */ (function(S) {
    function U(B) {
      if (B) try {
        S(B + "}");
      } catch {
      }
    }
    return function(B, X, Z, te, Q, q, F, ne, ae, pe) {
      switch (B) {
        case 1:
          if (ae === 0 && X.charCodeAt(0) === 64) return S(X + ";"), "";
          break;
        case 2:
          if (ne === 0) return X + "/*|*/";
          break;
        case 3:
          switch (ne) {
            case 102:
            case 112:
              return S(Z[0] + X), "";
            default:
              return X + (pe === 0 ? "/*|*/" : "");
          }
        case -2:
          X.split("/*|*/}").forEach(U);
      }
    };
  })((function(S) {
    T.push(S);
  })), I = function(S, U, B) {
    return U === 0 && Dme.indexOf(B[n.length]) !== -1 || B.match(o) ? S : "." + t;
  };
  function P(S, U, B, X) {
    X === void 0 && (X = "&");
    var Z = S.replace(Ome, ""), te = U && B ? B + " " + U + " { " + Z + " }" : Z;
    return t = X, n = U, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), k(B || !U ? "" : U, te);
  }
  return k.use([].concat(y, [function(S, U, B) {
    S === 2 && B.length && B[0].lastIndexOf(n) > 0 && (B[0] = B[0].replace(r, I));
  }, R, function(S) {
    if (S === -2) {
      var U = T;
      return T = [], U;
    }
  }])), P.hash = y.length ? y.reduce((function(S, U) {
    return U.name || l0(15), Gh(S, U.name);
  }), 5381).toString() : "", P;
}
var u4 = React.createContext();
u4.Consumer;
var c4 = React.createContext(), Nme = (c4.Consumer, new s4()), Dy = Fme();
function Lme() {
  return reactExports.useContext(u4) || Nme;
}
function Bme() {
  return reactExports.useContext(c4) || Dy;
}
var zme = (function() {
  function e10(t, n) {
    var r = this;
    this.inject = function(o, i) {
      i === void 0 && (i = Dy);
      var u = r.name + i.hash;
      o.hasNameForId(r.id, u) || o.insertRules(r.id, u, i(r.rules, u, "@keyframes"));
    }, this.toString = function() {
      return l0(12, String(r.name));
    }, this.name = t, this.id = "sc-keyframes-" + t, this.rules = n;
  }
  return e10.prototype.getName = function(t) {
    return t === void 0 && (t = Dy), this.name + t.hash;
  }, e10;
})(), Wme = /([A-Z])/, Ume = /([A-Z])/g, Hme = /^ms-/, $me = function(e10) {
  return "-" + e10.toLowerCase();
};
function y_(e10) {
  return Wme.test(e10) ? e10.replace(Ume, $me).replace(Hme, "-ms-") : e10;
}
var x_ = function(e10) {
  return e10 == null || e10 === false || e10 === "";
};
function Yp(e10, t, n, r) {
  if (Array.isArray(e10)) {
    for (var o, i = [], u = 0, p = e10.length; u < p; u += 1) (o = Yp(e10[u], t, n, r)) !== "" && (Array.isArray(o) ? i.push.apply(i, o) : i.push(o));
    return i;
  }
  if (x_(e10)) return "";
  if (z2(e10)) return "." + e10.styledComponentId;
  if (hb(e10)) {
    if (typeof (y = e10) != "function" || y.prototype && y.prototype.isReactComponent || !t) return e10;
    var v = e10(t);
    return Yp(v, t, n, r);
  }
  var y;
  return e10 instanceof zme ? n ? (e10.inject(n, r), e10.getName(r)) : e10 : My(e10) ? (function k(T, R) {
    var I, P, S = [];
    for (var U in T) T.hasOwnProperty(U) && !x_(T[U]) && (Array.isArray(T[U]) && T[U].isCss || hb(T[U]) ? S.push(y_(U) + ":", T[U], ";") : My(T[U]) ? S.push.apply(S, k(T[U], U)) : S.push(y_(U) + ": " + (I = U, (P = T[U]) == null || typeof P == "boolean" || P === "" ? "" : typeof P != "number" || P === 0 || I in hme || I.startsWith("--") ? String(P).trim() : P + "px") + ";"));
    return R ? [R + " {"].concat(S, ["}"]) : S;
  })(e10) : e10.toString();
}
var __$1 = function(e10) {
  return Array.isArray(e10) && (e10.isCss = true), e10;
};
function Vme(e10) {
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
  return hb(e10) || My(e10) ? __$1(Yp(b_(Y1, [e10].concat(n)))) : n.length === 0 && e10.length === 1 && typeof e10[0] == "string" ? e10 : __$1(Yp(b_(e10, n)));
}
var Yme = function(e10, t, n) {
  return n === void 0 && (n = bh), e10.theme !== n.theme && e10.theme || t || n.theme;
}, Xme = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Zme = /(^-|-$)/g;
function Zm(e10) {
  return e10.replace(Xme, "-").replace(Zme, "");
}
var Kme = function(e10) {
  return Oy(l4(e10) >>> 0);
};
function e1(e10) {
  return typeof e10 == "string" && true;
}
var Fy = function(e10) {
  return typeof e10 == "function" || typeof e10 == "object" && e10 !== null && !Array.isArray(e10);
}, Jme = function(e10) {
  return e10 !== "__proto__" && e10 !== "constructor" && e10 !== "prototype";
};
function Qme(e10, t, n) {
  var r = e10[n];
  Fy(t) && Fy(r) ? d4(r, t) : e10[n] = t;
}
function d4(e10) {
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
  for (var o = 0, i = n; o < i.length; o++) {
    var u = i[o];
    if (Fy(u)) for (var p in u) Jme(p) && Qme(e10, u[p], p);
  }
  return e10;
}
var f4 = React.createContext();
f4.Consumer;
var Km = {};
function h4(e10, t, n) {
  var r = z2(e10), o = !e1(e10), i = t.attrs, u = i === void 0 ? Y1 : i, p = t.componentId, v = p === void 0 ? (function(X, Z) {
    var te = typeof X != "string" ? "sc" : Zm(X);
    Km[te] = (Km[te] || 0) + 1;
    var Q = te + "-" + Kme("5.3.10" + te + Km[te]);
    return Z ? Z + "-" + Q : Q;
  })(t.displayName, t.parentComponentId) : p, y = t.displayName, k = y === void 0 ? (function(X) {
    return e1(X) ? "styled." + X : "Styled(" + g_(X) + ")";
  })(e10) : y, T = t.displayName && t.componentId ? Zm(t.displayName) + "-" + t.componentId : t.componentId || v, R = r && e10.attrs ? Array.prototype.concat(e10.attrs, u).filter(Boolean) : u, I = t.shouldForwardProp;
  r && e10.shouldForwardProp && (I = t.shouldForwardProp ? function(X, Z, te) {
    return e10.shouldForwardProp(X, Z, te) && t.shouldForwardProp(X, Z, te);
  } : e10.shouldForwardProp);
  var P, S = new Mme(n, T, r ? e10.componentStyle : void 0), U = S.isStatic && u.length === 0, B = function(X, Z) {
    return (function(te, Q, q, F) {
      var ne = te.attrs, ae = te.componentStyle, pe = te.defaultProps, Ve = te.foldedComponentIds, we = te.shouldForwardProp, Te = te.styledComponentId, be = te.target;
      var ie = (function(Ze, _e, st) {
        Ze === void 0 && (Ze = bh);
        var Ke = Bf({}, _e, { theme: Ze }), ht = {};
        return st.forEach((function(gt) {
          var xt, ct, yt, Ot = gt;
          for (xt in hb(Ot) && (Ot = Ot(Ke)), Ot) Ke[xt] = ht[xt] = xt === "className" ? (ct = ht[xt], yt = Ot[xt], ct && yt ? ct + " " + yt : ct || yt) : Ot[xt];
        })), [Ke, ht];
      })(Yme(Q, reactExports.useContext(f4), pe) || bh, Q, ne), de = ie[0], ze = ie[1], nt = (function(Ze, _e, st, Ke) {
        var ht = Lme(), gt = Bme(), xt = _e ? Ze.generateAndInjectStyles(bh, ht, gt) : Ze.generateAndInjectStyles(st, ht, gt);
        return xt;
      })(ae, F, de), ut = q, Le = ze.$as || Q.$as || ze.as || Q.as || be, oe = e1(Le), Ue = ze !== Q ? Bf({}, Q, {}, ze) : Q, We = {};
      for (var Ge in Ue) Ge[0] !== "$" && Ge !== "as" && (Ge === "forwardedAs" ? We.as = Ue[Ge] : (we ? we(Ge, Ey, Le) : !oe || Ey(Ge)) && (We[Ge] = Ue[Ge]));
      return Q.style && ze.style !== Q.style && (We.style = Bf({}, Q.style, {}, ze.style)), We.className = Array.prototype.concat(Ve, Te, nt !== Te ? nt : null, Q.className, ze.className).filter(Boolean).join(" "), We.ref = ut, reactExports.createElement(Le, We);
    })(P, X, Z, U);
  };
  return B.displayName = k, (P = React.forwardRef(B)).attrs = R, P.componentStyle = S, P.displayName = k, P.shouldForwardProp = I, P.foldedComponentIds = r ? Array.prototype.concat(e10.foldedComponentIds, e10.styledComponentId) : Y1, P.styledComponentId = T, P.target = r ? e10.target : e10, P.withComponent = function(X) {
    var Z = t.componentId, te = (function(q, F) {
      if (q == null) return {};
      var ne, ae, pe = {}, Ve = Object.keys(q);
      for (ae = 0; ae < Ve.length; ae++) ne = Ve[ae], F.indexOf(ne) >= 0 || (pe[ne] = q[ne]);
      return pe;
    })(t, ["componentId"]), Q = Z && Z + "-" + (e1(X) ? X : Zm(g_(X)));
    return h4(X, Bf({}, te, { attrs: R, componentId: Q }), n);
  }, Object.defineProperty(P, "defaultProps", { get: function() {
    return this._foldedDefaultProps;
  }, set: function(X) {
    this._foldedDefaultProps = r ? d4({}, e10.defaultProps, X) : X;
  } }), Object.defineProperty(P, "toString", { value: function() {
    return "." + P.styledComponentId;
  } }), o && Kbe(P, e10, { attrs: true, componentStyle: true, displayName: true, foldedComponentIds: true, shouldForwardProp: true, styledComponentId: true, target: true, withComponent: true }), P;
}
var Ny = function(e10) {
  return (function t(n, r, o) {
    if (o === void 0 && (o = bh), !reactIsExports.isValidElementType(r)) return l0(1, String(r));
    var i = function() {
      return n(r, o, Vme.apply(void 0, arguments));
    };
    return i.withConfig = function(u) {
      return t(n, r, Bf({}, o, {}, u));
    }, i.attrs = function(u) {
      return t(n, r, Bf({}, o, { attrs: Array.prototype.concat(o.attrs, u).filter(Boolean) }));
    }, i;
  })(h4, e10);
};
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach((function(e10) {
  Ny[e10] = Ny(e10);
}));
var jme = function(e10, t) {
  var n = typeof Symbol == "function" && e10[Symbol.iterator];
  if (!n) return e10;
  var r = n.call(e10), o, i = [], u;
  try {
    for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) i.push(o.value);
  } catch (p) {
    u = { error: p };
  } finally {
    try {
      o && !o.done && (n = r.return) && n.call(r);
    } finally {
      if (u) throw u.error;
    }
  }
  return i;
}, qme = function(e10) {
  var t = e10.split(/ ?; ?/);
  return t.reduce(function(n, r) {
    var o = jme(r.split(/ ?: ?/), 2), i = o[0], u = o[1];
    return i && u && (n[i.replace(/-(\w)/g, function(p, v) {
      return v.toUpperCase();
    })] = Number.isNaN(Number(u)) ? u : Number(u)), n;
  }, {});
};
function eve(e10) {
  e10 === void 0 && (e10 = 6);
  for (var t = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", n = "", r = e10; r > 0; --r)
    n += t[Math.round(Math.random() * (t.length - 1))];
  return n;
}
var tve = [
  "br",
  "col",
  "colgroup",
  "dl",
  "hr",
  "iframe",
  "img",
  "input",
  "link",
  "menuitem",
  "meta",
  "ol",
  "param",
  "select",
  "table",
  "tbody",
  "tfoot",
  "thead",
  "tr",
  "ul",
  "wbr"
], T_ = {
  // HTML
  "accept-charset": "acceptCharset",
  acceptcharset: "acceptCharset",
  accesskey: "accessKey",
  allowfullscreen: "allowFullScreen",
  autocapitalize: "autoCapitalize",
  autocomplete: "autoComplete",
  autocorrect: "autoCorrect",
  autofocus: "autoFocus",
  autoplay: "autoPlay",
  autosave: "autoSave",
  cellpadding: "cellPadding",
  cellspacing: "cellSpacing",
  charset: "charSet",
  class: "className",
  classid: "classID",
  classname: "className",
  colspan: "colSpan",
  contenteditable: "contentEditable",
  contextmenu: "contextMenu",
  controlslist: "controlsList",
  crossorigin: "crossOrigin",
  dangerouslysetinnerhtml: "dangerouslySetInnerHTML",
  datetime: "dateTime",
  defaultchecked: "defaultChecked",
  defaultvalue: "defaultValue",
  enctype: "encType",
  for: "htmlFor",
  formmethod: "formMethod",
  formaction: "formAction",
  formenctype: "formEncType",
  formnovalidate: "formNoValidate",
  formtarget: "formTarget",
  frameborder: "frameBorder",
  hreflang: "hrefLang",
  htmlfor: "htmlFor",
  httpequiv: "httpEquiv",
  "http-equiv": "httpEquiv",
  icon: "icon",
  innerhtml: "innerHTML",
  inputmode: "inputMode",
  itemid: "itemID",
  itemprop: "itemProp",
  itemref: "itemRef",
  itemscope: "itemScope",
  itemtype: "itemType",
  keyparams: "keyParams",
  keytype: "keyType",
  marginwidth: "marginWidth",
  marginheight: "marginHeight",
  maxlength: "maxLength",
  mediagroup: "mediaGroup",
  minlength: "minLength",
  nomodule: "noModule",
  novalidate: "noValidate",
  playsinline: "playsInline",
  radiogroup: "radioGroup",
  readonly: "readOnly",
  referrerpolicy: "referrerPolicy",
  rowspan: "rowSpan",
  spellcheck: "spellCheck",
  srcdoc: "srcDoc",
  srclang: "srcLang",
  srcset: "srcSet",
  tabindex: "tabIndex",
  typemustmatch: "typeMustMatch",
  usemap: "useMap",
  // SVG
  accentheight: "accentHeight",
  "accent-height": "accentHeight",
  alignmentbaseline: "alignmentBaseline",
  "alignment-baseline": "alignmentBaseline",
  allowreorder: "allowReorder",
  arabicform: "arabicForm",
  "arabic-form": "arabicForm",
  attributename: "attributeName",
  attributetype: "attributeType",
  autoreverse: "autoReverse",
  basefrequency: "baseFrequency",
  baselineshift: "baselineShift",
  "baseline-shift": "baselineShift",
  baseprofile: "baseProfile",
  calcmode: "calcMode",
  capheight: "capHeight",
  "cap-height": "capHeight",
  clippath: "clipPath",
  "clip-path": "clipPath",
  clippathunits: "clipPathUnits",
  cliprule: "clipRule",
  "clip-rule": "clipRule",
  colorinterpolation: "colorInterpolation",
  "color-interpolation": "colorInterpolation",
  colorinterpolationfilters: "colorInterpolationFilters",
  "color-interpolation-filters": "colorInterpolationFilters",
  colorprofile: "colorProfile",
  "color-profile": "colorProfile",
  colorrendering: "colorRendering",
  "color-rendering": "colorRendering",
  contentscripttype: "contentScriptType",
  contentstyletype: "contentStyleType",
  diffuseconstant: "diffuseConstant",
  dominantbaseline: "dominantBaseline",
  "dominant-baseline": "dominantBaseline",
  edgemode: "edgeMode",
  enablebackground: "enableBackground",
  "enable-background": "enableBackground",
  externalresourcesrequired: "externalResourcesRequired",
  fillopacity: "fillOpacity",
  "fill-opacity": "fillOpacity",
  fillrule: "fillRule",
  "fill-rule": "fillRule",
  filterres: "filterRes",
  filterunits: "filterUnits",
  floodopacity: "floodOpacity",
  "flood-opacity": "floodOpacity",
  floodcolor: "floodColor",
  "flood-color": "floodColor",
  fontfamily: "fontFamily",
  "font-family": "fontFamily",
  fontsize: "fontSize",
  "font-size": "fontSize",
  fontsizeadjust: "fontSizeAdjust",
  "font-size-adjust": "fontSizeAdjust",
  fontstretch: "fontStretch",
  "font-stretch": "fontStretch",
  fontstyle: "fontStyle",
  "font-style": "fontStyle",
  fontvariant: "fontVariant",
  "font-variant": "fontVariant",
  fontweight: "fontWeight",
  "font-weight": "fontWeight",
  glyphname: "glyphName",
  "glyph-name": "glyphName",
  glyphorientationhorizontal: "glyphOrientationHorizontal",
  "glyph-orientation-horizontal": "glyphOrientationHorizontal",
  glyphorientationvertical: "glyphOrientationVertical",
  "glyph-orientation-vertical": "glyphOrientationVertical",
  glyphref: "glyphRef",
  gradienttransform: "gradientTransform",
  gradientunits: "gradientUnits",
  horizadvx: "horizAdvX",
  "horiz-adv-x": "horizAdvX",
  horizoriginx: "horizOriginX",
  "horiz-origin-x": "horizOriginX",
  imagerendering: "imageRendering",
  "image-rendering": "imageRendering",
  kernelmatrix: "kernelMatrix",
  kernelunitlength: "kernelUnitLength",
  keypoints: "keyPoints",
  keysplines: "keySplines",
  keytimes: "keyTimes",
  lengthadjust: "lengthAdjust",
  letterspacing: "letterSpacing",
  "letter-spacing": "letterSpacing",
  lightingcolor: "lightingColor",
  "lighting-color": "lightingColor",
  limitingconeangle: "limitingConeAngle",
  markerend: "markerEnd",
  "marker-end": "markerEnd",
  markerheight: "markerHeight",
  markermid: "markerMid",
  "marker-mid": "markerMid",
  markerstart: "markerStart",
  "marker-start": "markerStart",
  markerunits: "markerUnits",
  markerwidth: "markerWidth",
  maskcontentunits: "maskContentUnits",
  maskunits: "maskUnits",
  numoctaves: "numOctaves",
  overlineposition: "overlinePosition",
  "overline-position": "overlinePosition",
  overlinethickness: "overlineThickness",
  "overline-thickness": "overlineThickness",
  paintorder: "paintOrder",
  "paint-order": "paintOrder",
  "panose-1": "panose1",
  pathlength: "pathLength",
  patterncontentunits: "patternContentUnits",
  patterntransform: "patternTransform",
  patternunits: "patternUnits",
  pointerevents: "pointerEvents",
  "pointer-events": "pointerEvents",
  pointsatx: "pointsAtX",
  pointsaty: "pointsAtY",
  pointsatz: "pointsAtZ",
  preservealpha: "preserveAlpha",
  preserveaspectratio: "preserveAspectRatio",
  primitiveunits: "primitiveUnits",
  refx: "refX",
  refy: "refY",
  renderingintent: "renderingIntent",
  "rendering-intent": "renderingIntent",
  repeatcount: "repeatCount",
  repeatdur: "repeatDur",
  requiredextensions: "requiredExtensions",
  requiredfeatures: "requiredFeatures",
  shaperendering: "shapeRendering",
  "shape-rendering": "shapeRendering",
  specularconstant: "specularConstant",
  specularexponent: "specularExponent",
  spreadmethod: "spreadMethod",
  startoffset: "startOffset",
  stddeviation: "stdDeviation",
  stitchtiles: "stitchTiles",
  stopcolor: "stopColor",
  "stop-color": "stopColor",
  stopopacity: "stopOpacity",
  "stop-opacity": "stopOpacity",
  strikethroughposition: "strikethroughPosition",
  "strikethrough-position": "strikethroughPosition",
  strikethroughthickness: "strikethroughThickness",
  "strikethrough-thickness": "strikethroughThickness",
  strokedasharray: "strokeDasharray",
  "stroke-dasharray": "strokeDasharray",
  strokedashoffset: "strokeDashoffset",
  "stroke-dashoffset": "strokeDashoffset",
  strokelinecap: "strokeLinecap",
  "stroke-linecap": "strokeLinecap",
  strokelinejoin: "strokeLinejoin",
  "stroke-linejoin": "strokeLinejoin",
  strokemiterlimit: "strokeMiterlimit",
  "stroke-miterlimit": "strokeMiterlimit",
  strokewidth: "strokeWidth",
  "stroke-width": "strokeWidth",
  strokeopacity: "strokeOpacity",
  "stroke-opacity": "strokeOpacity",
  suppresscontenteditablewarning: "suppressContentEditableWarning",
  suppresshydrationwarning: "suppressHydrationWarning",
  surfacescale: "surfaceScale",
  systemlanguage: "systemLanguage",
  tablevalues: "tableValues",
  targetx: "targetX",
  targety: "targetY",
  textanchor: "textAnchor",
  "text-anchor": "textAnchor",
  textdecoration: "textDecoration",
  "text-decoration": "textDecoration",
  textlength: "textLength",
  textrendering: "textRendering",
  "text-rendering": "textRendering",
  underlineposition: "underlinePosition",
  "underline-position": "underlinePosition",
  underlinethickness: "underlineThickness",
  "underline-thickness": "underlineThickness",
  unicodebidi: "unicodeBidi",
  "unicode-bidi": "unicodeBidi",
  unicoderange: "unicodeRange",
  "unicode-range": "unicodeRange",
  unitsperem: "unitsPerEm",
  "units-per-em": "unitsPerEm",
  unselectable: "unselectable",
  valphabetic: "vAlphabetic",
  "v-alphabetic": "vAlphabetic",
  vectoreffect: "vectorEffect",
  "vector-effect": "vectorEffect",
  vertadvy: "vertAdvY",
  "vert-adv-y": "vertAdvY",
  vertoriginx: "vertOriginX",
  "vert-origin-x": "vertOriginX",
  vertoriginy: "vertOriginY",
  "vert-origin-y": "vertOriginY",
  vhanging: "vHanging",
  "v-hanging": "vHanging",
  videographic: "vIdeographic",
  "v-ideographic": "vIdeographic",
  viewbox: "viewBox",
  viewtarget: "viewTarget",
  vmathematical: "vMathematical",
  "v-mathematical": "vMathematical",
  wordspacing: "wordSpacing",
  "word-spacing": "wordSpacing",
  writingmode: "writingMode",
  "writing-mode": "writingMode",
  xchannelselector: "xChannelSelector",
  xheight: "xHeight",
  "x-height": "xHeight",
  xlinkactuate: "xlinkActuate",
  "xlink:actuate": "xlinkActuate",
  xlinkarcrole: "xlinkArcrole",
  "xlink:arcrole": "xlinkArcrole",
  xlinkhref: "xlinkHref",
  "xlink:href": "xlinkHref",
  xlinkrole: "xlinkRole",
  "xlink:role": "xlinkRole",
  xlinkshow: "xlinkShow",
  "xlink:show": "xlinkShow",
  xlinktitle: "xlinkTitle",
  "xlink:title": "xlinkTitle",
  xlinktype: "xlinkType",
  "xlink:type": "xlinkType",
  xmlbase: "xmlBase",
  "xml:base": "xmlBase",
  xmllang: "xmlLang",
  "xml:lang": "xmlLang",
  "xml:space": "xmlSpace",
  xmlnsxlink: "xmlnsXlink",
  "xmlns:xlink": "xmlnsXlink",
  xmlspace: "xmlSpace",
  ychannelselector: "yChannelSelector",
  zoomandpan: "zoomAndPan",
  // event handlers
  onblur: "onBlur",
  onchange: "onChange",
  onclick: "onClick",
  oncontextmenu: "onContextMenu",
  ondoubleclick: "onDoubleClick",
  ondrag: "onDrag",
  ondragend: "onDragEnd",
  ondragenter: "onDragEnter",
  ondragexit: "onDragExit",
  ondragleave: "onDragLeave",
  ondragover: "onDragOver",
  ondragstart: "onDragStart",
  ondrop: "onDrop",
  onerror: "onError",
  onfocus: "onFocus",
  oninput: "onInput",
  oninvalid: "onInvalid",
  onkeydown: "onKeyDown",
  onkeypress: "onKeyPress",
  onkeyup: "onKeyUp",
  onload: "onLoad",
  onmousedown: "onMouseDown",
  onmouseenter: "onMouseEnter",
  onmouseleave: "onMouseLeave",
  onmousemove: "onMouseMove",
  onmouseout: "onMouseOut",
  onmouseover: "onMouseOver",
  onmouseup: "onMouseUp",
  onscroll: "onScroll",
  onsubmit: "onSubmit",
  ontouchcancel: "onTouchCancel",
  ontouchend: "onTouchEnd",
  ontouchmove: "onTouchMove",
  ontouchstart: "onTouchStart",
  onwheel: "onWheel"
}, Z1 = function() {
  return Z1 = Object.assign || function(e10) {
    for (var t, n = 1, r = arguments.length; n < r; n++) {
      t = arguments[n];
      for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (e10[o] = t[o]);
    }
    return e10;
  }, Z1.apply(this, arguments);
}, p4 = function(e10, t) {
  var n = typeof Symbol == "function" && e10[Symbol.iterator];
  if (!n) return e10;
  var r = n.call(e10), o, i = [], u;
  try {
    for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) i.push(o.value);
  } catch (p) {
    u = { error: p };
  } finally {
    try {
      o && !o.done && (n = r.return) && n.call(r);
    } finally {
      if (u) throw u.error;
    }
  }
  return i;
}, b4 = function(e10, t, n) {
  if (arguments.length === 2) for (var r = 0, o = t.length, i; r < o; r++)
    (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
  return e10.concat(i || Array.prototype.slice.call(t));
};
function nve(e10, t) {
  var n = {
    key: t
  };
  if (e10 instanceof Element) {
    var r = e10.getAttribute("class");
    r && (n.className = r), b4([], p4(e10.attributes), false).forEach(function(o) {
      switch (o.name) {
        // this is manually handled above, so break;
        case "class":
          break;
        case "style":
          n[o.name] = qme(o.value);
          break;
        case "allowfullscreen":
        case "allowpaymentrequest":
        case "async":
        case "autofocus":
        case "autoplay":
        case "checked":
        case "controls":
        case "default":
        case "defer":
        case "disabled":
        case "formnovalidate":
        case "hidden":
        case "ismap":
        case "itemscope":
        case "loop":
        case "multiple":
        case "muted":
        case "nomodule":
        case "novalidate":
        case "open":
        case "readonly":
        case "required":
        case "reversed":
        case "selected":
        case "typemustmatch":
          n[T_[o.name] || o.name] = true;
          break;
        default:
          n[T_[o.name] || o.name] = o.value;
      }
    });
  }
  return n;
}
function rve(e10, t, n) {
  var r = b4([], p4(e10), false).map(function(o, i) {
    return U2(o, Z1(Z1({}, n), { index: i, level: t + 1 }));
  }).filter(Boolean);
  return r.length ? r : null;
}
function ove(e10) {
  return /[a-z]+[A-Z]+[a-z]+/.test(e10) ? e10 : e10.toLowerCase();
}
function U2(e10, t) {
  var n;
  if (t === void 0 && (t = {}), !e10 || !(e10 instanceof Node))
    return null;
  var r = t.actions, o = r === void 0 ? [] : r, i = t.index, u = i === void 0 ? 0 : i, p = t.level, v = p === void 0 ? 0 : p, y = t.randomKey, k = e10, T = "".concat(v, "-").concat(u), R = [];
  if (y && v === 0 && (T = "".concat(eve(), "-").concat(T)), Array.isArray(o) && o.forEach(function(S) {
    S.condition(k, T, v) && (typeof S.pre == "function" && (k = S.pre(k, T, v), k instanceof Node || (k = e10, "production")), typeof S.post == "function" && R.push(S.post(k, T, v)));
  }), R.length)
    return R;
  switch (k.nodeType) {
    case 1:
      return reactExports.createElement(ove(k.nodeName), nve(k, T), rve(k.childNodes, v, t));
    case 3: {
      var I = ((n = k.nodeValue) === null || n === void 0 ? void 0 : n.toString()) || "";
      if (/^\s+$/.test(I) && !/[\u00A0\u202F]/.test(I))
        return null;
      if (!k.parentNode)
        return I;
      var P = k.parentNode.nodeName.toLowerCase();
      return tve.includes(P) ? null : I;
    }
    case 8:
      return null;
    /* istanbul ignore next */
    default:
      return null;
  }
}
function ive(e10, t) {
  if (t === void 0 && (t = {}), !e10 || typeof e10 != "string")
    return null;
  var n = t.nodeOnly, r = n === void 0 ? false : n, o = t.selector, i = o === void 0 ? "body > *" : o, u = t.type, p = u === void 0 ? "text/html" : u;
  try {
    var v = new DOMParser(), y = v.parseFromString(e10, p), k = y.querySelector(i);
    if (!(k instanceof Node))
      throw new TypeError("Error parsing input");
    return r ? k : U2(k, t);
  } catch {
  }
  return null;
}
function g4(e10, t) {
  return t === void 0 && (t = {}), typeof e10 == "string" ? ive(e10, t) : e10 instanceof Node ? U2(e10, t) : null;
}
const k_ = "react-inlinesvg", E_ = 10, ii = {
  IDLE: "idle",
  LOADING: "loading",
  LOADED: "loaded",
  FAILED: "failed",
  READY: "ready",
  UNSUPPORTED: "unsupported"
};
function k1() {
  return !!(typeof window < "u" && window.document && window.document.createElement);
}
function ave() {
  return lve() && typeof window < "u" && window !== null;
}
async function m4(e10, t) {
  const n = await fetch(e10, t), r = n.headers.get("content-type"), [o] = (r ?? "").split(/ ?; ?/);
  if (n.status > 299)
    throw new Error("Not found");
  if (!["image/svg+xml", "text/plain"].some((i) => o.includes(i)))
    throw new Error(`Content type isn't valid: ${o}`);
  return n.text();
}
function sve(e10 = 1) {
  return new Promise((t) => {
    setTimeout(t, e10 * 1e3);
  });
}
function lve() {
  if (!document)
    return false;
  const e10 = document.createElement("div");
  e10.innerHTML = "<svg />";
  const t = e10.firstChild;
  return !!t && t.namespaceURI === "http://www.w3.org/2000/svg";
}
function uve(e10) {
  return e10[Math.floor(Math.random() * e10.length)];
}
function cve(e10) {
  const t = "abcdefghijklmnopqrstuvwxyz", r = `${t}${t.toUpperCase()}1234567890`;
  let o = "";
  for (let i = 0; i < e10; i++)
    o += uve(r);
  return o;
}
function dve(e10, ...t) {
  const n = {};
  for (const r in e10)
    ({}).hasOwnProperty.call(e10, r) && (t.includes(r) || (n[r] = e10[r]));
  return n;
}
class fve {
  constructor() {
    vo(this, "cacheApi");
    vo(this, "cacheStore");
    vo(this, "subscribers", []);
    vo(this, "isReady", false);
    this.cacheStore = /* @__PURE__ */ new Map();
    let t = k_, n = false;
    k1() && (t = window.REACT_INLINESVG_CACHE_NAME ?? k_, n = !!window.REACT_INLINESVG_PERSISTENT_CACHE && "caches" in window), n ? caches.open(t).then((r) => {
      this.cacheApi = r, this.isReady = true, this.subscribers.forEach((o) => o());
    }).catch((r) => {
      this.isReady = true;
    }) : this.isReady = true;
  }
  onReady(t) {
    this.isReady ? t() : this.subscribers.push(t);
  }
  async get(t, n) {
    var r;
    return await (this.cacheApi ? this.fetchAndAddToPersistentCache(t, n) : this.fetchAndAddToInternalCache(t, n)), ((r = this.cacheStore.get(t)) == null ? void 0 : r.content) ?? "";
  }
  set(t, n) {
    this.cacheStore.set(t, n);
  }
  isCached(t) {
    var n;
    return ((n = this.cacheStore.get(t)) == null ? void 0 : n.status) === ii.LOADED;
  }
  async fetchAndAddToInternalCache(t, n) {
    const r = this.cacheStore.get(t);
    if ((r == null ? void 0 : r.status) === ii.LOADING) {
      await this.handleLoading(t, async () => {
        this.cacheStore.set(t, {
          content: "",
          status: ii.IDLE
        }), await this.fetchAndAddToInternalCache(t, n);
      });
      return;
    }
    if (!(r != null && r.content)) {
      this.cacheStore.set(t, {
        content: "",
        status: ii.LOADING
      });
      try {
        const o = await m4(t, n);
        this.cacheStore.set(t, {
          content: o,
          status: ii.LOADED
        });
      } catch (o) {
        throw this.cacheStore.set(t, {
          content: "",
          status: ii.FAILED
        }), o;
      }
    }
  }
  async fetchAndAddToPersistentCache(t, n) {
    var i, u, p;
    const r = this.cacheStore.get(t);
    if ((r == null ? void 0 : r.status) === ii.LOADED)
      return;
    if ((r == null ? void 0 : r.status) === ii.LOADING) {
      await this.handleLoading(t, async () => {
        this.cacheStore.set(t, {
          content: "",
          status: ii.IDLE
        }), await this.fetchAndAddToPersistentCache(t, n);
      });
      return;
    }
    this.cacheStore.set(t, {
      content: "",
      status: ii.LOADING
    });
    const o = await ((i = this.cacheApi) == null ? void 0 : i.match(t));
    if (o) {
      const v = await o.text();
      this.cacheStore.set(t, {
        content: v,
        status: ii.LOADED
      });
      return;
    }
    try {
      await ((u = this.cacheApi) == null ? void 0 : u.add(new Request(t, n)));
      const v = await ((p = this.cacheApi) == null ? void 0 : p.match(t)), y = await (v == null ? void 0 : v.text()) ?? "";
      this.cacheStore.set(t, {
        content: y,
        status: ii.LOADED
      });
    } catch (v) {
      throw this.cacheStore.set(t, {
        content: "",
        status: ii.FAILED
      }), v;
    }
  }
  async handleLoading(t, n) {
    var o;
    let r = 0;
    for (; ((o = this.cacheStore.get(t)) == null ? void 0 : o.status) === ii.LOADING && r < E_; )
      await sve(0.1), r += 1;
    r >= E_ && await n();
  }
  keys() {
    return [...this.cacheStore.keys()];
  }
  data() {
    return [...this.cacheStore.entries()].map(([t, n]) => ({
      [t]: n
    }));
  }
  async delete(t) {
    this.cacheApi && await this.cacheApi.delete(t), this.cacheStore.delete(t);
  }
  async clear() {
    if (this.cacheApi) {
      const t = await this.cacheApi.keys();
      for (const n of t)
        await this.cacheApi.delete(n);
    }
    this.cacheStore.clear();
  }
}
function C_(e10) {
  const t = reactExports.useRef(null);
  return reactExports.useEffect(() => {
    t.current = e10;
  }), t.current;
}
function hve(e10) {
  const {
    baseURL: t,
    content: n,
    description: r,
    handleError: o,
    hash: i,
    preProcessor: u,
    title: p,
    uniquifyIDs: v = false
  } = e10;
  try {
    const y = pve(n, u), k = g4(y, {
      nodeOnly: true
    });
    if (!k || !(k instanceof SVGSVGElement))
      throw new Error("Could not convert the src to a DOM Node");
    const T = v4(k, {
      baseURL: t,
      hash: i,
      uniquifyIDs: v
    });
    if (r) {
      const R = T.querySelector("desc");
      R != null && R.parentNode && R.parentNode.removeChild(R);
      const I = document.createElementNS("http://www.w3.org/2000/svg", "desc");
      I.innerHTML = r, T.prepend(I);
    }
    if (typeof p < "u") {
      const R = T.querySelector("title");
      if (R != null && R.parentNode && R.parentNode.removeChild(R), p) {
        const I = document.createElementNS("http://www.w3.org/2000/svg", "title");
        I.innerHTML = p, T.prepend(I);
      }
    }
    return T;
  } catch (y) {
    return o(y);
  }
}
function pve(e10, t) {
  return t ? t(e10) : e10;
}
function v4(e10, t) {
  const {
    baseURL: n = "",
    hash: r,
    uniquifyIDs: o
  } = t, i = ["id", "href", "xlink:href", "xlink:role", "xlink:arcrole"], u = ["href", "xlink:href"], p = (v, y) => u.includes(v) && (y ? !y.includes("#") : false);
  return o && [...e10.children].forEach((v) => {
    var y;
    if ((y = v.attributes) != null && y.length) {
      const k = Object.values(v.attributes).map((T) => {
        const R = T, I = /url\((.*?)\)/.exec(T.value);
        return I != null && I[1] && (R.value = T.value.replace(I[0], `url(${n}${I[1]}__${r})`)), R;
      });
      i.forEach((T) => {
        const R = k.find((I) => I.name === T);
        R && !p(T, R.value) && (R.value = `${R.value}__${r}`);
      });
    }
    return v.children.length ? v4(v, t) : v;
  }), e10;
}
let Rp;
function bve(e10) {
  const {
    cacheRequests: t = true,
    children: n = null,
    description: r,
    fetchOptions: o,
    innerRef: i,
    loader: u = null,
    onError: p,
    onLoad: v,
    src: y,
    title: k,
    uniqueHash: T
  } = e10, [R, I] = reactExports.useReducer((be, ie) => ({
    ...be,
    ...ie
  }), {
    content: "",
    element: null,
    isCached: t && Rp.isCached(e10.src),
    status: ii.IDLE
  }), {
    content: P,
    element: S,
    isCached: U,
    status: B
  } = R, X = C_(e10), Z = C_(R), te = reactExports.useRef(T ?? cve(8)), Q = reactExports.useRef(false), q = reactExports.useRef(false), F = reactExports.useCallback((be) => {
    Q.current && (I({
      status: be.message === "Browser does not support SVG" ? ii.UNSUPPORTED : ii.FAILED
    }), p == null || p(be));
  }, [p]), ne = reactExports.useCallback((be, ie = false) => {
    Q.current && I({
      content: be,
      isCached: ie,
      status: ii.LOADED
    });
  }, []), ae = reactExports.useCallback(async () => {
    const be = await m4(y, o);
    ne(be);
  }, [o, ne, y]), pe = reactExports.useCallback(() => {
    try {
      const be = hve({
        ...e10,
        handleError: F,
        hash: te.current,
        content: P
      }), ie = g4(be);
      if (!ie || !reactExports.isValidElement(ie))
        throw new Error("Could not convert the src to a React element");
      I({
        element: ie,
        status: ii.READY
      });
    } catch (be) {
      F(new Error(be.message));
    }
  }, [P, F, e10]), Ve = reactExports.useCallback(async () => {
    const be = /^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(y);
    let ie;
    if (be ? ie = be[1] ? window.atob(be[2]) : decodeURIComponent(be[2]) : y.includes("<svg") && (ie = y), ie) {
      ne(ie);
      return;
    }
    try {
      if (t) {
        const de = await Rp.get(y, o);
        ne(de, true);
      } else
        await ae();
    } catch (de) {
      F(de);
    }
  }, [t, ae, o, F, ne, y]), we = reactExports.useCallback(() => {
    Q.current && I({
      content: "",
      element: null,
      isCached: false,
      status: ii.LOADING
    });
  }, []);
  reactExports.useEffect(
    () => {
      if (Q.current = true, !k1() || q.current)
        return () => {
        };
      try {
        if (B === ii.IDLE) {
          if (!ave())
            throw new Error("Browser does not support SVG");
          if (!y)
            throw new Error("Missing src");
          we();
        }
      } catch (be) {
        F(be);
      }
      return q.current = true, () => {
        Q.current = false;
      };
    },
    // eslint-disable-next-line react-hooks/exhaustive-deps
    []
  ), reactExports.useEffect(() => {
    if (k1() && X)
      if (X.src !== y) {
        if (!y) {
          F(new Error("Missing src"));
          return;
        }
        we();
      } else (X.title !== k || X.description !== r) && pe();
  }, [r, pe, F, we, X, y, k]), reactExports.useEffect(() => {
    Z && (Z.status !== ii.LOADING && B === ii.LOADING && Ve(), Z.status !== ii.LOADED && B === ii.LOADED && pe(), Z.status !== ii.READY && B === ii.READY && (v == null || v(y, U)));
  }, [Ve, pe, U, v, Z, y, B]);
  const Te = dve(e10, "baseURL", "cacheRequests", "children", "description", "fetchOptions", "innerRef", "loader", "onError", "onLoad", "preProcessor", "src", "title", "uniqueHash", "uniquifyIDs");
  return k1() ? S ? reactExports.cloneElement(S, {
    ref: i,
    ...Te
  }) : [ii.UNSUPPORTED, ii.FAILED].includes(B) ? n : u : u;
}
function gve(e10) {
  Rp || (Rp = new fve());
  const {
    loader: t
  } = e10, n = reactExports.useRef(false), [r, o] = reactExports.useState(Rp.isReady);
  return reactExports.useEffect(() => {
    n.current || (Rp.onReady(() => {
      o(true);
    }), n.current = true);
  }, []), r ? jsxRuntimeExports.jsx(bve, {
    ...e10
  }) : t;
}
const y4 = Ny(gve).attrs(({
  testid: e10
}) => ({
  "data-testid": e10
}))`
  width: ${({
  width: e10
}) => e10}px;
  filter: (${({
  filter: e10
}) => e10}px);
  height: ${({
  width: e10
}) => e10}px;
  vertical-align: baseline;
  background-repeat: ${({
  backgroundrepeat: e10
}) => e10};

  & path {
    width: ${({
  width: e10
}) => e10}px;
    height: ${({
  width: e10
}) => e10}px;
    fill: ${({
  color: e10
}) => e10};
    fill-opacity: ${({
  fillOpacity: e10
}) => e10};
    background-repeat: ${({
  backgroundrepeat: e10
}) => e10};
  }

  & rect {
    fill: ${({
  backgroundcolor: e10
}) => e10};
    background-repeat: ${({
  backgroundrepeat: e10
}) => e10};
  }

  &:hover {
    & path {
      fill: ${({
  hovercolor: e10
}) => e10};
    }
  }

  &.hover {
    & path {
      fill: ${({
  hovercolor: e10
}) => e10};
    }
  }
`, mve = "spin_fV", vve = {
  spin: mve
};
var ai;
(function(e10) {
  e10.small = "small", e10.large = "large";
})(ai || (ai = {}));
const li = (e10) => {
  const {
    style: t,
    children: n,
    svgClassName: r = "",
    className: o = "",
    onClick: i,
    role: u,
    icnRef: p,
    hasCircle: v,
    testId: y,
    forceSize: k,
    circleSize: T,
    spin: R,
    onMouseEnter: I,
    onMouseLeave: P
  } = e10;
  let {
    type: S,
    color: U,
    fillColor: B,
    hoverColor: X,
    fillOpacity: Z
  } = e10, te = {
    display: "inlineBlock",
    flexShrink: 0
  };
  if (S || (S = ai.small), U ? U = Xm(U) : U = "var(--n900)", X ? X = Xm(X) : X = U, v && (te = {
    ...te,
    border: `2px solid ${U}`,
    padding: 2,
    alignItems: "center",
    justifyContent: "center",
    borderRadius: "50%",
    height: T || "auto",
    width: T || "auto"
  }, B)) {
    B = Xm(B);
    const pe = Z ? dme(B, Z) : B;
    te = {
      ...te,
      backgroundColor: pe,
      border: `2px solid ${pe}`
      // backgroundClip: "padding-box", // Ensures the background color doesn't bleed into the border
    };
  }
  const Q = S === ai.small ? 16 : 24, q = S === ai.small ? "" : "-1", {
    SvgIcon: F,
    loading: ne,
    error: ae
  } = Eb(`icons/Icon-${n}${q}.svg`);
  return F ? jsxRuntimeExports.jsx("span", {
    "data-testid": y,
    onClick: i,
    onMouseEnter: I,
    onMouseLeave: P,
    className: Kt(o, R ? vve.spin : ""),
    role: u,
    ref: p,
    style: {
      ...t,
      ...te,
      // border:'1px solid red',
      // width: height,
      // height: height,
      display: "flex"
    },
    children: jsxRuntimeExports.jsx(y4, {
      role: "figure",
      testid: y ? `${y}-svg` : "",
      hovercolor: X,
      className: r,
      width: k || Q,
      height: k || Q,
      color: U,
      src: F,
      onMouseEnter: I,
      onMouseLeave: P
    })
  }) : null;
}, yve = "container_-4", S_ = {
  container: yve
}, O8e = (e10) => {
  const {
    testId: t,
    children: n,
    icon: r,
    iconColor: o,
    verticalAlign: i = "center",
    iconSize: u = ai.large,
    iconHasCircle: p,
    iconFillColor: v,
    iconRotating: y,
    iconCircleSize: k,
    iconForceSize: T,
    translate: R,
    fontWeight: I,
    textType: P,
    textTight: S,
    textColor: U,
    replacements: B,
    className: X,
    ellipsis: Z,
    maxWidth: te
  } = e10;
  function Q() {
    return i === "start" ? FT : Bp;
  }
  function q() {
    if (i === "start" && u === ai.small)
      return JT;
  }
  return jsxRuntimeExports.jsxs(Li, {
    testId: t,
    className: Kt(S_.container, Q()),
    style: te ? {
      maxWidth: te
    } : {},
    children: [jsxRuntimeExports.jsx(li, {
      hasCircle: p,
      circleSize: k,
      forceSize: T,
      testId: "icon",
      type: u,
      spin: y,
      fillColor: v,
      color: o || "--n400",
      className: Kt(S_.icon, q()),
      children: r
    }), jsxRuntimeExports.jsx(nr, {
      textTight: S,
      fontWeight: I,
      replacements: B,
      type: P,
      color: U || void 0,
      translate: R,
      className: X,
      ellipsis: Z,
      children: n == "" || !n ? "&#8212;" : n
    })]
  }, n);
}, qs = {
  invalidPathChars: /[^/.a-zA-Z0-9-?=~_&#]+[^/.a-zA-Z0-9-?=~_&#]*/,
  phone: /^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s.0-9]*$/,
  email: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,
  url: /(?:https?:\/\/)?[a-zA-Z0-9-]+(?:\.[a-zA-Z]{2,})+(?:\/[^\s]*)?/g,
  // url: /[a-zA-Z0-9]+\.[a-zA-Z]+/g,
  // url: /(?:https?:\/\/)?(?:www\.)?[a-zA-Z0-9_-]+(?:\.[a-zA-Z]+){1,}(?:\/[^\s]*)?(?:\?[^#\s]*)?(?:#[^\s]*)?/g,
  specialChars: /[@#<>|\[\]\{\}*`’±;]+|(\.){2,}/g,
  multipleSpaces: /\s{2,}/g,
  onlySpaces: /^\s{1,}$/g,
  exclamationMark: /!/g,
  textAfterCommaOrPeriod: /[,\.][^\s]/,
  fullCapitalization: /^([A-Z\s,.][A-Z\s,.]+)$/g,
  excessiveCapitalisation: /\b(?:\w*[A-Z]){2}\w*\b/,
  at: /@/g,
  domain: /^(?:https?:\/\/)?(?:www\.)?([^\/]+)/i,
  path: /[^a-zA-Z0-9_\-À-ɏḀ-ỿ ]/g,
  fullStopMark: /\./g
}, Wg = () => useDispatch(), H2 = (e10 = 0) => {
  const [t, n] = reactExports.useState(window.innerWidth);
  return reactExports.useEffect(() => {
    const r = e10 ? xve(() => n(window.innerWidth), e10) : () => n(window.innerWidth);
    return window.addEventListener("resize", r), () => {
      window.removeEventListener("resize", r);
    };
  }, [e10]), t;
};
function xve(e10, t = 300) {
  let n;
  return function(...r) {
    clearTimeout(n), n = setTimeout(() => {
      e10.apply(this, r);
    }, t);
  };
}
function _ve(e10, t) {
  let n;
  return (...r) => {
    clearTimeout(n), n = setTimeout(() => {
      e10(...r);
    }, t);
  };
}
const wve = (e10, t, n) => {
  if (!t || !t.prevention) return true;
  const o = e10.target.selectionStart ?? 1;
  t && t.prevention && (e10.code === "Space" && t.prevention.multipleSpacesNotAllowed && ((n == null ? void 0 : n.toString().slice(o - 1, o)) === " " || (n == null ? void 0 : n.toString().slice(o, o + 1)) === " ") && e10.preventDefault(), e10.key === "!" && t.prevention.exclamationMarksNotAllowed && e10.preventDefault());
}, A_ = (e10) => e10.charAt(0).toUpperCase() + e10.slice(1);
function Tve(e10) {
  const t = [];
  let n = " ";
  const r = [" ", "-", "_"];
  for (const i of r)
    if (e10.indexOf(i) >= 0) {
      n = i;
      break;
    }
  const o = e10.split(n);
  if (o.length > 1)
    for (let i = 0; i <= 1; i++)
      o[i].charAt(0) !== "" && t.push(o[i].charAt(0).toUpperCase());
  else
    t.push(o[0].charAt(0).toUpperCase());
  return t;
}
const kve = (e10, t, n) => {
  if (e10.length > t) {
    let r = t;
    for (; e10.charCodeAt(r) >= 56320 && e10.charCodeAt(r) <= 57343 && r < e10.length; )
      r++;
    const o = e10.slice(0, Math.max(0, r)), i = e10.slice(Math.max(0, r));
    return `${o}<span class="${n}">${i}</span>`;
  }
  return e10;
}, x4 = (e10) => {
  if (!e10 || typeof e10 != "string")
    return false;
  const t = e10.trim();
  return /^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t);
}, _4 = (e10) => {
  const t = e10.passError;
  if (Array.isArray(t) && e10.arrayPosition !== void 0) {
    const n = t[e10.arrayPosition];
    return e10.errors = [n], n ?? "";
  }
  return Array.isArray(t) && e10.arrayPosition === void 0 ? "" : typeof t == "string" ? t : "";
}, Eve = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|22"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[047]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "[24-689]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]]]], BL: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|5[12]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|76[018])\\d|475[0-2])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "(?:[2-467]\\d\\d|8001)\\d{5}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[23]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-79]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "(?:[2-8]\\d|90)\\d{8}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "[189]\\d{8}|[1-68]\\d{6}", [7, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]", "(?:10|2[0-57-9])(?:10|9[56])", "10(?:10|9[56])|2[0-57-9](?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}", [10, 11], [["(\\d{3})(\\d{7})", "$1 $2", ["6"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0(4(?:[14]4|56)|[579])?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["5"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[0568]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[189]"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d)(\\d{4,9})", "$1 $2", ["[2568][1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[12]00|[368]|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[1245]|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d\\d|1(?:[0-7]\\d\\d|8(?:[02]\\d|1[0-46-9])))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "[56]94\\d{6}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[56]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|76[018])\\d|475[0-2])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([3-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "9008\\d{3}|(?:[2-467]\\d\\d|862)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-5]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "(?:[2-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[1-9]\\d{8}|3[2-9]\\d{7}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], 0, 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|(?:[235-8]\\d|99)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["30[013-9]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[4-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(8-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "8 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(8-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(8-$1)", 1]], "8", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{5})(\\d{4})", "$1-$2", ["5(?:29|38)", "5(?:29[1289]|389)", "529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-489]|3[5-9]|9)|892", "5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5293[01]\\d{4}|5(?:2(?:[0-25-7]\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[017]\\d|2[0-2]|6[0-8]|8[0-3]))\\d{6}"], ["80\\d{7}"], ["89\\d{7}"], 0, 0, 0, 0, ["592(?:4[0-2]|93)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:395|76[018])\\d|475[0-2])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "596\\d{6}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "1(?:(?:[27]2|44|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-79]|9[1-8])|[2-9]\\d)\\d{8}", [10, 11], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"], 0, 1], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 $3 $4", ["1(?:33|5[56]|81)"], 0, 1], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 $3 $4", ["1"], 0, 1]], "01", 0, "0(?:[12]|4[45])|1", 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[04]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}", [7, 8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["78"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|9(?:0[3-9]|[1-9])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[3-7]|8[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[489]|59"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-7]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], NU: ["683", "00", "(?:[47]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[29]\\d{7,9}|50\\d{5}(?:\\d{2,3})?|6[0-35-9]\\d{6}|7\\d{7,8}|8\\d{4,9}|(?:11\\d|[34])\\d{7}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-579]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|[89]0", "50(?:[0367]|88)|[89]0"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[59]|80"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7|86"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|80\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-6])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[16]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-3]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))|9(?:399[0-3]|479[0-2]|76(?:2[27]|3[0-37]|9\\d)))\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, 0, ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[2378]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[237-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "3[04-689]|[489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]]], "0"], SA: ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "(?:[1-6]|[7-9]\\d\\d)\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "800\\d{4}|(?:[249]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-6]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|[57]9)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[3478]|64|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6(?:0[5-7]|[1-35-9])|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-8]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-5]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[69]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2679]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[34]7|91[78]"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3[1-5]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "[1-6]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["6"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|616)", "5(?:[0-59]|6161)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:4722(?:0[0-35]|27)|505(?:[2-57-9]\\d\\d|6(?:[0-35-9]\\d|4[46])))\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "(?:0004|4)\\d{9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [7, 8, 10, 13], [["(\\d{3})(\\d{4})", "$1 $2", ["405|8|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "810", "(?:33|[5-79]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[35-9]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[69]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[3578]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[478]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[23]"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "(?:(?:(?:26|63)9|80\\d)\\d|9398)\\d{5}", [9], 0, "0", 0, 0, 0, 0, "269|63|9398"], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|63|[79]\\d)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[35-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[35-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "[0-36-9]\\d{8}", [9], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-36-9]"]]], 0, 0, 0, 0, 0, 0, [0, ["[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, 0, 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
function Cve(e10, t) {
  var n = Array.prototype.slice.call(t);
  return n.push(Eve), e10.apply(this, n);
}
function Ly(e10) {
  "@babel/helpers - typeof";
  return Ly = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, Ly(e10);
}
function Sve(e10, t, n) {
  return Object.defineProperty(e10, "prototype", { writable: false }), e10;
}
function Ave(e10, t) {
  if (!(e10 instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
function Pve(e10, t) {
  if (typeof t != "function" && t !== null)
    throw new TypeError("Super expression must either be null or a function");
  e10.prototype = Object.create(t && t.prototype, { constructor: { value: e10, writable: true, configurable: true } }), Object.defineProperty(e10, "prototype", { writable: false }), t && pb(e10, t);
}
function Rve(e10) {
  var t = T4();
  return function() {
    var r = bb(e10), o;
    if (t) {
      var i = bb(this).constructor;
      o = Reflect.construct(r, arguments, i);
    } else
      o = r.apply(this, arguments);
    return Ive(this, o);
  };
}
function Ive(e10, t) {
  if (t && (Ly(t) === "object" || typeof t == "function"))
    return t;
  if (t !== void 0)
    throw new TypeError("Derived constructors may only return object or undefined");
  return w4(e10);
}
function w4(e10) {
  if (e10 === void 0)
    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  return e10;
}
function By(e10) {
  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
  return By = function(r) {
    if (r === null || !Mve(r)) return r;
    if (typeof r != "function")
      throw new TypeError("Super expression must either be null or a function");
    if (typeof t < "u") {
      if (t.has(r)) return t.get(r);
      t.set(r, o);
    }
    function o() {
      return E1(r, arguments, bb(this).constructor);
    }
    return o.prototype = Object.create(r.prototype, { constructor: { value: o, enumerable: false, writable: true, configurable: true } }), pb(o, r);
  }, By(e10);
}
function E1(e10, t, n) {
  return T4() ? E1 = Reflect.construct : E1 = function(o, i, u) {
    var p = [null];
    p.push.apply(p, i);
    var v = Function.bind.apply(o, p), y = new v();
    return u && pb(y, u.prototype), y;
  }, E1.apply(null, arguments);
}
function T4() {
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return false;
  if (typeof Proxy == "function") return true;
  try {
    return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
    })), true;
  } catch {
    return false;
  }
}
function Mve(e10) {
  return Function.toString.call(e10).indexOf("[native code]") !== -1;
}
function pb(e10, t) {
  return pb = Object.setPrototypeOf || function(r, o) {
    return r.__proto__ = o, r;
  }, pb(e10, t);
}
function bb(e10) {
  return bb = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
    return n.__proto__ || Object.getPrototypeOf(n);
  }, bb(e10);
}
var Df = /* @__PURE__ */ (function(e10) {
  Pve(n, e10);
  var t = Rve(n);
  function n(r) {
    var o;
    return Ave(this, n), o = t.call(this, r), Object.setPrototypeOf(w4(o), n.prototype), o.name = o.constructor.name, o;
  }
  return Sve(n);
})(/* @__PURE__ */ By(Error)), $2 = 2, Ove = 17, Dve = 3, Bd = "0-9０-９٠-٩۰-۹", Fve = "-‐-―−ー－", Nve = "／/", Lve = "．.", Bve = "  ­​⁠　", zve = "()（）［］\\[\\]", Wve = "~⁓∼～", K1 = "".concat(Fve).concat(Nve).concat(Lve).concat(Bve).concat(zve).concat(Wve), V2 = "+＋";
function P_(e10, t) {
  e10 = e10.split("-"), t = t.split("-");
  for (var n = e10[0].split("."), r = t[0].split("."), o = 0; o < 3; o++) {
    var i = Number(n[o]), u = Number(r[o]);
    if (i > u) return 1;
    if (u > i) return -1;
    if (!isNaN(i) && isNaN(u)) return 1;
    if (isNaN(i) && !isNaN(u)) return -1;
  }
  return e10[1] && t[1] ? e10[1] > t[1] ? 1 : e10[1] < t[1] ? -1 : 0 : !e10[1] && t[1] ? 1 : e10[1] && !t[1] ? -1 : 0;
}
function J1(e10) {
  "@babel/helpers - typeof";
  return J1 = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, J1(e10);
}
function Ug(e10, t) {
  if (!(e10 instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
function Uve(e10, t) {
  for (var n = 0; n < t.length; n++) {
    var r = t[n];
    r.enumerable = r.enumerable || false, r.configurable = true, "value" in r && (r.writable = true), Object.defineProperty(e10, r.key, r);
  }
}
function Hg(e10, t, n) {
  return t && Uve(e10.prototype, t), Object.defineProperty(e10, "prototype", { writable: false }), e10;
}
var Hve = "1.2.0", $ve = "1.7.35", R_ = " ext. ", Vve = /^\d+$/, su = /* @__PURE__ */ (function() {
  function e10(t) {
    Ug(this, e10), Zve(t), this.metadata = t, k4.call(this, t);
  }
  return Hg(e10, [{
    key: "getCountries",
    value: function() {
      return Object.keys(this.metadata.countries).filter(function(n) {
        return n !== "001";
      });
    }
  }, {
    key: "getCountryMetadata",
    value: function(n) {
      return this.metadata.countries[n];
    }
  }, {
    key: "nonGeographic",
    value: function() {
      if (!(this.v1 || this.v2 || this.v3))
        return this.metadata.nonGeographic || this.metadata.nonGeographical;
    }
  }, {
    key: "hasCountry",
    value: function(n) {
      return this.getCountryMetadata(n) !== void 0;
    }
  }, {
    key: "hasCallingCode",
    value: function(n) {
      if (this.getCountryCodesForCallingCode(n))
        return true;
      if (this.nonGeographic()) {
        if (this.nonGeographic()[n])
          return true;
      } else {
        var r = this.countryCallingCodes()[n];
        if (r && r.length === 1 && r[0] === "001")
          return true;
      }
    }
  }, {
    key: "isNonGeographicCallingCode",
    value: function(n) {
      return this.nonGeographic() ? !!this.nonGeographic()[n] : !this.getCountryCodesForCallingCode(n);
    }
    // Deprecated.
  }, {
    key: "country",
    value: function(n) {
      return this.selectNumberingPlan(n);
    }
  }, {
    key: "selectNumberingPlan",
    value: function(n, r) {
      if (n && Vve.test(n) && (r = n, n = null), n && n !== "001") {
        if (!this.hasCountry(n))
          throw new Error("Unknown country: ".concat(n));
        this.numberingPlan = new I_(this.getCountryMetadata(n), this);
      } else if (r) {
        if (!this.hasCallingCode(r))
          throw new Error("Unknown calling code: ".concat(r));
        this.numberingPlan = new I_(this.getNumberingPlanMetadata(r), this);
      } else
        this.numberingPlan = void 0;
      return this;
    }
  }, {
    key: "getCountryCodesForCallingCode",
    value: function(n) {
      var r = this.countryCallingCodes()[n];
      if (r)
        return r.length === 1 && r[0].length === 3 ? void 0 : r;
    }
  }, {
    key: "getCountryCodeForCallingCode",
    value: function(n) {
      var r = this.getCountryCodesForCallingCode(n);
      if (r)
        return r[0];
    }
  }, {
    key: "getNumberingPlanMetadata",
    value: function(n) {
      var r = this.getCountryCodeForCallingCode(n);
      if (r)
        return this.getCountryMetadata(r);
      if (this.nonGeographic()) {
        var o = this.nonGeographic()[n];
        if (o)
          return o;
      } else {
        var i = this.countryCallingCodes()[n];
        if (i && i.length === 1 && i[0] === "001")
          return this.metadata.countries["001"];
      }
    }
    // Deprecated.
  }, {
    key: "countryCallingCode",
    value: function() {
      return this.numberingPlan.callingCode();
    }
    // Deprecated.
  }, {
    key: "IDDPrefix",
    value: function() {
      return this.numberingPlan.IDDPrefix();
    }
    // Deprecated.
  }, {
    key: "defaultIDDPrefix",
    value: function() {
      return this.numberingPlan.defaultIDDPrefix();
    }
    // Deprecated.
  }, {
    key: "nationalNumberPattern",
    value: function() {
      return this.numberingPlan.nationalNumberPattern();
    }
    // Deprecated.
  }, {
    key: "possibleLengths",
    value: function() {
      return this.numberingPlan.possibleLengths();
    }
    // Deprecated.
  }, {
    key: "formats",
    value: function() {
      return this.numberingPlan.formats();
    }
    // Deprecated.
  }, {
    key: "nationalPrefixForParsing",
    value: function() {
      return this.numberingPlan.nationalPrefixForParsing();
    }
    // Deprecated.
  }, {
    key: "nationalPrefixTransformRule",
    value: function() {
      return this.numberingPlan.nationalPrefixTransformRule();
    }
    // Deprecated.
  }, {
    key: "leadingDigits",
    value: function() {
      return this.numberingPlan.leadingDigits();
    }
    // Deprecated.
  }, {
    key: "hasTypes",
    value: function() {
      return this.numberingPlan.hasTypes();
    }
    // Deprecated.
  }, {
    key: "type",
    value: function(n) {
      return this.numberingPlan.type(n);
    }
    // Deprecated.
  }, {
    key: "ext",
    value: function() {
      return this.numberingPlan.ext();
    }
  }, {
    key: "countryCallingCodes",
    value: function() {
      return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
    }
    // Deprecated.
  }, {
    key: "chooseCountryByCountryCallingCode",
    value: function(n) {
      return this.selectNumberingPlan(n);
    }
  }, {
    key: "hasSelectedNumberingPlan",
    value: function() {
      return this.numberingPlan !== void 0;
    }
  }]), e10;
})(), I_ = /* @__PURE__ */ (function() {
  function e10(t, n) {
    Ug(this, e10), this.globalMetadataObject = n, this.metadata = t, k4.call(this, n.metadata);
  }
  return Hg(e10, [{
    key: "callingCode",
    value: function() {
      return this.metadata[0];
    }
    // Formatting information for regions which share
    // a country calling code is contained by only one region
    // for performance reasons. For example, for NANPA region
    // ("North American Numbering Plan Administration",
    //  which includes USA, Canada, Cayman Islands, Bahamas, etc)
    // it will be contained in the metadata for `US`.
  }, {
    key: "getDefaultCountryMetadataForRegion",
    value: function() {
      return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
    }
    // Is always present.
  }, {
    key: "IDDPrefix",
    value: function() {
      if (!(this.v1 || this.v2))
        return this.metadata[1];
    }
    // Is only present when a country supports multiple IDD prefixes.
  }, {
    key: "defaultIDDPrefix",
    value: function() {
      if (!(this.v1 || this.v2))
        return this.metadata[12];
    }
  }, {
    key: "nationalNumberPattern",
    value: function() {
      return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
    }
    // "possible length" data is always present in Google's metadata.
  }, {
    key: "possibleLengths",
    value: function() {
      if (!this.v1)
        return this.metadata[this.v2 ? 2 : 3];
    }
  }, {
    key: "_getFormats",
    value: function(n) {
      return n[this.v1 ? 2 : this.v2 ? 3 : 4];
    }
    // For countries of the same region (e.g. NANPA)
    // formats are all stored in the "main" country for that region.
    // E.g. "RU" and "KZ", "US" and "CA".
  }, {
    key: "formats",
    value: function() {
      var n = this, r = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
      return r.map(function(o) {
        return new Gve(o, n);
      });
    }
  }, {
    key: "nationalPrefix",
    value: function() {
      return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
    }
  }, {
    key: "_getNationalPrefixFormattingRule",
    value: function(n) {
      return n[this.v1 ? 4 : this.v2 ? 5 : 6];
    }
    // For countries of the same region (e.g. NANPA)
    // national prefix formatting rule is stored in the "main" country for that region.
    // E.g. "RU" and "KZ", "US" and "CA".
  }, {
    key: "nationalPrefixFormattingRule",
    value: function() {
      return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
    }
  }, {
    key: "_nationalPrefixForParsing",
    value: function() {
      return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
    }
  }, {
    key: "nationalPrefixForParsing",
    value: function() {
      return this._nationalPrefixForParsing() || this.nationalPrefix();
    }
  }, {
    key: "nationalPrefixTransformRule",
    value: function() {
      return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
    }
  }, {
    key: "_getNationalPrefixIsOptionalWhenFormatting",
    value: function() {
      return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
    }
    // For countries of the same region (e.g. NANPA)
    // "national prefix is optional when formatting" flag is
    // stored in the "main" country for that region.
    // E.g. "RU" and "KZ", "US" and "CA".
  }, {
    key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
    value: function() {
      return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
    }
  }, {
    key: "leadingDigits",
    value: function() {
      return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
    }
  }, {
    key: "types",
    value: function() {
      return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
    }
  }, {
    key: "hasTypes",
    value: function() {
      return this.types() && this.types().length === 0 ? false : !!this.types();
    }
  }, {
    key: "type",
    value: function(n) {
      if (this.hasTypes() && M_(this.types(), n))
        return new Xve(M_(this.types(), n), this);
    }
  }, {
    key: "ext",
    value: function() {
      return this.v1 || this.v2 ? R_ : this.metadata[13] || R_;
    }
  }]), e10;
})(), Gve = /* @__PURE__ */ (function() {
  function e10(t, n) {
    Ug(this, e10), this._format = t, this.metadata = n;
  }
  return Hg(e10, [{
    key: "pattern",
    value: function() {
      return this._format[0];
    }
  }, {
    key: "format",
    value: function() {
      return this._format[1];
    }
  }, {
    key: "leadingDigitsPatterns",
    value: function() {
      return this._format[2] || [];
    }
  }, {
    key: "nationalPrefixFormattingRule",
    value: function() {
      return this._format[3] || this.metadata.nationalPrefixFormattingRule();
    }
  }, {
    key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
    value: function() {
      return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
    }
  }, {
    key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
    value: function() {
      return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
    }
    // Checks whether national prefix formatting rule contains national prefix.
  }, {
    key: "usesNationalPrefix",
    value: function() {
      return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
      !Yve.test(this.nationalPrefixFormattingRule()));
    }
  }, {
    key: "internationalFormat",
    value: function() {
      return this._format[5] || this.format();
    }
  }]), e10;
})(), Yve = /^\(?\$1\)?$/, Xve = /* @__PURE__ */ (function() {
  function e10(t, n) {
    Ug(this, e10), this.type = t, this.metadata = n;
  }
  return Hg(e10, [{
    key: "pattern",
    value: function() {
      return this.metadata.v1 ? this.type : this.type[0];
    }
  }, {
    key: "possibleLengths",
    value: function() {
      if (!this.metadata.v1)
        return this.type[1] || this.metadata.possibleLengths();
    }
  }]), e10;
})();
function M_(e10, t) {
  switch (t) {
    case "FIXED_LINE":
      return e10[0];
    case "MOBILE":
      return e10[1];
    case "TOLL_FREE":
      return e10[2];
    case "PREMIUM_RATE":
      return e10[3];
    case "PERSONAL_NUMBER":
      return e10[4];
    case "VOICEMAIL":
      return e10[5];
    case "UAN":
      return e10[6];
    case "PAGER":
      return e10[7];
    case "VOIP":
      return e10[8];
    case "SHARED_COST":
      return e10[9];
  }
}
function Zve(e10) {
  if (!e10)
    throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
  if (!Jm(e10) || !Jm(e10.countries))
    throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Jm(e10) ? "an object of shape: { " + Object.keys(e10).join(", ") + " }" : "a " + Kve(e10) + ": " + e10, "."));
}
var Jm = function(t) {
  return J1(t) === "object";
}, Kve = function(t) {
  return J1(t);
};
function G2(e10, t) {
  if (t = new su(t), t.hasCountry(e10))
    return t.country(e10).countryCallingCode();
  throw new Error("Unknown country: ".concat(e10));
}
function Jve(e10, t) {
  return t.countries[e10] !== void 0;
}
function k4(e10) {
  var t = e10.version;
  typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? P_(t, Hve) === -1 ? this.v2 = true : P_(t, $ve) === -1 ? this.v3 = true : this.v4 = true : this.v1 = true;
}
var Qve = ";ext=", mp = function(t) {
  return "([".concat(Bd, "]{1,").concat(t, "})");
};
function E4(e10) {
  var t = "20", n = "15", r = "9", o = "6", i = "[  \\t,]*", u = "[:\\.．]?[  \\t,-]*", p = "#?", v = "(?:e?xt(?:ensi(?:ó?|ó))?n?|ｅ?ｘｔｎ?|доб|anexo)", y = "(?:[xｘ#＃~～]|int|ｉｎｔ)", k = "[- ]+", T = "[  \\t]*", R = "(?:,{2}|;)", I = Qve + mp(t), P = i + v + u + mp(t) + p, S = i + y + u + mp(r) + p, U = k + mp(o) + "#", B = T + R + u + mp(n) + p, X = T + "(?:,)+" + u + mp(r) + p;
  return I + "|" + P + "|" + S + "|" + U + "|" + B + "|" + X;
}
var jve = "[" + Bd + "]{" + $2 + "}", qve = "[" + V2 + "]{0,1}(?:[" + K1 + "]*[" + Bd + "]){3,}[" + K1 + Bd + "]*", eye = new RegExp("^[" + V2 + "]{0,1}(?:[" + K1 + "]*[" + Bd + "]){1,2}$", "i"), tye = qve + // Phone number extensions
"(?:" + E4() + ")?", nye = new RegExp(
  // Either a short two-digit-only phone number
  "^" + jve + "$|^" + tye + "$",
  "i"
);
function rye(e10) {
  return e10.length >= $2 && nye.test(e10);
}
function oye(e10) {
  return eye.test(e10);
}
var O_ = new RegExp("(?:" + E4() + ")$", "i");
function iye(e10) {
  var t = e10.search(O_);
  if (t < 0)
    return {};
  for (var n = e10.slice(0, t), r = e10.match(O_), o = 1; o < r.length; ) {
    if (r[o])
      return {
        number: n,
        ext: r[o]
      };
    o++;
  }
}
var aye = {
  0: "0",
  1: "1",
  2: "2",
  3: "3",
  4: "4",
  5: "5",
  6: "6",
  7: "7",
  8: "8",
  9: "9",
  "０": "0",
  // Fullwidth digit 0
  "１": "1",
  // Fullwidth digit 1
  "２": "2",
  // Fullwidth digit 2
  "３": "3",
  // Fullwidth digit 3
  "４": "4",
  // Fullwidth digit 4
  "５": "5",
  // Fullwidth digit 5
  "６": "6",
  // Fullwidth digit 6
  "７": "7",
  // Fullwidth digit 7
  "８": "8",
  // Fullwidth digit 8
  "９": "9",
  // Fullwidth digit 9
  "٠": "0",
  // Arabic-indic digit 0
  "١": "1",
  // Arabic-indic digit 1
  "٢": "2",
  // Arabic-indic digit 2
  "٣": "3",
  // Arabic-indic digit 3
  "٤": "4",
  // Arabic-indic digit 4
  "٥": "5",
  // Arabic-indic digit 5
  "٦": "6",
  // Arabic-indic digit 6
  "٧": "7",
  // Arabic-indic digit 7
  "٨": "8",
  // Arabic-indic digit 8
  "٩": "9",
  // Arabic-indic digit 9
  "۰": "0",
  // Eastern-Arabic digit 0
  "۱": "1",
  // Eastern-Arabic digit 1
  "۲": "2",
  // Eastern-Arabic digit 2
  "۳": "3",
  // Eastern-Arabic digit 3
  "۴": "4",
  // Eastern-Arabic digit 4
  "۵": "5",
  // Eastern-Arabic digit 5
  "۶": "6",
  // Eastern-Arabic digit 6
  "۷": "7",
  // Eastern-Arabic digit 7
  "۸": "8",
  // Eastern-Arabic digit 8
  "۹": "9"
  // Eastern-Arabic digit 9
};
function sye(e10) {
  return aye[e10];
}
function lye(e10, t) {
  var n = typeof Symbol < "u" && e10[Symbol.iterator] || e10["@@iterator"];
  if (n) return (n = n.call(e10)).next.bind(n);
  if (Array.isArray(e10) || (n = uye(e10)) || t) {
    n && (e10 = n);
    var r = 0;
    return function() {
      return r >= e10.length ? { done: true } : { done: false, value: e10[r++] };
    };
  }
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function uye(e10, t) {
  if (e10) {
    if (typeof e10 == "string") return D_(e10, t);
    var n = Object.prototype.toString.call(e10).slice(8, -1);
    if (n === "Object" && e10.constructor && (n = e10.constructor.name), n === "Map" || n === "Set") return Array.from(e10);
    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return D_(e10, t);
  }
}
function D_(e10, t) {
  (t == null || t > e10.length) && (t = e10.length);
  for (var n = 0, r = new Array(t); n < t; n++)
    r[n] = e10[n];
  return r;
}
function F_(e10) {
  for (var t = "", n = lye(e10.split("")), r; !(r = n()).done; ) {
    var o = r.value;
    t += cye(o, t) || "";
  }
  return t;
}
function cye(e10, t) {
  return e10 === "+" ? t ? void 0 : "+" : sye(e10);
}
function Y2(e10, t) {
  return dye(e10, void 0, t);
}
function dye(e10, t, n) {
  var r = n.type(t), o = r && r.possibleLengths() || n.possibleLengths();
  if (!o)
    return "IS_POSSIBLE";
  var i = e10.length, u = o[0];
  return u === i ? "IS_POSSIBLE" : u > i ? "TOO_SHORT" : o[o.length - 1] < i ? "TOO_LONG" : o.indexOf(i, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
}
function fye(e10, t, n) {
  if (t === void 0 && (t = {}), n = new su(n), t.v2) {
    if (!e10.countryCallingCode)
      throw new Error("Invalid phone number object passed");
    n.selectNumberingPlan(e10.countryCallingCode);
  } else {
    if (!e10.phone)
      return false;
    if (e10.country) {
      if (!n.hasCountry(e10.country))
        throw new Error("Unknown country: ".concat(e10.country));
      n.country(e10.country);
    } else {
      if (!e10.countryCallingCode)
        throw new Error("Invalid phone number object passed");
      n.selectNumberingPlan(e10.countryCallingCode);
    }
  }
  if (n.possibleLengths())
    return C4(e10.phone || e10.nationalNumber, n);
  if (e10.countryCallingCode && n.isNonGeographicCallingCode(e10.countryCallingCode))
    return true;
  throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
}
function C4(e10, t) {
  switch (Y2(e10, t)) {
    case "IS_POSSIBLE":
      return true;
    // This library ignores "local-only" phone numbers (for simplicity).
    // See the readme for more info on what are "local-only" phone numbers.
    // case 'IS_POSSIBLE_LOCAL_ONLY':
    // 	return !isInternational
    default:
      return false;
  }
}
function Yf(e10, t) {
  return e10 = e10 || "", new RegExp("^(?:" + t + ")$").test(e10);
}
function hye(e10, t) {
  var n = typeof Symbol < "u" && e10[Symbol.iterator] || e10["@@iterator"];
  if (n) return (n = n.call(e10)).next.bind(n);
  if (Array.isArray(e10) || (n = pye(e10)) || t) {
    n && (e10 = n);
    var r = 0;
    return function() {
      return r >= e10.length ? { done: true } : { done: false, value: e10[r++] };
    };
  }
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function pye(e10, t) {
  if (e10) {
    if (typeof e10 == "string") return N_(e10, t);
    var n = Object.prototype.toString.call(e10).slice(8, -1);
    if (n === "Object" && e10.constructor && (n = e10.constructor.name), n === "Map" || n === "Set") return Array.from(e10);
    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return N_(e10, t);
  }
}
function N_(e10, t) {
  (t == null || t > e10.length) && (t = e10.length);
  for (var n = 0, r = new Array(t); n < t; n++)
    r[n] = e10[n];
  return r;
}
var bye = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
function X2(e10, t, n) {
  if (t = t || {}, !!e10.country) {
    n = new su(n), n.selectNumberingPlan(e10.country, e10.countryCallingCode);
    var r = t.v2 ? e10.nationalNumber : e10.phone;
    if (Yf(r, n.nationalNumberPattern())) {
      if (Qm(r, "FIXED_LINE", n))
        return n.type("MOBILE") && n.type("MOBILE").pattern() === "" || !n.type("MOBILE") || Qm(r, "MOBILE", n) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
      for (var o = hye(bye), i; !(i = o()).done; ) {
        var u = i.value;
        if (Qm(r, u, n))
          return u;
      }
    }
  }
}
function Qm(e10, t, n) {
  return t = n.type(t), !t || !t.pattern() || t.possibleLengths() && t.possibleLengths().indexOf(e10.length) < 0 ? false : Yf(e10, t.pattern());
}
function gye(e10, t, n) {
  if (t = t || {}, n = new su(n), n.selectNumberingPlan(e10.country, e10.countryCallingCode), n.hasTypes())
    return X2(e10, t, n.metadata) !== void 0;
  var r = t.v2 ? e10.nationalNumber : e10.phone;
  return Yf(r, n.nationalNumberPattern());
}
function mye(e10, t, n) {
  var r = new su(n), o = r.getCountryCodesForCallingCode(e10);
  return o ? o.filter(function(i) {
    return vye(t, i, n);
  }) : [];
}
function vye(e10, t, n) {
  var r = new su(n);
  return r.selectNumberingPlan(t), r.numberingPlan.possibleLengths().indexOf(e10.length) >= 0;
}
function yye(e10) {
  return e10.replace(new RegExp("[".concat(K1, "]+"), "g"), " ").trim();
}
var xye = /(\$\d)/;
function _ye(e10, t, n) {
  var r = n.useInternationalFormat, o = n.withNationalPrefix, i = e10.replace(new RegExp(t.pattern()), r ? t.internationalFormat() : (
    // This library doesn't use `domestic_carrier_code_formatting_rule`,
    // because that one is only used when formatting phone numbers
    // for dialing from a mobile phone, and this is not a dialing library.
    // carrierCode && format.domesticCarrierCodeFormattingRule()
    // 	// First, replace the $CC in the formatting rule with the desired carrier code.
    // 	// Then, replace the $FG in the formatting rule with the first group
    // 	// and the carrier code combined in the appropriate way.
    // 	? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
    // 	: (
    // 		withNationalPrefix && format.nationalPrefixFormattingRule()
    // 			? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
    // 			: format.format()
    // 	)
    o && t.nationalPrefixFormattingRule() ? t.format().replace(xye, t.nationalPrefixFormattingRule()) : t.format()
  ));
  return r ? yye(i) : i;
}
var wye = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
function Tye(e10, t, n) {
  var r = new su(n);
  if (r.selectNumberingPlan(e10, t), r.defaultIDDPrefix())
    return r.defaultIDDPrefix();
  if (wye.test(r.IDDPrefix()))
    return r.IDDPrefix();
}
function kye(e10) {
  var t = e10.number, n = e10.ext;
  if (!t)
    return "";
  if (t[0] !== "+")
    throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
  return "tel:".concat(t).concat(n ? ";ext=" + n : "");
}
function Eye(e10, t) {
  var n = typeof Symbol < "u" && e10[Symbol.iterator] || e10["@@iterator"];
  if (n) return (n = n.call(e10)).next.bind(n);
  if (Array.isArray(e10) || (n = Cye(e10)) || t) {
    n && (e10 = n);
    var r = 0;
    return function() {
      return r >= e10.length ? { done: true } : { done: false, value: e10[r++] };
    };
  }
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function Cye(e10, t) {
  if (e10) {
    if (typeof e10 == "string") return L_(e10, t);
    var n = Object.prototype.toString.call(e10).slice(8, -1);
    if (n === "Object" && e10.constructor && (n = e10.constructor.name), n === "Map" || n === "Set") return Array.from(e10);
    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return L_(e10, t);
  }
}
function L_(e10, t) {
  (t == null || t > e10.length) && (t = e10.length);
  for (var n = 0, r = new Array(t); n < t; n++)
    r[n] = e10[n];
  return r;
}
function B_(e10, t) {
  var n = Object.keys(e10);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e10);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e10, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function z_(e10) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? B_(Object(n), true).forEach(function(r) {
      Sye(e10, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e10, Object.getOwnPropertyDescriptors(n)) : B_(Object(n)).forEach(function(r) {
      Object.defineProperty(e10, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e10;
}
function Sye(e10, t, n) {
  return t in e10 ? Object.defineProperty(e10, t, { value: n, enumerable: true, configurable: true, writable: true }) : e10[t] = n, e10;
}
var W_ = {
  formatExtension: function(t, n, r) {
    return "".concat(t).concat(r.ext()).concat(n);
  }
};
function Aye(e10, t, n, r) {
  if (n ? n = z_(z_({}, W_), n) : n = W_, r = new su(r), e10.country && e10.country !== "001") {
    if (!r.hasCountry(e10.country))
      throw new Error("Unknown country: ".concat(e10.country));
    r.country(e10.country);
  } else if (e10.countryCallingCode)
    r.selectNumberingPlan(e10.countryCallingCode);
  else return e10.phone || "";
  var o = r.countryCallingCode(), i = n.v2 ? e10.nationalNumber : e10.phone, u;
  switch (t) {
    case "NATIONAL":
      return i ? (u = Q1(i, e10.carrierCode, "NATIONAL", r, n), jm(u, e10.ext, r, n.formatExtension)) : "";
    case "INTERNATIONAL":
      return i ? (u = Q1(i, null, "INTERNATIONAL", r, n), u = "+".concat(o, " ").concat(u), jm(u, e10.ext, r, n.formatExtension)) : "+".concat(o);
    case "E.164":
      return "+".concat(o).concat(i);
    case "RFC3966":
      return kye({
        number: "+".concat(o).concat(i),
        ext: e10.ext
      });
    // For reference, here's Google's IDD formatter:
    // https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546
    // Not saying that this IDD formatter replicates it 1:1, but it seems to work.
    // Who would even need to format phone numbers in IDD format anyway?
    case "IDD":
      if (!n.fromCountry)
        return;
      var p = Rye(i, e10.carrierCode, o, n.fromCountry, r);
      return jm(p, e10.ext, r, n.formatExtension);
    default:
      throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
  }
}
function Q1(e10, t, n, r, o) {
  var i = Pye(r.formats(), e10);
  return i ? _ye(e10, i, {
    useInternationalFormat: n === "INTERNATIONAL",
    withNationalPrefix: !(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && o && o.nationalPrefix === false)
  }) : e10;
}
function Pye(e10, t) {
  for (var n = Eye(e10), r; !(r = n()).done; ) {
    var o = r.value;
    if (o.leadingDigitsPatterns().length > 0) {
      var i = o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length - 1];
      if (t.search(i) !== 0)
        continue;
    }
    if (Yf(t, o.pattern()))
      return o;
  }
}
function jm(e10, t, n, r) {
  return t ? r(e10, t, n) : e10;
}
function Rye(e10, t, n, r, o) {
  var i = G2(r, o.metadata);
  if (i === n) {
    var u = Q1(e10, t, "NATIONAL", o);
    return n === "1" ? n + " " + u : u;
  }
  var p = Tye(r, void 0, o.metadata);
  if (p)
    return "".concat(p, " ").concat(n, " ").concat(Q1(e10, null, "INTERNATIONAL", o));
}
function U_(e10, t) {
  var n = Object.keys(e10);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e10);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e10, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function H_(e10) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? U_(Object(n), true).forEach(function(r) {
      Iye(e10, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e10, Object.getOwnPropertyDescriptors(n)) : U_(Object(n)).forEach(function(r) {
      Object.defineProperty(e10, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e10;
}
function Iye(e10, t, n) {
  return t in e10 ? Object.defineProperty(e10, t, { value: n, enumerable: true, configurable: true, writable: true }) : e10[t] = n, e10;
}
function Mye(e10, t) {
  if (!(e10 instanceof t))
    throw new TypeError("Cannot call a class as a function");
}
function Oye(e10, t) {
  for (var n = 0; n < t.length; n++) {
    var r = t[n];
    r.enumerable = r.enumerable || false, r.configurable = true, "value" in r && (r.writable = true), Object.defineProperty(e10, r.key, r);
  }
}
function Dye(e10, t, n) {
  return t && Oye(e10.prototype, t), Object.defineProperty(e10, "prototype", { writable: false }), e10;
}
var Fye = /* @__PURE__ */ (function() {
  function e10(t, n, r) {
    if (Mye(this, e10), !t)
      throw new TypeError("`country` or `countryCallingCode` not passed");
    if (!n)
      throw new TypeError("`nationalNumber` not passed");
    if (!r)
      throw new TypeError("`metadata` not passed");
    var o = Lye(t, r), i = o.country, u = o.countryCallingCode;
    this.country = i, this.countryCallingCode = u, this.nationalNumber = n, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.metadata = r;
  }
  return Dye(e10, [{
    key: "setExt",
    value: function(n) {
      this.ext = n;
    }
  }, {
    key: "getPossibleCountries",
    value: function() {
      return this.country ? [this.country] : mye(this.countryCallingCode, this.nationalNumber, this.metadata);
    }
  }, {
    key: "isPossible",
    value: function() {
      return fye(this, {
        v2: true
      }, this.metadata);
    }
  }, {
    key: "isValid",
    value: function() {
      return gye(this, {
        v2: true
      }, this.metadata);
    }
  }, {
    key: "isNonGeographic",
    value: function() {
      var n = new su(this.metadata);
      return n.isNonGeographicCallingCode(this.countryCallingCode);
    }
  }, {
    key: "isEqual",
    value: function(n) {
      return this.number === n.number && this.ext === n.ext;
    }
    // This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
    // but later it was found out that it doesn't include the possible `TOO_SHORT` result
    // returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
    // so eventually I simply commented out this method from the `PhoneNumber` class
    // and just left the `validatePhoneNumberLength()` function, even though that one would require
    // and additional step to also validate the actual country / calling code of the phone number.
    // validateLength() {
    // 	const metadata = new Metadata(this.metadata)
    // 	metadata.selectNumberingPlan(this.countryCallingCode)
    // 	const result = checkNumberLength(this.nationalNumber, metadata)
    // 	if (result !== 'IS_POSSIBLE') {
    // 		return result
    // 	}
    // }
  }, {
    key: "getType",
    value: function() {
      return X2(this, {
        v2: true
      }, this.metadata);
    }
  }, {
    key: "format",
    value: function(n, r) {
      return Aye(this, n, r ? H_(H_({}, r), {}, {
        v2: true
      }) : {
        v2: true
      }, this.metadata);
    }
  }, {
    key: "formatNational",
    value: function(n) {
      return this.format("NATIONAL", n);
    }
  }, {
    key: "formatInternational",
    value: function(n) {
      return this.format("INTERNATIONAL", n);
    }
  }, {
    key: "getURI",
    value: function(n) {
      return this.format("RFC3966", n);
    }
  }]), e10;
})(), Nye = function(t) {
  return /^[A-Z]{2}$/.test(t);
};
function Lye(e10, t) {
  var n, r, o = new su(t);
  return Nye(e10) ? (n = e10, o.selectNumberingPlan(n), r = o.countryCallingCode()) : r = e10, {
    country: n,
    countryCallingCode: r
  };
}
var Bye = new RegExp("([" + Bd + "])");
function zye(e10, t, n, r) {
  if (t) {
    var o = new su(r);
    o.selectNumberingPlan(t, n);
    var i = new RegExp(o.IDDPrefix());
    if (e10.search(i) === 0) {
      e10 = e10.slice(e10.match(i)[0].length);
      var u = e10.match(Bye);
      if (!(u && u[1] != null && u[1].length > 0 && u[1] === "0"))
        return e10;
    }
  }
}
function Wye(e10, t) {
  if (e10 && t.numberingPlan.nationalPrefixForParsing()) {
    var n = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), r = n.exec(e10);
    if (r) {
      var o, i, u = r.length - 1, p = u > 0 && r[u];
      if (t.nationalPrefixTransformRule() && p)
        o = e10.replace(n, t.nationalPrefixTransformRule()), u > 1 && (i = r[1]);
      else {
        var v = r[0];
        o = e10.slice(v.length), p && (i = r[1]);
      }
      var y;
      if (p) {
        var k = e10.indexOf(r[1]), T = e10.slice(0, k);
        T === t.numberingPlan.nationalPrefix() && (y = t.numberingPlan.nationalPrefix());
      } else
        y = r[0];
      return {
        nationalNumber: o,
        nationalPrefix: y,
        carrierCode: i
      };
    }
  }
  return {
    nationalNumber: e10
  };
}
function zy(e10, t) {
  var n = Wye(e10, t), r = n.carrierCode, o = n.nationalNumber;
  if (o !== e10) {
    if (!Uye(e10, o, t))
      return {
        nationalNumber: e10
      };
    if (t.possibleLengths() && !Hye(o, t))
      return {
        nationalNumber: e10
      };
  }
  return {
    nationalNumber: o,
    carrierCode: r
  };
}
function Uye(e10, t, n) {
  return !(Yf(e10, n.nationalNumberPattern()) && !Yf(t, n.nationalNumberPattern()));
}
function Hye(e10, t) {
  switch (Y2(e10, t)) {
    case "TOO_SHORT":
    case "INVALID_LENGTH":
      return false;
    default:
      return true;
  }
}
function $ye(e10, t, n, r) {
  var o = t ? G2(t, r) : n;
  if (e10.indexOf(o) === 0) {
    r = new su(r), r.selectNumberingPlan(t, n);
    var i = e10.slice(o.length), u = zy(i, r), p = u.nationalNumber, v = zy(e10, r), y = v.nationalNumber;
    if (!Yf(y, r.nationalNumberPattern()) && Yf(p, r.nationalNumberPattern()) || Y2(y, r) === "TOO_LONG")
      return {
        countryCallingCode: o,
        number: i
      };
  }
  return {
    number: e10
  };
}
function Vye(e10, t, n, r) {
  if (!e10)
    return {};
  var o;
  if (e10[0] !== "+") {
    var i = zye(e10, t, n, r);
    if (i && i !== e10)
      o = true, e10 = "+" + i;
    else {
      if (t || n) {
        var u = $ye(e10, t, n, r), p = u.countryCallingCode, v = u.number;
        if (p)
          return {
            countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
            countryCallingCode: p,
            number: v
          };
      }
      return {
        // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
        // countryCallingCodeSource: 'UNSPECIFIED',
        number: e10
      };
    }
  }
  if (e10[1] === "0")
    return {};
  r = new su(r);
  for (var y = 2; y - 1 <= Dve && y <= e10.length; ) {
    var k = e10.slice(1, y);
    if (r.hasCallingCode(k))
      return r.selectNumberingPlan(k), {
        countryCallingCodeSource: o ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
        countryCallingCode: k,
        number: e10.slice(y)
      };
    y++;
  }
  return {};
}
function Gye(e10, t) {
  var n = typeof Symbol < "u" && e10[Symbol.iterator] || e10["@@iterator"];
  if (n) return (n = n.call(e10)).next.bind(n);
  if (Array.isArray(e10) || (n = Yye(e10)) || t) {
    n && (e10 = n);
    var r = 0;
    return function() {
      return r >= e10.length ? { done: true } : { done: false, value: e10[r++] };
    };
  }
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function Yye(e10, t) {
  if (e10) {
    if (typeof e10 == "string") return $_(e10, t);
    var n = Object.prototype.toString.call(e10).slice(8, -1);
    if (n === "Object" && e10.constructor && (n = e10.constructor.name), n === "Map" || n === "Set") return Array.from(e10);
    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return $_(e10, t);
  }
}
function $_(e10, t) {
  (t == null || t > e10.length) && (t = e10.length);
  for (var n = 0, r = new Array(t); n < t; n++)
    r[n] = e10[n];
  return r;
}
function Xye(e10, t, n) {
  n = new su(n);
  for (var r = Gye(e10), o; !(o = r()).done; ) {
    var i = o.value;
    if (n.country(i), n.leadingDigits()) {
      if (t && t.search(n.leadingDigits()) === 0)
        return i;
    } else if (X2({
      phone: t,
      country: i
    }, void 0, n.metadata))
      return i;
  }
}
function Zye(e10, t, n) {
  var r = n.getCountryCodesForCallingCode(e10);
  if (r)
    return r.length === 1 ? r[0] : Xye(r, t, n.metadata);
}
var S4 = "+", Kye = "[\\-\\.\\(\\)]?", V_ = "([" + Bd + "]|" + Kye + ")", Jye = "^\\" + S4 + V_ + "*[" + Bd + "]" + V_ + "*$", Qye = new RegExp(Jye, "g"), Wy = Bd, jye = "[" + Wy + "]+((\\-)*[" + Wy + "])*", qye = "a-zA-Z", e2e = "[" + qye + "]+((\\-)*[" + Wy + "])*", t2e = "^(" + jye + "\\.)*" + e2e + "\\.?$", n2e = new RegExp(t2e, "g"), G_ = "tel:", Uy = ";phone-context=", r2e = ";isub=";
function o2e(e10) {
  var t = e10.indexOf(Uy);
  if (t < 0)
    return null;
  var n = t + Uy.length;
  if (n >= e10.length)
    return "";
  var r = e10.indexOf(";", n);
  return r >= 0 ? e10.substring(n, r) : e10.substring(n);
}
function i2e(e10) {
  return e10 === null ? true : e10.length === 0 ? false : Qye.test(e10) || n2e.test(e10);
}
function a2e(e10, t) {
  var n = t.extractFormattedPhoneNumber, r = o2e(e10);
  if (!i2e(r))
    throw new Df("NOT_A_NUMBER");
  var o;
  if (r === null)
    o = n(e10) || "";
  else {
    o = "", r.charAt(0) === S4 && (o += r);
    var i = e10.indexOf(G_), u;
    i >= 0 ? u = i + G_.length : u = 0;
    var p = e10.indexOf(Uy);
    o += e10.substring(u, p);
  }
  var v = o.indexOf(r2e);
  if (v > 0 && (o = o.substring(0, v)), o !== "")
    return o;
}
var s2e = 250, l2e = new RegExp("[" + V2 + Bd + "]"), u2e = new RegExp("[^" + Bd + "#]+$");
function c2e(e10, t, n) {
  if (t = t || {}, n = new su(n), t.defaultCountry && !n.hasCountry(t.defaultCountry))
    throw t.v2 ? new Df("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
  var r = f2e(e10, t.v2, t.extract), o = r.number, i = r.ext, u = r.error;
  if (!o) {
    if (t.v2)
      throw u === "TOO_SHORT" ? new Df("TOO_SHORT") : new Df("NOT_A_NUMBER");
    return {};
  }
  var p = p2e(o, t.defaultCountry, t.defaultCallingCode, n), v = p.country, y = p.nationalNumber, k = p.countryCallingCode, T = p.countryCallingCodeSource, R = p.carrierCode;
  if (!n.hasSelectedNumberingPlan()) {
    if (t.v2)
      throw new Df("INVALID_COUNTRY");
    return {};
  }
  if (!y || y.length < $2) {
    if (t.v2)
      throw new Df("TOO_SHORT");
    return {};
  }
  if (y.length > Ove) {
    if (t.v2)
      throw new Df("TOO_LONG");
    return {};
  }
  if (t.v2) {
    var I = new Fye(k, y, n.metadata);
    return v && (I.country = v), R && (I.carrierCode = R), i && (I.ext = i), I.__countryCallingCodeSource = T, I;
  }
  var P = (t.extended ? n.hasSelectedNumberingPlan() : v) ? Yf(y, n.nationalNumberPattern()) : false;
  return t.extended ? {
    country: v,
    countryCallingCode: k,
    carrierCode: R,
    valid: P,
    possible: P ? true : !!(t.extended === true && n.possibleLengths() && C4(y, n)),
    phone: y,
    ext: i
  } : P ? h2e(v, y, i) : {};
}
function d2e(e10, t, n) {
  if (e10) {
    if (e10.length > s2e) {
      if (n)
        throw new Df("TOO_LONG");
      return;
    }
    if (t === false)
      return e10;
    var r = e10.search(l2e);
    if (!(r < 0))
      return e10.slice(r).replace(u2e, "");
  }
}
function f2e(e10, t, n) {
  var r = a2e(e10, {
    extractFormattedPhoneNumber: function(u) {
      return d2e(u, n, t);
    }
  });
  if (!r)
    return {};
  if (!rye(r))
    return oye(r) ? {
      error: "TOO_SHORT"
    } : {};
  var o = iye(r);
  return o.ext ? o : {
    number: r
  };
}
function h2e(e10, t, n) {
  var r = {
    country: e10,
    phone: t
  };
  return n && (r.ext = n), r;
}
function p2e(e10, t, n, r) {
  var o = Vye(F_(e10), t, n, r.metadata), i = o.countryCallingCodeSource, u = o.countryCallingCode, p = o.number, v;
  if (u)
    r.selectNumberingPlan(u);
  else if (p && (t || n))
    r.selectNumberingPlan(t, n), t && (v = t), u = n || G2(t, r.metadata);
  else return {};
  if (!p)
    return {
      countryCallingCodeSource: i,
      countryCallingCode: u
    };
  var y = zy(F_(p), r), k = y.nationalNumber, T = y.carrierCode, R = Zye(u, k, r);
  return R && (v = R, R === "001" || r.country(v)), {
    country: v,
    countryCallingCode: u,
    countryCallingCodeSource: i,
    nationalNumber: k,
    carrierCode: T
  };
}
function Y_(e10, t) {
  var n = Object.keys(e10);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e10);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e10, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function X_(e10) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? Y_(Object(n), true).forEach(function(r) {
      b2e(e10, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e10, Object.getOwnPropertyDescriptors(n)) : Y_(Object(n)).forEach(function(r) {
      Object.defineProperty(e10, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e10;
}
function b2e(e10, t, n) {
  return t in e10 ? Object.defineProperty(e10, t, { value: n, enumerable: true, configurable: true, writable: true }) : e10[t] = n, e10;
}
function g2e(e10, t, n) {
  return c2e(e10, X_(X_({}, t), {}, {
    v2: true
  }), n);
}
function Hy(e10) {
  "@babel/helpers - typeof";
  return Hy = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
    return typeof t;
  } : function(t) {
    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
  }, Hy(e10);
}
function Z_(e10, t) {
  var n = Object.keys(e10);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e10);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e10, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function m2e(e10) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? Z_(Object(n), true).forEach(function(r) {
      v2e(e10, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e10, Object.getOwnPropertyDescriptors(n)) : Z_(Object(n)).forEach(function(r) {
      Object.defineProperty(e10, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e10;
}
function v2e(e10, t, n) {
  return t in e10 ? Object.defineProperty(e10, t, { value: n, enumerable: true, configurable: true, writable: true }) : e10[t] = n, e10;
}
function y2e(e10, t) {
  return T2e(e10) || w2e(e10, t) || _2e(e10, t) || x2e();
}
function x2e() {
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function _2e(e10, t) {
  if (e10) {
    if (typeof e10 == "string") return K_(e10, t);
    var n = Object.prototype.toString.call(e10).slice(8, -1);
    if (n === "Object" && e10.constructor && (n = e10.constructor.name), n === "Map" || n === "Set") return Array.from(e10);
    if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return K_(e10, t);
  }
}
function K_(e10, t) {
  (t == null || t > e10.length) && (t = e10.length);
  for (var n = 0, r = new Array(t); n < t; n++)
    r[n] = e10[n];
  return r;
}
function w2e(e10, t) {
  var n = e10 == null ? null : typeof Symbol < "u" && e10[Symbol.iterator] || e10["@@iterator"];
  if (n != null) {
    var r = [], o = true, i = false, u, p;
    try {
      for (n = n.call(e10); !(o = (u = n.next()).done) && (r.push(u.value), !(t && r.length === t)); o = true)
        ;
    } catch (v) {
      i = true, p = v;
    } finally {
      try {
        !o && n.return != null && n.return();
      } finally {
        if (i) throw p;
      }
    }
    return r;
  }
}
function T2e(e10) {
  if (Array.isArray(e10)) return e10;
}
function k2e(e10) {
  var t = Array.prototype.slice.call(e10), n = y2e(t, 4), r = n[0], o = n[1], i = n[2], u = n[3], p, v, y;
  if (typeof r == "string")
    p = r;
  else throw new TypeError("A text for parsing must be a string.");
  if (!o || typeof o == "string")
    u ? (v = i, y = u) : (v = void 0, y = i), o && (v = m2e({
      defaultCountry: o
    }, v));
  else if (E2e(o))
    i ? (v = o, y = i) : y = o;
  else throw new Error("Invalid second argument: ".concat(o));
  return {
    text: p,
    options: v,
    metadata: y
  };
}
var E2e = function(t) {
  return Hy(t) === "object";
};
function J_(e10, t) {
  var n = Object.keys(e10);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e10);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e10, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function Q_(e10) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? J_(Object(n), true).forEach(function(r) {
      C2e(e10, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e10, Object.getOwnPropertyDescriptors(n)) : J_(Object(n)).forEach(function(r) {
      Object.defineProperty(e10, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e10;
}
function C2e(e10, t, n) {
  return t in e10 ? Object.defineProperty(e10, t, { value: n, enumerable: true, configurable: true, writable: true }) : e10[t] = n, e10;
}
function S2e(e10, t, n) {
  t && t.defaultCountry && !Jve(t.defaultCountry, n) && (t = Q_(Q_({}, t), {}, {
    defaultCountry: void 0
  }));
  try {
    return g2e(e10, t, n);
  } catch (r) {
    if (!(r instanceof Df)) throw r;
  }
}
function j_(e10, t) {
  var n = Object.keys(e10);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e10);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e10, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function q_(e10) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? j_(Object(n), true).forEach(function(r) {
      A2e(e10, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e10, Object.getOwnPropertyDescriptors(n)) : j_(Object(n)).forEach(function(r) {
      Object.defineProperty(e10, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e10;
}
function A2e(e10, t, n) {
  return t in e10 ? Object.defineProperty(e10, t, { value: n, enumerable: true, configurable: true, writable: true }) : e10[t] = n, e10;
}
function P2e() {
  var e10 = k2e(arguments), t = e10.text, n = e10.options, r = e10.metadata;
  n = q_(q_({}, n), {}, {
    extract: false
  });
  var o = S2e(t, n, r);
  return o && o.isValid() || false;
}
function R2e() {
  return Cve(P2e, arguments);
}
var Jr;
(function(e10) {
  e10.REQUIRED = "validation_required", e10.NR_GT = "%field_name% must be greater then %gt%", e10.NR_LT = "%field_name% must be lower then %lt%", e10.NR_GTE = "%field_name% must be greater or equal to %gte%", e10.NR_LTE = "%field_name% must be lower or equal to %lte%", e10.NR_IS_VALID = "%field_name% must be a valid number", e10.MIN_LEN = "validation_minLength", e10.MAX_LEN = "validation_maxLength", e10.URL_NOT_ALLOWED = "Text contains URL or is missing a space after a period (.)", e10.URL_FORMAT = "Please enter a valid URL", e10.PATH_FORMAT = "Some characters are not allowed in path, for example: # < > [ ] { } * ±", e10.SPECIAL_CHARS_NOT_ALLOWED = "Some characters aren’t allowed, for example: # < > [ ] { } * ±", e10.MULTIPLE_SPACES_NOT_ALLOWED = "Multiple spaces between words or characters are not allowed", e10.EXCLAMATION_MARKS_NOT_ALLOWED = "Exclamation mark is not allowed", e10.FULL_STOP_MARKS_NOT_ALLOWED = "Full Stop mark is not allowed", e10.TEXT_AFTER_COMMA_OR_PERIOD_NOT_ALLOWED = "Please ensure there is a space after special symbols like ,.| for better readability", e10.ONLY_SPACES_NOT_ALLOWED = "You are not allowed to have only spaces", e10.FULL_CAPITALIZATION_NOT_ALLOWED = "Text cannot contain only capital letters", e10.EXCESSIVE_CAPITALIZATION_NOT_ALLOWED = "Excessive uppercase letters is not allowed. Please use fewer capitals.", e10.PATH_NOT_ALLOWED = "Some characters aren’t allowed, for example: /", e10.AT_NOT_ALLOWED = "You don’t have to add the @ symbol", e10.AT_DOMAIN_NOT_ALLOWED = "The email doesn’t need to have the '@%domain%' written", e10.WRONG_DOMAIN = "You don’t have to add the @ symbol. The email must be on the '@%domain%'", e10.NO_REGEX_MATCH = "%field_name% must match %regex%", e10.INVALID_PHONE = "validate-phoneNumberLength", e10.INCORRECT_PHONE = "validation_incorrect-phone", e10.INVALID_EMAIL = "validation_validate-email", e10.NOT_IN_ARRAY = "%field_name% must not belong to the disallowed items list: (%notIn%)", e10.PASSWORD_MIN_LEN = "Please enter at least 4 characters.", e10.PASSWORD_MAX_LEN = "Please enter no more than 100 characters.", e10.ROOT_DOMAIN_INVALID = "The domain must include %rootDomain%", e10.INVALID_HEX_COLOR = "HEX value is incorrect. If you have problems use the color picker next to this field.";
})(Jr || (Jr = {}));
var e5;
(function(e10) {
  e10.DULPICATIONS_NOT_ALLOWED = "You can't add the same %field_name% text", e10.PUBLISHING_PRIMARY_PHONE_REQUIRED = "Phone number is required in order to publish", e10.ADDRESS_NOT_PRECISE = "Address is not precise, missing address number", e10.DOMAIN_NOT_VALID = "Domain is not valid", e10.ONLY_PERSONAL_WEBSITE = "You can add only links from your websites: %rootDomain%", e10.SERVICE_AREAS_OVERLAPPING = "%serviceAreaName% can’t be added because it overlaps with %overlappedServiceArea%", e10.SERVICE_AREA_DUPLICATED = "%serviceAreaName% can’t be added twice", e10.SERVICE_AREA_MIN_ALLOWED = "At least one location must be selected", e10.SERVICE_AREA_MAX_ALLOWED = "You’ve added the maximum of locations allowed.", e10.SERVICE_AREA_MAX_ALLOWED_BASED_ON_SUBSCRIPTION = "Your subscription allows you to add up to %count% locations.", e10.COUNTRY_AND_LANGUAGE_REQUIRED = "You must choose a country and language.";
})(e5 || (e5 = {}));
const t1 = (e10) => e10 != null, K0 = (e10, t = false) => {
  if (!e10 || !e10.validation || !e10.getValue || !e10.setErrors) return true;
  const n = e10.getValue(), r = _4(e10);
  if (r)
    return e10.errors = [], Or(e10, false, r, t);
  if (e10.validation.required && !t5(n))
    return Or(e10, false, Jr.REQUIRED, t);
  if (e10.fieldType === "InputNumber") {
    const {
      gte: o,
      lte: i,
      lt: u,
      gt: p,
      isValid: v
    } = e10.validation;
    let {
      notIn: y
    } = e10.validation;
    if (v && isNaN(parseInt(n)))
      return Or(e10, false, Jr.NR_IS_VALID, t);
    if (t1(o) && !n1(n, o, "gte"))
      return Or(e10, false, Jr.NR_GTE, t);
    if (t1(i) && !n1(n, i, "lte"))
      return Or(e10, false, Jr.NR_LTE, t);
    if (t1(p) && !n1(n, p, "gt"))
      return Or(e10, false, Jr.NR_GT, t);
    if (t1(u) && !n1(n, u, "lt"))
      return Or(e10, false, Jr.NR_LT, t);
    if (y && (Jr.NOT_IN_ARRAY, Array.isArray(y) || (y == null || y.customErrorMessage, y = y == null ? void 0 : y.value), y.length && y.find((k) => k === n)))
      return Or(e10, false, Jr.NOT_IN_ARRAY, t);
  }
  if (e10.fieldType === "Input" || e10.fieldType === "Textarea" || e10.fieldType === "Autocomplete") {
    const {
      minLength: o,
      maxLength: i,
      regex: u,
      urlNotAllowed: p,
      urlFormat: v,
      specialCharsNotAllowed: y,
      multipleSpacesNotAllowed: k,
      pathFormat: T,
      fullCapitalizationNotAllowed: R,
      excessiveCapitalisationNotAllowed: I,
      pathNotAllowed: P,
      domain: S,
      rootDomain: U,
      isPassword: B,
      onlySpacesNotAllowed: X,
      exclamationMarksNotAllowed: Z,
      fullStopMarkNotAllowed: te,
      textAfterCommaOrPeriodNotAllowed: Q
    } = e10.validation;
    let {
      notIn: q
    } = e10.validation;
    if (o && n && n.length < o)
      return Or(e10, false, Jr.MIN_LEN, t);
    if (i && n && n.length > i)
      return Or(e10, false, Jr.MAX_LEN, t);
    if (n && u && !u.test(n))
      return Or(e10, false, Jr.NO_REGEX_MATCH, t);
    if (n && p && n && n.search(qs.url) >= 0)
      return Or(e10, false, Jr.URL_NOT_ALLOWED, t);
    if (n && v && n.search(qs.url) === -1)
      return Or(e10, false, Jr.URL_FORMAT, t);
    if (n && T && n && n.search(qs.invalidPathChars) >= 0)
      return Or(e10, false, Jr.PATH_FORMAT, t);
    if (n && y && n && n.search(qs.specialChars) >= 0)
      return Or(e10, false, Jr.SPECIAL_CHARS_NOT_ALLOWED, t);
    if (n && k && n && n.search(qs.multipleSpaces) >= 0)
      return Or(e10, false, Jr.MULTIPLE_SPACES_NOT_ALLOWED, t);
    if (n && X && n && n.search(qs.onlySpaces) >= 0)
      return Or(e10, false, Jr.ONLY_SPACES_NOT_ALLOWED, t);
    if (n && Z && n && n.search(qs.exclamationMark) >= 0)
      return Or(e10, false, Jr.EXCLAMATION_MARKS_NOT_ALLOWED, t);
    if (n && te && n && n.search(qs.fullStopMark) >= 0)
      return Or(e10, false, Jr.FULL_STOP_MARKS_NOT_ALLOWED, t);
    if (n && Q && n && qs.textAfterCommaOrPeriod.test(n))
      return Or(e10, false, Jr.TEXT_AFTER_COMMA_OR_PERIOD_NOT_ALLOWED, t);
    if (n && R && n && n.search(qs.fullCapitalization) >= 0)
      return Or(e10, false, Jr.FULL_CAPITALIZATION_NOT_ALLOWED, t);
    if (n && I && n && n.search(qs.excessiveCapitalisation) >= 0)
      return Or(e10, false, Jr.EXCESSIVE_CAPITALIZATION_NOT_ALLOWED, t);
    if (n && P && n && n.search(qs.path) >= 0)
      return Or(e10, false, Jr.PATH_NOT_ALLOWED, t);
    if (S && n && n.search(qs.at) >= 0) {
      const F = n.substring(n.indexOf("@") + 1, n.length);
      return F === S ? Or(e10, false, Jr.AT_DOMAIN_NOT_ALLOWED, t) : F.length > 0 ? Or(e10, false, Jr.WRONG_DOMAIN, t) : Or(e10, false, Jr.AT_NOT_ALLOWED, t);
    }
    if (U) {
      const F = n.match(qs.domain);
      let ne = "", ae;
      if (typeof U == "string" ? ne = U : (ne = U.value, ae = Lf.get(U.customErrorMessage, {
        rootDomain: ne
      }).value), F && F[1]) {
        const pe = F[1], Ve = pe.startsWith("www.") ? pe.slice(4) : pe, we = ne.startsWith("www.") ? ne.slice(4) : ne;
        if (Ve !== we)
          return Or(e10, false, ae ?? Jr.ROOT_DOMAIN_INVALID, t);
      } else
        return Or(e10, false, ae ?? Jr.ROOT_DOMAIN_INVALID, t);
    }
    if (B) {
      if (!t5(n))
        return Or(e10, false, Jr.REQUIRED, t);
      if (n && n.length < 4)
        return Or(e10, false, Jr.PASSWORD_MIN_LEN, t);
      if (n && n.length > 100)
        return Or(e10, false, Jr.PASSWORD_MAX_LEN, t);
    }
    if (q) {
      let F = Jr.NOT_IN_ARRAY;
      if (Array.isArray(q) || (F = q == null ? void 0 : q.customErrorMessage, q = q == null ? void 0 : q.value), q.length && q.find((ne) => ne === n))
        return Or(e10, false, F, t);
    }
  }
  if (e10.fieldType === "Input" || e10.fieldType === "InputBase" || e10.fieldType === "ColorPicker") {
    const {
      validatePhone: o,
      validatePhoneNumberForCountry: i,
      validateEmail: u,
      validateHexColor: p
    } = e10.validation;
    if (n && o && !qs.phone.test(n))
      return Or(e10, false, Jr.INVALID_PHONE, t);
    if (n && i && !R2e(n, i))
      return Or(e10, false, Jr.INCORRECT_PHONE, t);
    if (n && u && !qs.email.test(n))
      return Or(e10, false, Jr.INVALID_EMAIL, t);
    if (n && p && !x4(n))
      return Or(e10, false, Jr.INVALID_HEX_COLOR, t);
  }
  if (e10.fieldType === "Autocomplete") {
    const {
      minCount: o,
      maxCount: i
    } = e10.validation;
    if (o && Array.isArray(n) && n.length < o || i && Array.isArray(n) && n.length > i)
      return Or(e10, false, void 0, t);
  }
  return e10.setErrors([]), Or(e10, true, void 0, t);
}, t5 = (e10) => !(!e10 || (Array.isArray(e10) || typeof e10 == "string") && e10.length === 0), n1 = (e10, t, n) => {
  if (typeof t > "u" || (t = Number(t), t == null)) return true;
  let r = null;
  if ((typeof e10 == "number" || typeof e10 == "string") && (r = Number(e10)), r == null || isNaN(r)) return true;
  switch (n) {
    case "gt":
      return r > t;
    case "lt":
      return r < t;
    case "gte":
      return r >= t;
    case "lte":
      return r <= t;
  }
}, Or = (e10, t, n, r = false) => t ? (e10.hasError = false, e10.setHasError && e10.setHasError(false), true) : (r || (e10.hasError = true, e10.setHasError && e10.setHasError(true), e10.setErrors && n && (!e10.errors || e10.errors.indexOf(n) < 0) && e10.setErrors([n])), false), gb = {
  black: "#000",
  white: "#fff"
}, vp = {
  300: "#e57373",
  400: "#ef5350",
  500: "#f44336",
  700: "#d32f2f",
  800: "#c62828"
}, yp = {
  50: "#f3e5f5",
  200: "#ce93d8",
  300: "#ba68c8",
  400: "#ab47bc",
  500: "#9c27b0",
  700: "#7b1fa2"
}, xp = {
  50: "#e3f2fd",
  200: "#90caf9",
  400: "#42a5f5",
  700: "#1976d2",
  800: "#1565c0"
}, _p = {
  300: "#4fc3f7",
  400: "#29b6f6",
  500: "#03a9f4",
  700: "#0288d1",
  900: "#01579b"
}, wp$1 = {
  300: "#81c784",
  400: "#66bb6a",
  500: "#4caf50",
  700: "#388e3c",
  800: "#2e7d32",
  900: "#1b5e20"
}, C0 = {
  300: "#ffb74d",
  400: "#ffa726",
  500: "#ff9800",
  700: "#f57c00",
  900: "#e65100"
}, I2e = {
  50: "#fafafa",
  100: "#f5f5f5",
  200: "#eeeeee",
  300: "#e0e0e0",
  400: "#bdbdbd",
  500: "#9e9e9e",
  600: "#757575",
  700: "#616161",
  800: "#424242",
  900: "#212121",
  A100: "#f5f5f5",
  A200: "#eeeeee",
  A400: "#bdbdbd",
  A700: "#616161"
}, $g = "$$material";
function M2e(e10, t) {
  return Me({
    toolbar: {
      minHeight: 56,
      [e10.up("xs")]: {
        "@media (orientation: landscape)": {
          minHeight: 48
        }
      },
      [e10.up("sm")]: {
        minHeight: 64
      }
    }
  }, t);
}
var xa = {}, qm = { exports: {} }, n5;
function A4() {
  return n5 || (n5 = 1, (function(e10) {
    function t(n) {
      return n && n.__esModule ? n : {
        default: n
      };
    }
    e10.exports = t, e10.exports.__esModule = true, e10.exports.default = e10.exports;
  })(qm)), qm.exports;
}
const O2e = /* @__PURE__ */ _h(vbe), D2e = /* @__PURE__ */ _h(Oge);
var r5;
function F2e() {
  if (r5) return xa;
  r5 = 1;
  var e10 = A4();
  Object.defineProperty(xa, "__esModule", {
    value: true
  }), xa.alpha = P, xa.blend = q, xa.colorChannel = void 0, xa.darken = U, xa.decomposeColor = u, xa.emphasize = te, xa.getContrastRatio = I, xa.getLuminance = R, xa.hexToRgb = o, xa.hslToRgb = T, xa.lighten = X, xa.private_safeAlpha = S, xa.private_safeColorChannel = void 0, xa.private_safeDarken = B, xa.private_safeEmphasize = Q, xa.private_safeLighten = Z, xa.recomposeColor = y, xa.rgbToHex = k;
  var t = e10(O2e), n = e10(D2e);
  function r(F, ne = 0, ae = 1) {
    return (0, n.default)(F, ne, ae);
  }
  function o(F) {
    F = F.slice(1);
    const ne = new RegExp(`.{1,${F.length >= 6 ? 2 : 1}}`, "g");
    let ae = F.match(ne);
    return ae && ae[0].length === 1 && (ae = ae.map((pe) => pe + pe)), ae ? `rgb${ae.length === 4 ? "a" : ""}(${ae.map((pe, Ve) => Ve < 3 ? parseInt(pe, 16) : Math.round(parseInt(pe, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
  }
  function i(F) {
    const ne = F.toString(16);
    return ne.length === 1 ? `0${ne}` : ne;
  }
  function u(F) {
    if (F.type)
      return F;
    if (F.charAt(0) === "#")
      return u(o(F));
    const ne = F.indexOf("("), ae = F.substring(0, ne);
    if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(ae) === -1)
      throw new Error((0, t.default)(9, F));
    let pe = F.substring(ne + 1, F.length - 1), Ve;
    if (ae === "color") {
      if (pe = pe.split(" "), Ve = pe.shift(), pe.length === 4 && pe[3].charAt(0) === "/" && (pe[3] = pe[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(Ve) === -1)
        throw new Error((0, t.default)(10, Ve));
    } else
      pe = pe.split(",");
    return pe = pe.map((we) => parseFloat(we)), {
      type: ae,
      values: pe,
      colorSpace: Ve
    };
  }
  const p = (F) => {
    const ne = u(F);
    return ne.values.slice(0, 3).map((ae, pe) => ne.type.indexOf("hsl") !== -1 && pe !== 0 ? `${ae}%` : ae).join(" ");
  };
  xa.colorChannel = p;
  const v = (F, ne) => {
    try {
      return p(F);
    } catch {
      return F;
    }
  };
  xa.private_safeColorChannel = v;
  function y(F) {
    const {
      type: ne,
      colorSpace: ae
    } = F;
    let {
      values: pe
    } = F;
    return ne.indexOf("rgb") !== -1 ? pe = pe.map((Ve, we) => we < 3 ? parseInt(Ve, 10) : Ve) : ne.indexOf("hsl") !== -1 && (pe[1] = `${pe[1]}%`, pe[2] = `${pe[2]}%`), ne.indexOf("color") !== -1 ? pe = `${ae} ${pe.join(" ")}` : pe = `${pe.join(", ")}`, `${ne}(${pe})`;
  }
  function k(F) {
    if (F.indexOf("#") === 0)
      return F;
    const {
      values: ne
    } = u(F);
    return `#${ne.map((ae, pe) => i(pe === 3 ? Math.round(255 * ae) : ae)).join("")}`;
  }
  function T(F) {
    F = u(F);
    const {
      values: ne
    } = F, ae = ne[0], pe = ne[1] / 100, Ve = ne[2] / 100, we = pe * Math.min(Ve, 1 - Ve), Te = (de, ze = (de + ae / 30) % 12) => Ve - we * Math.max(Math.min(ze - 3, 9 - ze, 1), -1);
    let be = "rgb";
    const ie = [Math.round(Te(0) * 255), Math.round(Te(8) * 255), Math.round(Te(4) * 255)];
    return F.type === "hsla" && (be += "a", ie.push(ne[3])), y({
      type: be,
      values: ie
    });
  }
  function R(F) {
    F = u(F);
    let ne = F.type === "hsl" || F.type === "hsla" ? u(T(F)).values : F.values;
    return ne = ne.map((ae) => (F.type !== "color" && (ae /= 255), ae <= 0.03928 ? ae / 12.92 : ((ae + 0.055) / 1.055) ** 2.4)), Number((0.2126 * ne[0] + 0.7152 * ne[1] + 0.0722 * ne[2]).toFixed(3));
  }
  function I(F, ne) {
    const ae = R(F), pe = R(ne);
    return (Math.max(ae, pe) + 0.05) / (Math.min(ae, pe) + 0.05);
  }
  function P(F, ne) {
    return F = u(F), ne = r(ne), (F.type === "rgb" || F.type === "hsl") && (F.type += "a"), F.type === "color" ? F.values[3] = `/${ne}` : F.values[3] = ne, y(F);
  }
  function S(F, ne, ae) {
    try {
      return P(F, ne);
    } catch {
      return F;
    }
  }
  function U(F, ne) {
    if (F = u(F), ne = r(ne), F.type.indexOf("hsl") !== -1)
      F.values[2] *= 1 - ne;
    else if (F.type.indexOf("rgb") !== -1 || F.type.indexOf("color") !== -1)
      for (let ae = 0; ae < 3; ae += 1)
        F.values[ae] *= 1 - ne;
    return y(F);
  }
  function B(F, ne, ae) {
    try {
      return U(F, ne);
    } catch {
      return F;
    }
  }
  function X(F, ne) {
    if (F = u(F), ne = r(ne), F.type.indexOf("hsl") !== -1)
      F.values[2] += (100 - F.values[2]) * ne;
    else if (F.type.indexOf("rgb") !== -1)
      for (let ae = 0; ae < 3; ae += 1)
        F.values[ae] += (255 - F.values[ae]) * ne;
    else if (F.type.indexOf("color") !== -1)
      for (let ae = 0; ae < 3; ae += 1)
        F.values[ae] += (1 - F.values[ae]) * ne;
    return y(F);
  }
  function Z(F, ne, ae) {
    try {
      return X(F, ne);
    } catch {
      return F;
    }
  }
  function te(F, ne = 0.15) {
    return R(F) > 0.5 ? U(F, ne) : X(F, ne);
  }
  function Q(F, ne, ae) {
    try {
      return te(F, ne);
    } catch {
      return F;
    }
  }
  function q(F, ne, ae, pe = 1) {
    const Ve = (ie, de) => Math.round((ie ** (1 / pe) * (1 - ae) + de ** (1 / pe) * ae) ** pe), we = u(F), Te = u(ne), be = [Ve(we.values[0], Te.values[0]), Ve(we.values[1], Te.values[1]), Ve(we.values[2], Te.values[2])];
    return y({
      type: "rgb",
      values: be
    });
  }
  return xa;
}
var Ti = /* @__PURE__ */ F2e();
const N2e = ["mode", "contrastThreshold", "tonalOffset"], o5 = {
  // The colors used to style the text.
  text: {
    // The most important text.
    primary: "rgba(0, 0, 0, 0.87)",
    // Secondary text.
    secondary: "rgba(0, 0, 0, 0.6)",
    // Disabled text have even lower visual prominence.
    disabled: "rgba(0, 0, 0, 0.38)"
  },
  // The color used to divide different elements.
  divider: "rgba(0, 0, 0, 0.12)",
  // The background colors used to style the surfaces.
  // Consistency between these values is important.
  background: {
    paper: gb.white,
    default: gb.white
  },
  // The colors used to style the action elements.
  action: {
    // The color of an active action like an icon button.
    active: "rgba(0, 0, 0, 0.54)",
    // The color of an hovered action.
    hover: "rgba(0, 0, 0, 0.04)",
    hoverOpacity: 0.04,
    // The color of a selected action.
    selected: "rgba(0, 0, 0, 0.08)",
    selectedOpacity: 0.08,
    // The color of a disabled action.
    disabled: "rgba(0, 0, 0, 0.26)",
    // The background color of a disabled action.
    disabledBackground: "rgba(0, 0, 0, 0.12)",
    disabledOpacity: 0.38,
    focus: "rgba(0, 0, 0, 0.12)",
    focusOpacity: 0.12,
    activatedOpacity: 0.12
  }
}, ev = {
  text: {
    primary: gb.white,
    secondary: "rgba(255, 255, 255, 0.7)",
    disabled: "rgba(255, 255, 255, 0.5)",
    icon: "rgba(255, 255, 255, 0.5)"
  },
  divider: "rgba(255, 255, 255, 0.12)",
  background: {
    paper: "#121212",
    default: "#121212"
  },
  action: {
    active: gb.white,
    hover: "rgba(255, 255, 255, 0.08)",
    hoverOpacity: 0.08,
    selected: "rgba(255, 255, 255, 0.16)",
    selectedOpacity: 0.16,
    disabled: "rgba(255, 255, 255, 0.3)",
    disabledBackground: "rgba(255, 255, 255, 0.12)",
    disabledOpacity: 0.38,
    focus: "rgba(255, 255, 255, 0.12)",
    focusOpacity: 0.12,
    activatedOpacity: 0.24
  }
};
function i5(e10, t, n, r) {
  const o = r.light || r, i = r.dark || r * 1.5;
  e10[t] || (e10.hasOwnProperty(n) ? e10[t] = e10[n] : t === "light" ? e10.light = Ti.lighten(e10.main, o) : t === "dark" && (e10.dark = Ti.darken(e10.main, i)));
}
function L2e(e10 = "light") {
  return e10 === "dark" ? {
    main: xp[200],
    light: xp[50],
    dark: xp[400]
  } : {
    main: xp[700],
    light: xp[400],
    dark: xp[800]
  };
}
function B2e(e10 = "light") {
  return e10 === "dark" ? {
    main: yp[200],
    light: yp[50],
    dark: yp[400]
  } : {
    main: yp[500],
    light: yp[300],
    dark: yp[700]
  };
}
function z2e(e10 = "light") {
  return e10 === "dark" ? {
    main: vp[500],
    light: vp[300],
    dark: vp[700]
  } : {
    main: vp[700],
    light: vp[400],
    dark: vp[800]
  };
}
function W2e(e10 = "light") {
  return e10 === "dark" ? {
    main: _p[400],
    light: _p[300],
    dark: _p[700]
  } : {
    main: _p[700],
    light: _p[500],
    dark: _p[900]
  };
}
function U2e(e10 = "light") {
  return e10 === "dark" ? {
    main: wp$1[400],
    light: wp$1[300],
    dark: wp$1[700]
  } : {
    main: wp$1[800],
    light: wp$1[500],
    dark: wp$1[900]
  };
}
function H2e(e10 = "light") {
  return e10 === "dark" ? {
    main: C0[400],
    light: C0[300],
    dark: C0[700]
  } : {
    main: "#ed6c02",
    // closest to orange[800] that pass 3:1.
    light: C0[500],
    dark: C0[900]
  };
}
function $2e(e10) {
  const {
    mode: t = "light",
    contrastThreshold: n = 3,
    tonalOffset: r = 0.2
  } = e10, o = Pn(e10, N2e), i = e10.primary || L2e(t), u = e10.secondary || B2e(t), p = e10.error || z2e(t), v = e10.info || W2e(t), y = e10.success || U2e(t), k = e10.warning || H2e(t);
  function T(S) {
    const U = Ti.getContrastRatio(S, ev.text.primary) >= n ? ev.text.primary : o5.text.primary;
    return U;
  }
  const R = ({
    color: S,
    name: U,
    mainShade: B = 500,
    lightShade: X = 300,
    darkShade: Z = 700
  }) => {
    if (S = Me({}, S), !S.main && S[B] && (S.main = S[B]), !S.hasOwnProperty("main"))
      throw new Error(Hf(11, U ? ` (${U})` : "", B));
    if (typeof S.main != "string")
      throw new Error(Hf(12, U ? ` (${U})` : "", JSON.stringify(S.main)));
    return i5(S, "light", X, r), i5(S, "dark", Z, r), S.contrastText || (S.contrastText = T(S.main)), S;
  }, I = {
    dark: ev,
    light: o5
  };
  return vc(Me({
    // A collection of common colors.
    common: Me({}, gb),
    // prevent mutable object.
    // The palette mode, can be light or dark.
    mode: t,
    // The colors used to represent primary interface elements for a user.
    primary: R({
      color: i,
      name: "primary"
    }),
    // The colors used to represent secondary interface elements for a user.
    secondary: R({
      color: u,
      name: "secondary",
      mainShade: "A400",
      lightShade: "A200",
      darkShade: "A700"
    }),
    // The colors used to represent interface elements that the user should be made aware of.
    error: R({
      color: p,
      name: "error"
    }),
    // The colors used to represent potentially dangerous actions or important messages.
    warning: R({
      color: k,
      name: "warning"
    }),
    // The colors used to present information to the user that is neutral and not necessarily important.
    info: R({
      color: v,
      name: "info"
    }),
    // The colors used to indicate the successful completion of an action that user triggered.
    success: R({
      color: y,
      name: "success"
    }),
    // The grey colors.
    grey: I2e,
    // Used by `getContrastText()` to maximize the contrast between
    // the background and the text.
    contrastThreshold: n,
    // Takes a background color and returns the text color that maximizes the contrast.
    getContrastText: T,
    // Generate a rich color object.
    augmentColor: R,
    // Used by the functions below to shift a color's luminance by approximately
    // two indexes within its tonal palette.
    // E.g., shift from Red 500 to Red 300 or Red 700.
    tonalOffset: r
  }, I[t]), o);
}
const V2e = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
function G2e(e10) {
  return Math.round(e10 * 1e5) / 1e5;
}
const a5 = {
  textTransform: "uppercase"
}, s5 = '"Roboto", "Helvetica", "Arial", sans-serif';
function Y2e(e10, t) {
  const n = typeof t == "function" ? t(e10) : t, {
    fontFamily: r = s5,
    // The default font size of the Material Specification.
    fontSize: o = 14,
    // px
    fontWeightLight: i = 300,
    fontWeightRegular: u = 400,
    fontWeightMedium: p = 500,
    fontWeightBold: v = 700,
    // Tell MUI what's the font-size on the html element.
    // 16px is the default font-size used by browsers.
    htmlFontSize: y = 16,
    // Apply the CSS properties to all the variants.
    allVariants: k,
    pxToRem: T
  } = n, R = Pn(n, V2e);
  const I = o / 14, P = T || ((B) => `${B / y * I}rem`), S = (B, X, Z, te, Q) => Me({
    fontFamily: r,
    fontWeight: B,
    fontSize: P(X),
    // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
    lineHeight: Z
  }, r === s5 ? {
    letterSpacing: `${G2e(te / X)}em`
  } : {}, Q, k), U = {
    h1: S(i, 96, 1.167, -1.5),
    h2: S(i, 60, 1.2, -0.5),
    h3: S(u, 48, 1.167, 0),
    h4: S(u, 34, 1.235, 0.25),
    h5: S(u, 24, 1.334, 0),
    h6: S(p, 20, 1.6, 0.15),
    subtitle1: S(u, 16, 1.75, 0.15),
    subtitle2: S(p, 14, 1.57, 0.1),
    body1: S(u, 16, 1.5, 0.15),
    body2: S(u, 14, 1.43, 0.15),
    button: S(p, 14, 1.75, 0.4, a5),
    caption: S(u, 12, 1.66, 0.4),
    overline: S(u, 12, 2.66, 1, a5),
    // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
    inherit: {
      fontFamily: "inherit",
      fontWeight: "inherit",
      fontSize: "inherit",
      lineHeight: "inherit",
      letterSpacing: "inherit"
    }
  };
  return vc(Me({
    htmlFontSize: y,
    pxToRem: P,
    fontFamily: r,
    fontSize: o,
    fontWeightLight: i,
    fontWeightRegular: u,
    fontWeightMedium: p,
    fontWeightBold: v
  }, U), R, {
    clone: false
    // No need to clone deep
  });
}
const X2e = 0.2, Z2e = 0.14, K2e = 0.12;
function Ji(...e10) {
  return [`${e10[0]}px ${e10[1]}px ${e10[2]}px ${e10[3]}px rgba(0,0,0,${X2e})`, `${e10[4]}px ${e10[5]}px ${e10[6]}px ${e10[7]}px rgba(0,0,0,${Z2e})`, `${e10[8]}px ${e10[9]}px ${e10[10]}px ${e10[11]}px rgba(0,0,0,${K2e})`].join(",");
}
const J2e = ["none", Ji(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Ji(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Ji(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Ji(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Ji(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Ji(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Ji(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Ji(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Ji(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Ji(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Ji(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Ji(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Ji(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Ji(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Ji(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Ji(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Ji(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Ji(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Ji(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Ji(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Ji(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Ji(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Ji(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Ji(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Q2e = ["duration", "easing", "delay"], j2e = {
  // This is the most common easing curve.
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
  // Objects enter the screen at full velocity from off-screen and
  // slowly decelerate to a resting point.
  easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
  // Objects leave the screen at full velocity. They do not decelerate when off-screen.
  easeIn: "cubic-bezier(0.4, 0, 1, 1)",
  // The sharp curve is used by objects that may return to the screen at any time.
  sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
}, P4 = {
  shortest: 150,
  shorter: 200,
  short: 250,
  // most basic recommended timing
  standard: 300,
  // this is to be used in complex animations
  complex: 375,
  // recommended when something is entering screen
  enteringScreen: 225,
  // recommended when something is leaving screen
  leavingScreen: 195
};
function l5(e10) {
  return `${Math.round(e10)}ms`;
}
function q2e(e10) {
  if (!e10)
    return 0;
  const t = e10 / 36;
  return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
}
function e3e(e10) {
  const t = Me({}, j2e, e10.easing), n = Me({}, P4, e10.duration);
  return Me({
    getAutoHeightDuration: q2e,
    create: (o = ["all"], i = {}) => {
      const {
        duration: u = n.standard,
        easing: p = t.easeInOut,
        delay: v = 0
      } = i;
      Pn(i, Q2e);
      return (Array.isArray(o) ? o : [o]).map((k) => `${k} ${typeof u == "string" ? u : l5(u)} ${p} ${typeof v == "string" ? v : l5(v)}`).join(",");
    }
  }, e10, {
    easing: t,
    duration: n
  });
}
const t3e = {
  mobileStepper: 1e3,
  fab: 1050,
  speedDial: 1050,
  appBar: 1100,
  drawer: 1200,
  modal: 1300,
  snackbar: 1400,
  tooltip: 1500
}, n3e = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
function R4(e10 = {}, ...t) {
  const {
    mixins: n = {},
    palette: r = {},
    transitions: o = {},
    typography: i = {}
  } = e10, u = Pn(e10, n3e);
  if (e10.vars)
    throw new Error(Hf(18));
  const p = $2e(r), v = F2(e10);
  let y = vc(v, {
    mixins: M2e(v.breakpoints, n),
    palette: p,
    // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
    shadows: J2e.slice(),
    typography: Y2e(p, i),
    transitions: e3e(o),
    zIndex: Me({}, t3e)
  });
  if (y = vc(y, u), y = t.reduce((k, T) => vc(k, T), y), false) ;
  return y.unstable_sxConfig = Me({}, Rb, u == null ? void 0 : u.unstable_sxConfig), y.unstable_sx = function(T) {
    return Ib({
      sx: T,
      theme: this
    });
  }, y;
}
function r3e(e10) {
  return String(e10).match(/[\d.\-+]*\s*(.*)/)[1] || "";
}
function o3e(e10) {
  return parseFloat(e10);
}
const Z2 = R4();
function u0() {
  const e10 = N2(Z2);
  return e10[$g] || e10;
}
var Bh = {}, tv = { exports: {} }, u5;
function i3e() {
  return u5 || (u5 = 1, (function(e10) {
    function t() {
      return e10.exports = t = Object.assign ? Object.assign.bind() : function(n) {
        for (var r = 1; r < arguments.length; r++) {
          var o = arguments[r];
          for (var i in o) ({}).hasOwnProperty.call(o, i) && (n[i] = o[i]);
        }
        return n;
      }, e10.exports.__esModule = true, e10.exports.default = e10.exports, t.apply(null, arguments);
    }
    e10.exports = t, e10.exports.__esModule = true, e10.exports.default = e10.exports;
  })(tv)), tv.exports;
}
var nv = { exports: {} }, c5;
function a3e() {
  return c5 || (c5 = 1, (function(e10) {
    function t(n, r) {
      if (n == null) return {};
      var o = {};
      for (var i in n) if ({}.hasOwnProperty.call(n, i)) {
        if (r.indexOf(i) !== -1) continue;
        o[i] = n[i];
      }
      return o;
    }
    e10.exports = t, e10.exports.__esModule = true, e10.exports.default = e10.exports;
  })(nv)), nv.exports;
}
const I4 = /* @__PURE__ */ _h(T1e), s3e = /* @__PURE__ */ _h(k1e), l3e = /* @__PURE__ */ _h(R1e), u3e = /* @__PURE__ */ _h(Mge), c3e = /* @__PURE__ */ _h(vge), d3e = /* @__PURE__ */ _h(kge);
var d5;
function f3e() {
  if (d5) return Bh;
  d5 = 1;
  var e10 = A4();
  Object.defineProperty(Bh, "__esModule", {
    value: true
  }), Bh.default = q, Bh.shouldForwardProp = U, Bh.systemDefaultTheme = void 0;
  var t = e10(i3e()), n = e10(a3e()), r = I(I4), o = s3e;
  e10(l3e);
  e10(u3e);
  var p = e10(c3e), v = e10(d3e);
  const y = ["ownerState"], k = ["variants"], T = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
  function R(F) {
    if (typeof WeakMap != "function") return null;
    var ne = /* @__PURE__ */ new WeakMap(), ae = /* @__PURE__ */ new WeakMap();
    return (R = function(pe) {
      return pe ? ae : ne;
    })(F);
  }
  function I(F, ne) {
    if (F && F.__esModule) return F;
    if (F === null || typeof F != "object" && typeof F != "function") return { default: F };
    var ae = R(ne);
    if (ae && ae.has(F)) return ae.get(F);
    var pe = { __proto__: null }, Ve = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for (var we in F) if (we !== "default" && Object.prototype.hasOwnProperty.call(F, we)) {
      var Te = Ve ? Object.getOwnPropertyDescriptor(F, we) : null;
      Te && (Te.get || Te.set) ? Object.defineProperty(pe, we, Te) : pe[we] = F[we];
    }
    return pe.default = F, ae && ae.set(F, pe), pe;
  }
  function P(F) {
    return Object.keys(F).length === 0;
  }
  function S(F) {
    return typeof F == "string" && // 96 is one less than the char code
    // for "a" so this is checking that
    // it's a lowercase character
    F.charCodeAt(0) > 96;
  }
  function U(F) {
    return F !== "ownerState" && F !== "theme" && F !== "sx" && F !== "as";
  }
  const B = Bh.systemDefaultTheme = (0, p.default)(), X = (F) => F && F.charAt(0).toLowerCase() + F.slice(1);
  function Z({
    defaultTheme: F,
    theme: ne,
    themeId: ae
  }) {
    return P(ne) ? F : ne[ae] || ne;
  }
  function te(F) {
    return F ? (ne, ae) => ae[F] : null;
  }
  function Q(F, ne) {
    let {
      ownerState: ae
    } = ne, pe = (0, n.default)(ne, y);
    const Ve = typeof F == "function" ? F((0, t.default)({
      ownerState: ae
    }, pe)) : F;
    if (Array.isArray(Ve))
      return Ve.flatMap((we) => Q(we, (0, t.default)({
        ownerState: ae
      }, pe)));
    if (Ve && typeof Ve == "object" && Array.isArray(Ve.variants)) {
      const {
        variants: we = []
      } = Ve;
      let be = (0, n.default)(Ve, k);
      return we.forEach((ie) => {
        let de = true;
        typeof ie.props == "function" ? de = ie.props((0, t.default)({
          ownerState: ae
        }, pe, ae)) : Object.keys(ie.props).forEach((ze) => {
          (ae == null ? void 0 : ae[ze]) !== ie.props[ze] && pe[ze] !== ie.props[ze] && (de = false);
        }), de && (Array.isArray(be) || (be = [be]), be.push(typeof ie.style == "function" ? ie.style((0, t.default)({
          ownerState: ae
        }, pe, ae)) : ie.style));
      }), be;
    }
    return Ve;
  }
  function q(F = {}) {
    const {
      themeId: ne,
      defaultTheme: ae = B,
      rootShouldForwardProp: pe = U,
      slotShouldForwardProp: Ve = U
    } = F, we = (Te) => (0, v.default)((0, t.default)({}, Te, {
      theme: Z((0, t.default)({}, Te, {
        defaultTheme: ae,
        themeId: ne
      }))
    }));
    return we.__mui_systemSx = true, (Te, be = {}) => {
      (0, r.internal_processStyles)(Te, (Ke) => Ke.filter((ht) => !(ht != null && ht.__mui_systemSx)));
      const {
        name: ie,
        slot: de,
        skipVariantsResolver: ze,
        skipSx: nt,
        // TODO v6: remove `lowercaseFirstLetter()` in the next major release
        // For more details: https://github.com/mui/material-ui/pull/37908
        overridesResolver: ut = te(X(de))
      } = be, Le = (0, n.default)(be, T), oe = ze !== void 0 ? ze : (
        // TODO v6: remove `Root` in the next major release
        // For more details: https://github.com/mui/material-ui/pull/37908
        de && de !== "Root" && de !== "root" || false
      ), Ue = nt || false;
      let We;
      let Ge = U;
      de === "Root" || de === "root" ? Ge = pe : de ? Ge = Ve : S(Te) && (Ge = void 0);
      const Ze = (0, r.default)(Te, (0, t.default)({
        shouldForwardProp: Ge,
        label: We
      }, Le)), _e = (Ke) => typeof Ke == "function" && Ke.__emotion_real !== Ke || (0, o.isPlainObject)(Ke) ? (ht) => Q(Ke, (0, t.default)({}, ht, {
        theme: Z({
          theme: ht.theme,
          defaultTheme: ae,
          themeId: ne
        })
      })) : Ke, st = (Ke, ...ht) => {
        let gt = _e(Ke);
        const xt = ht ? ht.map(_e) : [];
        ie && ut && xt.push((Ot) => {
          const qe = Z((0, t.default)({}, Ot, {
            defaultTheme: ae,
            themeId: ne
          }));
          if (!qe.components || !qe.components[ie] || !qe.components[ie].styleOverrides)
            return null;
          const wt = qe.components[ie].styleOverrides, en = {};
          return Object.entries(wt).forEach(([Vt, wn]) => {
            en[Vt] = Q(wn, (0, t.default)({}, Ot, {
              theme: qe
            }));
          }), ut(Ot, en);
        }), ie && !oe && xt.push((Ot) => {
          var qe;
          const wt = Z((0, t.default)({}, Ot, {
            defaultTheme: ae,
            themeId: ne
          })), en = wt == null || (qe = wt.components) == null || (qe = qe[ie]) == null ? void 0 : qe.variants;
          return Q({
            variants: en
          }, (0, t.default)({}, Ot, {
            theme: wt
          }));
        }), Ue || xt.push(we);
        const ct = xt.length - ht.length;
        if (Array.isArray(Ke) && ct > 0) {
          const Ot = new Array(ct).fill("");
          gt = [...Ke, ...Ot], gt.raw = [...Ke.raw, ...Ot];
        }
        const yt = Ze(gt, ...xt);
        return Te.muiName && (yt.muiName = Te.muiName), yt;
      };
      return Ze.withConfig && (st.withConfig = Ze.withConfig), st;
    };
  }
  return Bh;
}
var h3e = /* @__PURE__ */ f3e();
const p3e = /* @__PURE__ */ jc(h3e);
function M4(e10) {
  return e10 !== "ownerState" && e10 !== "theme" && e10 !== "sx" && e10 !== "as";
}
const Wd = (e10) => M4(e10) && e10 !== "classes", xn = p3e({
  themeId: $g,
  defaultTheme: Z2,
  rootShouldForwardProp: Wd
}), f5 = (e10) => {
  let t;
  return e10 < 1 ? t = 5.11916 * e10 ** 2 : t = 4.5 * Math.log(e10 + 1) + 2, (t / 100).toFixed(2);
};
function O4(e10) {
  var t, n, r = "";
  if (typeof e10 == "string" || typeof e10 == "number") r += e10;
  else if (typeof e10 == "object") if (Array.isArray(e10)) {
    var o = e10.length;
    for (t = 0; t < o; t++) e10[t] && (n = O4(e10[t])) && (r && (r += " "), r += n);
  } else for (n in e10) e10[n] && (r && (r += " "), r += n);
  return r;
}
function On() {
  for (var e10, t, n = 0, r = "", o = arguments.length; n < o; n++) (e10 = arguments[n]) && (t = O4(e10)) && (r && (r += " "), r += t);
  return r;
}
function so(e10) {
  return sme(e10);
}
function b3e(e10) {
  return Qr("MuiSvgIcon", e10);
}
Dr("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
const g3e = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], m3e = (e10) => {
  const {
    color: t,
    fontSize: n,
    classes: r
  } = e10, o = {
    root: ["root", t !== "inherit" && `color${An(t)}`, `fontSize${An(n)}`]
  };
  return ao(o, b3e, r);
}, v3e = xn("svg", {
  name: "MuiSvgIcon",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, n.color !== "inherit" && t[`color${An(n.color)}`], t[`fontSize${An(n.fontSize)}`]];
  }
})(({
  theme: e10,
  ownerState: t
}) => {
  var n, r, o, i, u, p, v, y, k, T, R, I, P;
  return {
    userSelect: "none",
    width: "1em",
    height: "1em",
    display: "inline-block",
    // the <svg> will define the property that has `currentColor`
    // for example heroicons uses fill="none" and stroke="currentColor"
    fill: t.hasSvgAsChild ? void 0 : "currentColor",
    flexShrink: 0,
    transition: (n = e10.transitions) == null || (r = n.create) == null ? void 0 : r.call(n, "fill", {
      duration: (o = e10.transitions) == null || (o = o.duration) == null ? void 0 : o.shorter
    }),
    fontSize: {
      inherit: "inherit",
      small: ((i = e10.typography) == null || (u = i.pxToRem) == null ? void 0 : u.call(i, 20)) || "1.25rem",
      medium: ((p = e10.typography) == null || (v = p.pxToRem) == null ? void 0 : v.call(p, 24)) || "1.5rem",
      large: ((y = e10.typography) == null || (k = y.pxToRem) == null ? void 0 : k.call(y, 35)) || "2.1875rem"
    }[t.fontSize],
    // TODO v5 deprecate, v6 remove for sx
    color: (T = (R = (e10.vars || e10).palette) == null || (R = R[t.color]) == null ? void 0 : R.main) != null ? T : {
      action: (I = (e10.vars || e10).palette) == null || (I = I.action) == null ? void 0 : I.active,
      disabled: (P = (e10.vars || e10).palette) == null || (P = P.action) == null ? void 0 : P.disabled,
      inherit: void 0
    }[t.color]
  };
}), j1 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiSvgIcon"
  }), {
    children: o,
    className: i,
    color: u = "inherit",
    component: p = "svg",
    fontSize: v = "medium",
    htmlColor: y,
    inheritViewBox: k = false,
    titleAccess: T,
    viewBox: R = "0 0 24 24"
  } = r, I = Pn(r, g3e), P = /* @__PURE__ */ reactExports.isValidElement(o) && o.type === "svg", S = Me({}, r, {
    color: u,
    component: p,
    fontSize: v,
    instanceFontSize: t.fontSize,
    inheritViewBox: k,
    viewBox: R,
    hasSvgAsChild: P
  }), U = {};
  k || (U.viewBox = R);
  const B = m3e(S);
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(v3e, Me({
    as: p,
    className: On(B.root, i),
    focusable: "false",
    color: y,
    "aria-hidden": T ? void 0 : true,
    role: T ? "img" : void 0,
    ref: n
  }, U, I, P && o.props, {
    ownerState: S,
    children: [P ? o.props.children : o, T ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", {
      children: T
    }) : null]
  }));
});
j1.muiName = "SvgIcon";
function Ob(e10, t) {
  function n(r, o) {
    return /* @__PURE__ */ jsxRuntimeExports.jsx(j1, Me({
      "data-testid": `${t}Icon`,
      ref: o
    }, r, {
      children: e10
    }));
  }
  return n.muiName = j1.muiName, /* @__PURE__ */ reactExports.memo(/* @__PURE__ */ reactExports.forwardRef(n));
}
function $y(e10, t) {
  return $y = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
    return n.__proto__ = r, n;
  }, $y(e10, t);
}
function D4(e10, t) {
  e10.prototype = Object.create(t.prototype), e10.prototype.constructor = e10, $y(e10, t);
}
const h5 = {
  disabled: false
};
const q1 = React.createContext(null);
var x3e = function(t) {
  return t.scrollTop;
}, z0 = "unmounted", Uh = "exited", Hh = "entering", Ap = "entered", Vy = "exiting", Ud = /* @__PURE__ */ (function(e10) {
  D4(t, e10);
  function t(r, o) {
    var i;
    i = e10.call(this, r, o) || this;
    var u = o, p = u && !u.isMounting ? r.enter : r.appear, v;
    return i.appearStatus = null, r.in ? p ? (v = Uh, i.appearStatus = Hh) : v = Ap : r.unmountOnExit || r.mountOnEnter ? v = z0 : v = Uh, i.state = {
      status: v
    }, i.nextCallback = null, i;
  }
  t.getDerivedStateFromProps = function(o, i) {
    var u = o.in;
    return u && i.status === z0 ? {
      status: Uh
    } : null;
  };
  var n = t.prototype;
  return n.componentDidMount = function() {
    this.updateStatus(true, this.appearStatus);
  }, n.componentDidUpdate = function(o) {
    var i = null;
    if (o !== this.props) {
      var u = this.state.status;
      this.props.in ? u !== Hh && u !== Ap && (i = Hh) : (u === Hh || u === Ap) && (i = Vy);
    }
    this.updateStatus(false, i);
  }, n.componentWillUnmount = function() {
    this.cancelNextCallback();
  }, n.getTimeouts = function() {
    var o = this.props.timeout, i, u, p;
    return i = u = p = o, o != null && typeof o != "number" && (i = o.exit, u = o.enter, p = o.appear !== void 0 ? o.appear : u), {
      exit: i,
      enter: u,
      appear: p
    };
  }, n.updateStatus = function(o, i) {
    if (o === void 0 && (o = false), i !== null)
      if (this.cancelNextCallback(), i === Hh) {
        if (this.props.unmountOnExit || this.props.mountOnEnter) {
          var u = this.props.nodeRef ? this.props.nodeRef.current : ch.findDOMNode(this);
          u && x3e(u);
        }
        this.performEnter(o);
      } else
        this.performExit();
    else this.props.unmountOnExit && this.state.status === Uh && this.setState({
      status: z0
    });
  }, n.performEnter = function(o) {
    var i = this, u = this.props.enter, p = this.context ? this.context.isMounting : o, v = this.props.nodeRef ? [p] : [ch.findDOMNode(this), p], y = v[0], k = v[1], T = this.getTimeouts(), R = p ? T.appear : T.enter;
    if (!o && !u || h5.disabled) {
      this.safeSetState({
        status: Ap
      }, function() {
        i.props.onEntered(y);
      });
      return;
    }
    this.props.onEnter(y, k), this.safeSetState({
      status: Hh
    }, function() {
      i.props.onEntering(y, k), i.onTransitionEnd(R, function() {
        i.safeSetState({
          status: Ap
        }, function() {
          i.props.onEntered(y, k);
        });
      });
    });
  }, n.performExit = function() {
    var o = this, i = this.props.exit, u = this.getTimeouts(), p = this.props.nodeRef ? void 0 : ch.findDOMNode(this);
    if (!i || h5.disabled) {
      this.safeSetState({
        status: Uh
      }, function() {
        o.props.onExited(p);
      });
      return;
    }
    this.props.onExit(p), this.safeSetState({
      status: Vy
    }, function() {
      o.props.onExiting(p), o.onTransitionEnd(u.exit, function() {
        o.safeSetState({
          status: Uh
        }, function() {
          o.props.onExited(p);
        });
      });
    });
  }, n.cancelNextCallback = function() {
    this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
  }, n.safeSetState = function(o, i) {
    i = this.setNextCallback(i), this.setState(o, i);
  }, n.setNextCallback = function(o) {
    var i = this, u = true;
    return this.nextCallback = function(p) {
      u && (u = false, i.nextCallback = null, o(p));
    }, this.nextCallback.cancel = function() {
      u = false;
    }, this.nextCallback;
  }, n.onTransitionEnd = function(o, i) {
    this.setNextCallback(i);
    var u = this.props.nodeRef ? this.props.nodeRef.current : ch.findDOMNode(this), p = o == null && !this.props.addEndListener;
    if (!u || p) {
      setTimeout(this.nextCallback, 0);
      return;
    }
    if (this.props.addEndListener) {
      var v = this.props.nodeRef ? [this.nextCallback] : [u, this.nextCallback], y = v[0], k = v[1];
      this.props.addEndListener(y, k);
    }
    o != null && setTimeout(this.nextCallback, o);
  }, n.render = function() {
    var o = this.state.status;
    if (o === z0)
      return null;
    var i = this.props, u = i.children;
    i.in, i.mountOnEnter, i.unmountOnExit, i.appear, i.enter, i.exit, i.timeout, i.addEndListener, i.onEnter, i.onEntering, i.onEntered, i.onExit, i.onExiting, i.onExited, i.nodeRef;
    var p = Pn(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
    return (
      // allows for nested Transitions
      /* @__PURE__ */ React.createElement(q1.Provider, {
        value: null
      }, typeof u == "function" ? u(o, p) : React.cloneElement(React.Children.only(u), p))
    );
  }, t;
})(React.Component);
Ud.contextType = q1;
Ud.propTypes = {};
function Tp() {
}
Ud.defaultProps = {
  in: false,
  mountOnEnter: false,
  unmountOnExit: false,
  appear: false,
  enter: true,
  exit: true,
  onEnter: Tp,
  onEntering: Tp,
  onEntered: Tp,
  onExit: Tp,
  onExiting: Tp,
  onExited: Tp
};
Ud.UNMOUNTED = z0;
Ud.EXITED = Uh;
Ud.ENTERING = Hh;
Ud.ENTERED = Ap;
Ud.EXITING = Vy;
function _3e(e10) {
  if (e10 === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  return e10;
}
function K2(e10, t) {
  var n = function(i) {
    return t && reactExports.isValidElement(i) ? t(i) : i;
  }, r = /* @__PURE__ */ Object.create(null);
  return e10 && reactExports.Children.map(e10, function(o) {
    return o;
  }).forEach(function(o) {
    r[o.key] = n(o);
  }), r;
}
function w3e(e10, t) {
  e10 = e10 || {}, t = t || {};
  function n(k) {
    return k in t ? t[k] : e10[k];
  }
  var r = /* @__PURE__ */ Object.create(null), o = [];
  for (var i in e10)
    i in t ? o.length && (r[i] = o, o = []) : o.push(i);
  var u, p = {};
  for (var v in t) {
    if (r[v])
      for (u = 0; u < r[v].length; u++) {
        var y = r[v][u];
        p[r[v][u]] = n(y);
      }
    p[v] = n(v);
  }
  for (u = 0; u < o.length; u++)
    p[o[u]] = n(o[u]);
  return p;
}
function Kh(e10, t, n) {
  return n[t] != null ? n[t] : e10.props[t];
}
function T3e(e10, t) {
  return K2(e10.children, function(n) {
    return reactExports.cloneElement(n, {
      onExited: t.bind(null, n),
      in: true,
      appear: Kh(n, "appear", e10),
      enter: Kh(n, "enter", e10),
      exit: Kh(n, "exit", e10)
    });
  });
}
function k3e(e10, t, n) {
  var r = K2(e10.children), o = w3e(t, r);
  return Object.keys(o).forEach(function(i) {
    var u = o[i];
    if (reactExports.isValidElement(u)) {
      var p = i in t, v = i in r, y = t[i], k = reactExports.isValidElement(y) && !y.props.in;
      v && (!p || k) ? o[i] = reactExports.cloneElement(u, {
        onExited: n.bind(null, u),
        in: true,
        exit: Kh(u, "exit", e10),
        enter: Kh(u, "enter", e10)
      }) : !v && p && !k ? o[i] = reactExports.cloneElement(u, {
        in: false
      }) : v && p && reactExports.isValidElement(y) && (o[i] = reactExports.cloneElement(u, {
        onExited: n.bind(null, u),
        in: y.props.in,
        exit: Kh(u, "exit", e10),
        enter: Kh(u, "enter", e10)
      }));
    }
  }), o;
}
var E3e = Object.values || function(e10) {
  return Object.keys(e10).map(function(t) {
    return e10[t];
  });
}, C3e = {
  component: "div",
  childFactory: function(t) {
    return t;
  }
}, J2 = /* @__PURE__ */ (function(e10) {
  D4(t, e10);
  function t(r, o) {
    var i;
    i = e10.call(this, r, o) || this;
    var u = i.handleExited.bind(_3e(i));
    return i.state = {
      contextValue: {
        isMounting: true
      },
      handleExited: u,
      firstRender: true
    }, i;
  }
  var n = t.prototype;
  return n.componentDidMount = function() {
    this.mounted = true, this.setState({
      contextValue: {
        isMounting: false
      }
    });
  }, n.componentWillUnmount = function() {
    this.mounted = false;
  }, t.getDerivedStateFromProps = function(o, i) {
    var u = i.children, p = i.handleExited, v = i.firstRender;
    return {
      children: v ? T3e(o, p) : k3e(o, u, p),
      firstRender: false
    };
  }, n.handleExited = function(o, i) {
    var u = K2(this.props.children);
    o.key in u || (o.props.onExited && o.props.onExited(i), this.mounted && this.setState(function(p) {
      var v = Me({}, p.children);
      return delete v[o.key], {
        children: v
      };
    }));
  }, n.render = function() {
    var o = this.props, i = o.component, u = o.childFactory, p = Pn(o, ["component", "childFactory"]), v = this.state.contextValue, y = E3e(this.state.children).map(u);
    return delete p.appear, delete p.enter, delete p.exit, i === null ? /* @__PURE__ */ React.createElement(q1.Provider, {
      value: v
    }, y) : /* @__PURE__ */ React.createElement(q1.Provider, {
      value: v
    }, /* @__PURE__ */ React.createElement(i, p, y));
  }, t;
})(React.Component);
J2.propTypes = {};
J2.defaultProps = C3e;
const F4 = (e10) => e10.scrollTop;
function Xp(e10, t) {
  var n, r;
  const {
    timeout: o,
    easing: i,
    style: u = {}
  } = e10;
  return {
    duration: (n = u.transitionDuration) != null ? n : typeof o == "number" ? o : o[t.mode] || 0,
    easing: (r = u.transitionTimingFunction) != null ? r : typeof i == "object" ? i[t.mode] : i,
    delay: u.transitionDelay
  };
}
function S3e(e10) {
  return Qr("MuiCollapse", e10);
}
Dr("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
const A3e = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"], P3e = (e10) => {
  const {
    orientation: t,
    classes: n
  } = e10, r = {
    root: ["root", `${t}`],
    entered: ["entered"],
    hidden: ["hidden"],
    wrapper: ["wrapper", `${t}`],
    wrapperInner: ["wrapperInner", `${t}`]
  };
  return ao(r, S3e, n);
}, R3e = xn("div", {
  name: "MuiCollapse",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, t[n.orientation], n.state === "entered" && t.entered, n.state === "exited" && !n.in && n.collapsedSize === "0px" && t.hidden];
  }
})(({
  theme: e10,
  ownerState: t
}) => Me({
  height: 0,
  overflow: "hidden",
  transition: e10.transitions.create("height")
}, t.orientation === "horizontal" && {
  height: "auto",
  width: 0,
  transition: e10.transitions.create("width")
}, t.state === "entered" && Me({
  height: "auto",
  overflow: "visible"
}, t.orientation === "horizontal" && {
  width: "auto"
}), t.state === "exited" && !t.in && t.collapsedSize === "0px" && {
  visibility: "hidden"
})), I3e = xn("div", {
  name: "MuiCollapse",
  slot: "Wrapper",
  overridesResolver: (e10, t) => t.wrapper
})(({
  ownerState: e10
}) => Me({
  // Hack to get children with a negative margin to not falsify the height computation.
  display: "flex",
  width: "100%"
}, e10.orientation === "horizontal" && {
  width: "auto",
  height: "100%"
})), M3e = xn("div", {
  name: "MuiCollapse",
  slot: "WrapperInner",
  overridesResolver: (e10, t) => t.wrapperInner
})(({
  ownerState: e10
}) => Me({
  width: "100%"
}, e10.orientation === "horizontal" && {
  width: "auto",
  height: "100%"
})), Vg = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiCollapse"
  }), {
    addEndListener: o,
    children: i,
    className: u,
    collapsedSize: p = "0px",
    component: v,
    easing: y,
    in: k,
    onEnter: T,
    onEntered: R,
    onEntering: I,
    onExit: P,
    onExited: S,
    onExiting: U,
    orientation: B = "vertical",
    style: X,
    timeout: Z = P4.standard,
    // eslint-disable-next-line react/prop-types
    TransitionComponent: te = Ud
  } = r, Q = Pn(r, A3e), q = Me({}, r, {
    orientation: B,
    collapsedSize: p
  }), F = P3e(q), ne = u0(), ae = Zh(), pe = reactExports.useRef(null), Ve = reactExports.useRef(), we = typeof p == "number" ? `${p}px` : p, Te = B === "horizontal", be = Te ? "width" : "height", ie = reactExports.useRef(null), de = Ma(n, ie), ze = (_e) => (st) => {
    if (_e) {
      const Ke = ie.current;
      st === void 0 ? _e(Ke) : _e(Ke, st);
    }
  }, nt = () => pe.current ? pe.current[Te ? "clientWidth" : "clientHeight"] : 0, ut = ze((_e, st) => {
    pe.current && Te && (pe.current.style.position = "absolute"), _e.style[be] = we, T && T(_e, st);
  }), Le = ze((_e, st) => {
    const Ke = nt();
    pe.current && Te && (pe.current.style.position = "");
    const {
      duration: ht,
      easing: gt
    } = Xp({
      style: X,
      timeout: Z,
      easing: y
    }, {
      mode: "enter"
    });
    if (Z === "auto") {
      const xt = ne.transitions.getAutoHeightDuration(Ke);
      _e.style.transitionDuration = `${xt}ms`, Ve.current = xt;
    } else
      _e.style.transitionDuration = typeof ht == "string" ? ht : `${ht}ms`;
    _e.style[be] = `${Ke}px`, _e.style.transitionTimingFunction = gt, I && I(_e, st);
  }), oe = ze((_e, st) => {
    _e.style[be] = "auto", R && R(_e, st);
  }), Ue = ze((_e) => {
    _e.style[be] = `${nt()}px`, P && P(_e);
  }), We = ze(S), Ge = ze((_e) => {
    const st = nt(), {
      duration: Ke,
      easing: ht
    } = Xp({
      style: X,
      timeout: Z,
      easing: y
    }, {
      mode: "exit"
    });
    if (Z === "auto") {
      const gt = ne.transitions.getAutoHeightDuration(st);
      _e.style.transitionDuration = `${gt}ms`, Ve.current = gt;
    } else
      _e.style.transitionDuration = typeof Ke == "string" ? Ke : `${Ke}ms`;
    _e.style[be] = we, _e.style.transitionTimingFunction = ht, U && U(_e);
  });
  return /* @__PURE__ */ jsxRuntimeExports.jsx(te, Me({
    in: k,
    onEnter: ut,
    onEntered: oe,
    onEntering: Le,
    onExit: Ue,
    onExited: We,
    onExiting: Ge,
    addEndListener: (_e) => {
      Z === "auto" && ae.start(Ve.current || 0, _e), o && o(ie.current, _e);
    },
    nodeRef: ie,
    timeout: Z === "auto" ? null : Z
  }, Q, {
    children: (_e, st) => /* @__PURE__ */ jsxRuntimeExports.jsx(R3e, Me({
      as: v,
      className: On(F.root, u, {
        entered: F.entered,
        exited: !k && we === "0px" && F.hidden
      }[_e]),
      style: Me({
        [Te ? "minWidth" : "minHeight"]: we
      }, X),
      ref: de
    }, st, {
      // `ownerState` is set after `childProps` to override any existing `ownerState` property in `childProps`
      // that might have been forwarded from the Transition component.
      ownerState: Me({}, q, {
        state: _e
      }),
      children: /* @__PURE__ */ jsxRuntimeExports.jsx(I3e, {
        ownerState: Me({}, q, {
          state: _e
        }),
        className: F.wrapper,
        ref: pe,
        children: /* @__PURE__ */ jsxRuntimeExports.jsx(M3e, {
          ownerState: Me({}, q, {
            state: _e
          }),
          className: F.wrapperInner,
          children: i
        })
      })
    }))
  }));
});
Vg.muiSupportAuto = true;
function O3e(e10) {
  return Qr("MuiPaper", e10);
}
Dr("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
const D3e = ["className", "component", "elevation", "square", "variant"], F3e = (e10) => {
  const {
    square: t,
    elevation: n,
    variant: r,
    classes: o
  } = e10, i = {
    root: ["root", r, !t && "rounded", r === "elevation" && `elevation${n}`]
  };
  return ao(i, O3e, o);
}, N3e = xn("div", {
  name: "MuiPaper",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, t[n.variant], !n.square && t.rounded, n.variant === "elevation" && t[`elevation${n.elevation}`]];
  }
})(({
  theme: e10,
  ownerState: t
}) => {
  var n;
  return Me({
    backgroundColor: (e10.vars || e10).palette.background.paper,
    color: (e10.vars || e10).palette.text.primary,
    transition: e10.transitions.create("box-shadow")
  }, !t.square && {
    borderRadius: e10.shape.borderRadius
  }, t.variant === "outlined" && {
    border: `1px solid ${(e10.vars || e10).palette.divider}`
  }, t.variant === "elevation" && Me({
    boxShadow: (e10.vars || e10).shadows[t.elevation]
  }, !e10.vars && e10.palette.mode === "dark" && {
    backgroundImage: `linear-gradient(${Ti.alpha("#fff", f5(t.elevation))}, ${Ti.alpha("#fff", f5(t.elevation))})`
  }, e10.vars && {
    backgroundImage: (n = e10.vars.overlays) == null ? void 0 : n[t.elevation]
  }));
}), Db = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiPaper"
  }), {
    className: o,
    component: i = "div",
    elevation: u = 1,
    square: p = false,
    variant: v = "elevation"
  } = r, y = Pn(r, D3e), k = Me({}, r, {
    component: i,
    elevation: u,
    square: p,
    variant: v
  }), T = F3e(k);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(N3e, Me({
    as: i,
    ownerState: k,
    className: On(T.root, o),
    ref: n
  }, y));
});
const Q2 = /* @__PURE__ */ reactExports.createContext({});
const L3e = ["className", "elementType", "ownerState", "externalForwardedProps", "getSlotOwnerState", "internalForwardedProps"], B3e = ["component", "slots", "slotProps"], z3e = ["component"];
function W3e(e10, t) {
  const {
    className: n,
    elementType: r,
    ownerState: o,
    externalForwardedProps: i,
    getSlotOwnerState: u,
    internalForwardedProps: p
  } = t, v = Pn(t, L3e), {
    component: y,
    slots: k = {
      [e10]: void 0
    },
    slotProps: T = {
      [e10]: void 0
    }
  } = i;
  Pn(i, B3e);
  const R = k[e10] || r, I = i4(T[e10], o), P = o4(Me({
    className: n
  }, v, {
    externalForwardedProps: void 0,
    externalSlotProps: I
  })), {
    props: {
      component: S
    },
    internalRef: U
  } = P, B = Pn(P.props, z3e), X = Ma(U, I == null ? void 0 : I.ref, t.ref), Z = u ? u(B) : {}, te = Me({}, o, Z), Q = S, q = Pp(R, Me({}, e10 === "root", !k[e10] && p, B, Q && {
    as: Q
  }, {
    ref: X
  }), te);
  return Object.keys(Z).forEach((F) => {
    delete q[F];
  }), [R, q];
}
function U3e(e10) {
  return Qr("MuiAccordion", e10);
}
const r1 = Dr("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters", "region"]), H3e = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "slots", "slotProps", "TransitionComponent", "TransitionProps"], $3e = (e10) => {
  const {
    classes: t,
    square: n,
    expanded: r,
    disabled: o,
    disableGutters: i
  } = e10;
  return ao({
    root: ["root", !n && "rounded", r && "expanded", o && "disabled", !i && "gutters"],
    region: ["region"]
  }, U3e, t);
}, V3e = xn(Db, {
  name: "MuiAccordion",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [{
      [`& .${r1.region}`]: t.region
    }, t.root, !n.square && t.rounded, !n.disableGutters && t.gutters];
  }
})(({
  theme: e10
}) => {
  const t = {
    duration: e10.transitions.duration.shortest
  };
  return {
    position: "relative",
    transition: e10.transitions.create(["margin"], t),
    overflowAnchor: "none",
    // Keep the same scrolling position
    "&::before": {
      position: "absolute",
      left: 0,
      top: -1,
      right: 0,
      height: 1,
      content: '""',
      opacity: 1,
      backgroundColor: (e10.vars || e10).palette.divider,
      transition: e10.transitions.create(["opacity", "background-color"], t)
    },
    "&:first-of-type": {
      "&::before": {
        display: "none"
      }
    },
    [`&.${r1.expanded}`]: {
      "&::before": {
        opacity: 0
      },
      "&:first-of-type": {
        marginTop: 0
      },
      "&:last-of-type": {
        marginBottom: 0
      },
      "& + &": {
        "&::before": {
          display: "none"
        }
      }
    },
    [`&.${r1.disabled}`]: {
      backgroundColor: (e10.vars || e10).palette.action.disabledBackground
    }
  };
}, ({
  theme: e10
}) => ({
  variants: [{
    props: (t) => !t.square,
    style: {
      borderRadius: 0,
      "&:first-of-type": {
        borderTopLeftRadius: (e10.vars || e10).shape.borderRadius,
        borderTopRightRadius: (e10.vars || e10).shape.borderRadius
      },
      "&:last-of-type": {
        borderBottomLeftRadius: (e10.vars || e10).shape.borderRadius,
        borderBottomRightRadius: (e10.vars || e10).shape.borderRadius,
        // Fix a rendering issue on Edge
        "@supports (-ms-ime-align: auto)": {
          borderBottomLeftRadius: 0,
          borderBottomRightRadius: 0
        }
      }
    }
  }, {
    props: (t) => !t.disableGutters,
    style: {
      [`&.${r1.expanded}`]: {
        margin: "16px 0"
      }
    }
  }]
})), N4 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiAccordion"
  }), {
    children: o,
    className: i,
    defaultExpanded: u = false,
    disabled: p = false,
    disableGutters: v = false,
    expanded: y,
    onChange: k,
    square: T = false,
    slots: R = {},
    slotProps: I = {},
    TransitionComponent: P,
    TransitionProps: S
  } = r, U = Pn(r, H3e), [B, X] = Qh({
    controlled: y,
    default: u,
    name: "Accordion",
    state: "expanded"
  }), Z = reactExports.useCallback((Te) => {
    X(!B), k && k(Te, !B);
  }, [B, k, X]), [te, ...Q] = reactExports.Children.toArray(o), q = reactExports.useMemo(() => ({
    expanded: B,
    disabled: p,
    disableGutters: v,
    toggle: Z
  }), [B, p, v, Z]), F = Me({}, r, {
    square: T,
    disabled: p,
    disableGutters: v,
    expanded: B
  }), ne = $3e(F), ae = Me({
    transition: P
  }, R), pe = Me({
    transition: S
  }, I), [Ve, we] = W3e("transition", {
    elementType: Vg,
    externalForwardedProps: {
      slots: ae,
      slotProps: pe
    },
    ownerState: F
  });
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(V3e, Me({
    className: On(ne.root, i),
    ref: n,
    ownerState: F,
    square: T
  }, U, {
    children: [/* @__PURE__ */ jsxRuntimeExports.jsx(Q2.Provider, {
      value: q,
      children: te
    }), /* @__PURE__ */ jsxRuntimeExports.jsx(Ve, Me({
      in: B,
      timeout: "auto"
    }, we, {
      children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
        "aria-labelledby": te.props.id,
        id: te.props["aria-controls"],
        role: "region",
        className: ne.region,
        children: Q
      })
    }))]
  }));
});
function G3e(e10) {
  return Qr("MuiAccordionDetails", e10);
}
Dr("MuiAccordionDetails", ["root"]);
const Y3e = ["className"], X3e = (e10) => {
  const {
    classes: t
  } = e10;
  return ao({
    root: ["root"]
  }, G3e, t);
}, Z3e = xn("div", {
  name: "MuiAccordionDetails",
  slot: "Root",
  overridesResolver: (e10, t) => t.root
})(({
  theme: e10
}) => ({
  padding: e10.spacing(1, 2, 2)
})), L4 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiAccordionDetails"
  }), {
    className: o
  } = r, i = Pn(r, Y3e), u = r, p = X3e(u);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Z3e, Me({
    className: On(p.root, o),
    ref: n,
    ownerState: u
  }, i));
});
function B4(e10) {
  const {
    className: t,
    classes: n,
    pulsate: r = false,
    rippleX: o,
    rippleY: i,
    rippleSize: u,
    in: p,
    onExited: v,
    timeout: y
  } = e10, [k, T] = reactExports.useState(false), R = On(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), I = {
    width: u,
    height: u,
    top: -(u / 2) + i,
    left: -(u / 2) + o
  }, P = On(n.child, k && n.childLeaving, r && n.childPulsate);
  return !p && !k && T(true), reactExports.useEffect(() => {
    if (!p && v != null) {
      const S = setTimeout(v, y);
      return () => {
        clearTimeout(S);
      };
    }
  }, [v, p, y]), /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
    className: R,
    style: I,
    children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
      className: P
    })
  });
}
const Vc = Dr("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), K3e = ["center", "classes", "className"];
let Gg = (e10) => e10, p5, b5, g5, m5;
const Gy = 550, J3e = 80, Q3e = i0(p5 || (p5 = Gg`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)), j3e = i0(b5 || (b5 = Gg`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)), q3e = i0(g5 || (g5 = Gg`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)), exe = xn("span", {
  name: "MuiTouchRipple",
  slot: "Root"
})({
  overflow: "hidden",
  pointerEvents: "none",
  position: "absolute",
  zIndex: 0,
  top: 0,
  right: 0,
  bottom: 0,
  left: 0,
  borderRadius: "inherit"
}), txe = xn(B4, {
  name: "MuiTouchRipple",
  slot: "Ripple"
})(m5 || (m5 = Gg`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`), Vc.rippleVisible, Q3e, Gy, ({
  theme: e10
}) => e10.transitions.easing.easeInOut, Vc.ripplePulsate, ({
  theme: e10
}) => e10.transitions.duration.shorter, Vc.child, Vc.childLeaving, j3e, Gy, ({
  theme: e10
}) => e10.transitions.easing.easeInOut, Vc.childPulsate, q3e, ({
  theme: e10
}) => e10.transitions.easing.easeInOut), z4 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiTouchRipple"
  }), {
    center: o = false,
    classes: i = {},
    className: u
  } = r, p = Pn(r, K3e), [v, y] = reactExports.useState([]), k = reactExports.useRef(0), T = reactExports.useRef(null);
  reactExports.useEffect(() => {
    T.current && (T.current(), T.current = null);
  }, [v]);
  const R = reactExports.useRef(false), I = Zh(), P = reactExports.useRef(null), S = reactExports.useRef(null), U = reactExports.useCallback((te) => {
    const {
      pulsate: Q,
      rippleX: q,
      rippleY: F,
      rippleSize: ne,
      cb: ae
    } = te;
    y((pe) => [...pe, /* @__PURE__ */ jsxRuntimeExports.jsx(txe, {
      classes: {
        ripple: On(i.ripple, Vc.ripple),
        rippleVisible: On(i.rippleVisible, Vc.rippleVisible),
        ripplePulsate: On(i.ripplePulsate, Vc.ripplePulsate),
        child: On(i.child, Vc.child),
        childLeaving: On(i.childLeaving, Vc.childLeaving),
        childPulsate: On(i.childPulsate, Vc.childPulsate)
      },
      timeout: Gy,
      pulsate: Q,
      rippleX: q,
      rippleY: F,
      rippleSize: ne
    }, k.current)]), k.current += 1, T.current = ae;
  }, [i]), B = reactExports.useCallback((te = {}, Q = {}, q = () => {
  }) => {
    const {
      pulsate: F = false,
      center: ne = o || Q.pulsate,
      fakeElement: ae = false
      // For test purposes
    } = Q;
    if ((te == null ? void 0 : te.type) === "mousedown" && R.current) {
      R.current = false;
      return;
    }
    (te == null ? void 0 : te.type) === "touchstart" && (R.current = true);
    const pe = ae ? null : S.current, Ve = pe ? pe.getBoundingClientRect() : {
      width: 0,
      height: 0,
      left: 0,
      top: 0
    };
    let we, Te, be;
    if (ne || te === void 0 || te.clientX === 0 && te.clientY === 0 || !te.clientX && !te.touches)
      we = Math.round(Ve.width / 2), Te = Math.round(Ve.height / 2);
    else {
      const {
        clientX: ie,
        clientY: de
      } = te.touches && te.touches.length > 0 ? te.touches[0] : te;
      we = Math.round(ie - Ve.left), Te = Math.round(de - Ve.top);
    }
    if (ne)
      be = Math.sqrt((2 * Ve.width ** 2 + Ve.height ** 2) / 3), be % 2 === 0 && (be += 1);
    else {
      const ie = Math.max(Math.abs((pe ? pe.clientWidth : 0) - we), we) * 2 + 2, de = Math.max(Math.abs((pe ? pe.clientHeight : 0) - Te), Te) * 2 + 2;
      be = Math.sqrt(ie ** 2 + de ** 2);
    }
    te != null && te.touches ? P.current === null && (P.current = () => {
      U({
        pulsate: F,
        rippleX: we,
        rippleY: Te,
        rippleSize: be,
        cb: q
      });
    }, I.start(J3e, () => {
      P.current && (P.current(), P.current = null);
    })) : U({
      pulsate: F,
      rippleX: we,
      rippleY: Te,
      rippleSize: be,
      cb: q
    });
  }, [o, U, I]), X = reactExports.useCallback(() => {
    B({}, {
      pulsate: true
    });
  }, [B]), Z = reactExports.useCallback((te, Q) => {
    if (I.clear(), (te == null ? void 0 : te.type) === "touchend" && P.current) {
      P.current(), P.current = null, I.start(0, () => {
        Z(te, Q);
      });
      return;
    }
    P.current = null, y((q) => q.length > 0 ? q.slice(1) : q), T.current = Q;
  }, [I]);
  return reactExports.useImperativeHandle(n, () => ({
    pulsate: X,
    start: B,
    stop: Z
  }), [X, B, Z]), /* @__PURE__ */ jsxRuntimeExports.jsx(exe, Me({
    className: On(Vc.root, i.root, u),
    ref: S
  }, p, {
    children: /* @__PURE__ */ jsxRuntimeExports.jsx(J2, {
      component: null,
      exit: true,
      children: v
    })
  }));
});
function nxe(e10) {
  return Qr("MuiButtonBase", e10);
}
const rxe = Dr("MuiButtonBase", ["root", "disabled", "focusVisible"]), oxe = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], ixe = (e10) => {
  const {
    disabled: t,
    focusVisible: n,
    focusVisibleClassName: r,
    classes: o
  } = e10, u = ao({
    root: ["root", t && "disabled", n && "focusVisible"]
  }, nxe, o);
  return n && r && (u.root += ` ${r}`), u;
}, axe = xn("button", {
  name: "MuiButtonBase",
  slot: "Root",
  overridesResolver: (e10, t) => t.root
})({
  display: "inline-flex",
  alignItems: "center",
  justifyContent: "center",
  position: "relative",
  boxSizing: "border-box",
  WebkitTapHighlightColor: "transparent",
  backgroundColor: "transparent",
  // Reset default value
  // We disable the focus ring for mouse, touch and keyboard users.
  outline: 0,
  border: 0,
  margin: 0,
  // Remove the margin in Safari
  borderRadius: 0,
  padding: 0,
  // Remove the padding in Firefox
  cursor: "pointer",
  userSelect: "none",
  verticalAlign: "middle",
  MozAppearance: "none",
  // Reset
  WebkitAppearance: "none",
  // Reset
  textDecoration: "none",
  // So we take precedent over the style of a native <a /> element.
  color: "inherit",
  "&::-moz-focus-inner": {
    borderStyle: "none"
    // Remove Firefox dotted outline.
  },
  [`&.${rxe.disabled}`]: {
    pointerEvents: "none",
    // Disable link interactions
    cursor: "default"
  },
  "@media print": {
    colorAdjust: "exact"
  }
}), xh = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiButtonBase"
  }), {
    action: o,
    centerRipple: i = false,
    children: u,
    className: p,
    component: v = "button",
    disabled: y = false,
    disableRipple: k = false,
    disableTouchRipple: T = false,
    focusRipple: R = false,
    LinkComponent: I = "a",
    onBlur: P,
    onClick: S,
    onContextMenu: U,
    onDragLeave: B,
    onFocus: X,
    onFocusVisible: Z,
    onKeyDown: te,
    onKeyUp: Q,
    onMouseDown: q,
    onMouseLeave: F,
    onMouseUp: ne,
    onTouchEnd: ae,
    onTouchMove: pe,
    onTouchStart: Ve,
    tabIndex: we = 0,
    TouchRippleProps: Te,
    touchRippleRef: be,
    type: ie
  } = r, de = Pn(r, oxe), ze = reactExports.useRef(null), nt = reactExports.useRef(null), ut = Ma(nt, be), {
    isFocusVisibleRef: Le,
    onFocus: oe,
    onBlur: Ue,
    ref: We
  } = QE(), [Ge, Ze] = reactExports.useState(false);
  y && Ge && Ze(false), reactExports.useImperativeHandle(o, () => ({
    focusVisible: () => {
      Ze(true), ze.current.focus();
    }
  }), []);
  const [_e, st] = reactExports.useState(false);
  reactExports.useEffect(() => {
    st(true);
  }, []);
  const Ke = _e && !k && !y;
  reactExports.useEffect(() => {
    Ge && R && !k && _e && nt.current.pulsate();
  }, [k, R, Ge, _e]);
  function ht(Nt, Qn, hr = T) {
    return au((Wt) => (Qn && Qn(Wt), !hr && nt.current && nt.current[Nt](Wt), true));
  }
  const gt = ht("start", q), xt = ht("stop", U), ct = ht("stop", B), yt = ht("stop", ne), Ot = ht("stop", (Nt) => {
    Ge && Nt.preventDefault(), F && F(Nt);
  }), qe = ht("start", Ve), wt = ht("stop", ae), en = ht("stop", pe), Vt = ht("stop", (Nt) => {
    Ue(Nt), Le.current === false && Ze(false), P && P(Nt);
  }, false), wn = au((Nt) => {
    ze.current || (ze.current = Nt.currentTarget), oe(Nt), Le.current === true && (Ze(true), Z && Z(Nt)), X && X(Nt);
  }), dn = () => {
    const Nt = ze.current;
    return v && v !== "button" && !(Nt.tagName === "A" && Nt.href);
  }, zt = reactExports.useRef(false), jt = au((Nt) => {
    R && !zt.current && Ge && nt.current && Nt.key === " " && (zt.current = true, nt.current.stop(Nt, () => {
      nt.current.start(Nt);
    })), Nt.target === Nt.currentTarget && dn() && Nt.key === " " && Nt.preventDefault(), te && te(Nt), Nt.target === Nt.currentTarget && dn() && Nt.key === "Enter" && !y && (Nt.preventDefault(), S && S(Nt));
  }), _t = au((Nt) => {
    R && Nt.key === " " && nt.current && Ge && !Nt.defaultPrevented && (zt.current = false, nt.current.stop(Nt, () => {
      nt.current.pulsate(Nt);
    })), Q && Q(Nt), S && Nt.target === Nt.currentTarget && dn() && Nt.key === " " && !Nt.defaultPrevented && S(Nt);
  });
  let Pt = v;
  Pt === "button" && (de.href || de.to) && (Pt = I);
  const Ht = {};
  Pt === "button" ? (Ht.type = ie === void 0 ? "button" : ie, Ht.disabled = y) : (!de.href && !de.to && (Ht.role = "button"), y && (Ht["aria-disabled"] = y));
  const kn = Ma(n, We, ze);
  const Tn = Me({}, r, {
    centerRipple: i,
    component: v,
    disabled: y,
    disableRipple: k,
    disableTouchRipple: T,
    focusRipple: R,
    tabIndex: we,
    focusVisible: Ge
  }), hn = ixe(Tn);
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(axe, Me({
    as: Pt,
    className: On(hn.root, p),
    ownerState: Tn,
    onBlur: Vt,
    onClick: S,
    onContextMenu: xt,
    onFocus: wn,
    onKeyDown: jt,
    onKeyUp: _t,
    onMouseDown: gt,
    onMouseLeave: Ot,
    onMouseUp: yt,
    onDragLeave: ct,
    onTouchEnd: wt,
    onTouchMove: en,
    onTouchStart: qe,
    ref: kn,
    tabIndex: y ? -1 : we,
    type: ie
  }, Ht, de, {
    children: [u, Ke ? (
      /* TouchRipple is only needed client-side, x2 boost on the server. */
      /* @__PURE__ */ jsxRuntimeExports.jsx(z4, Me({
        ref: ut,
        center: i
      }, Te))
    ) : null]
  }));
});
function sxe(e10) {
  return Qr("MuiAccordionSummary", e10);
}
const Ip = Dr("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disabled", "gutters", "contentGutters", "content", "expandIconWrapper"]), lxe = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"], uxe = (e10) => {
  const {
    classes: t,
    expanded: n,
    disabled: r,
    disableGutters: o
  } = e10;
  return ao({
    root: ["root", n && "expanded", r && "disabled", !o && "gutters"],
    focusVisible: ["focusVisible"],
    content: ["content", n && "expanded", !o && "contentGutters"],
    expandIconWrapper: ["expandIconWrapper", n && "expanded"]
  }, sxe, t);
}, cxe = xn(xh, {
  name: "MuiAccordionSummary",
  slot: "Root",
  overridesResolver: (e10, t) => t.root
})(({
  theme: e10
}) => {
  const t = {
    duration: e10.transitions.duration.shortest
  };
  return {
    display: "flex",
    minHeight: 48,
    padding: e10.spacing(0, 2),
    transition: e10.transitions.create(["min-height", "background-color"], t),
    [`&.${Ip.focusVisible}`]: {
      backgroundColor: (e10.vars || e10).palette.action.focus
    },
    [`&.${Ip.disabled}`]: {
      opacity: (e10.vars || e10).palette.action.disabledOpacity
    },
    [`&:hover:not(.${Ip.disabled})`]: {
      cursor: "pointer"
    },
    variants: [{
      props: (n) => !n.disableGutters,
      style: {
        [`&.${Ip.expanded}`]: {
          minHeight: 64
        }
      }
    }]
  };
}), dxe = xn("div", {
  name: "MuiAccordionSummary",
  slot: "Content",
  overridesResolver: (e10, t) => t.content
})(({
  theme: e10
}) => ({
  display: "flex",
  flexGrow: 1,
  margin: "12px 0",
  variants: [{
    props: (t) => !t.disableGutters,
    style: {
      transition: e10.transitions.create(["margin"], {
        duration: e10.transitions.duration.shortest
      }),
      [`&.${Ip.expanded}`]: {
        margin: "20px 0"
      }
    }
  }]
})), fxe = xn("div", {
  name: "MuiAccordionSummary",
  slot: "ExpandIconWrapper",
  overridesResolver: (e10, t) => t.expandIconWrapper
})(({
  theme: e10
}) => ({
  display: "flex",
  color: (e10.vars || e10).palette.action.active,
  transform: "rotate(0deg)",
  transition: e10.transitions.create("transform", {
    duration: e10.transitions.duration.shortest
  }),
  [`&.${Ip.expanded}`]: {
    transform: "rotate(180deg)"
  }
})), W4 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiAccordionSummary"
  }), {
    children: o,
    className: i,
    expandIcon: u,
    focusVisibleClassName: p,
    onClick: v
  } = r, y = Pn(r, lxe), {
    disabled: k = false,
    disableGutters: T,
    expanded: R,
    toggle: I
  } = reactExports.useContext(Q2), P = (B) => {
    I && I(B), v && v(B);
  }, S = Me({}, r, {
    expanded: R,
    disabled: k,
    disableGutters: T
  }), U = uxe(S);
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(cxe, Me({
    focusRipple: false,
    disableRipple: true,
    disabled: k,
    component: "div",
    "aria-expanded": R,
    className: On(U.root, i),
    focusVisibleClassName: On(U.focusVisible, p),
    onClick: P,
    ref: n,
    ownerState: S
  }, y, {
    children: [/* @__PURE__ */ jsxRuntimeExports.jsx(dxe, {
      className: U.content,
      ownerState: S,
      children: o
    }), u && /* @__PURE__ */ jsxRuntimeExports.jsx(fxe, {
      className: U.expandIconWrapper,
      ownerState: S,
      children: u
    })]
  }));
});
function hxe(e10) {
  return Qr("MuiIconButton", e10);
}
const pxe = Dr("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), bxe = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], gxe = (e10) => {
  const {
    classes: t,
    disabled: n,
    color: r,
    edge: o,
    size: i
  } = e10, u = {
    root: ["root", n && "disabled", r !== "default" && `color${An(r)}`, o && `edge${An(o)}`, `size${An(i)}`]
  };
  return ao(u, hxe, t);
}, mxe = xn(xh, {
  name: "MuiIconButton",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, n.color !== "default" && t[`color${An(n.color)}`], n.edge && t[`edge${An(n.edge)}`], t[`size${An(n.size)}`]];
  }
})(({
  theme: e10,
  ownerState: t
}) => Me({
  textAlign: "center",
  flex: "0 0 auto",
  fontSize: e10.typography.pxToRem(24),
  padding: 8,
  borderRadius: "50%",
  overflow: "visible",
  // Explicitly set the default value to solve a bug on IE11.
  color: (e10.vars || e10).palette.action.active,
  transition: e10.transitions.create("background-color", {
    duration: e10.transitions.duration.shortest
  })
}, !t.disableRipple && {
  "&:hover": {
    backgroundColor: e10.vars ? `rgba(${e10.vars.palette.action.activeChannel} / ${e10.vars.palette.action.hoverOpacity})` : Ti.alpha(e10.palette.action.active, e10.palette.action.hoverOpacity),
    // Reset on touch devices, it doesn't add specificity
    "@media (hover: none)": {
      backgroundColor: "transparent"
    }
  }
}, t.edge === "start" && {
  marginLeft: t.size === "small" ? -3 : -12
}, t.edge === "end" && {
  marginRight: t.size === "small" ? -3 : -12
}), ({
  theme: e10,
  ownerState: t
}) => {
  var n;
  const r = (n = (e10.vars || e10).palette) == null ? void 0 : n[t.color];
  return Me({}, t.color === "inherit" && {
    color: "inherit"
  }, t.color !== "inherit" && t.color !== "default" && Me({
    color: r == null ? void 0 : r.main
  }, !t.disableRipple && {
    "&:hover": Me({}, r && {
      backgroundColor: e10.vars ? `rgba(${r.mainChannel} / ${e10.vars.palette.action.hoverOpacity})` : Ti.alpha(r.main, e10.palette.action.hoverOpacity)
    }, {
      // Reset on touch devices, it doesn't add specificity
      "@media (hover: none)": {
        backgroundColor: "transparent"
      }
    })
  }), t.size === "small" && {
    padding: 5,
    fontSize: e10.typography.pxToRem(18)
  }, t.size === "large" && {
    padding: 12,
    fontSize: e10.typography.pxToRem(28)
  }, {
    [`&.${pxe.disabled}`]: {
      backgroundColor: "transparent",
      color: (e10.vars || e10).palette.action.disabled
    }
  });
}), j2 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiIconButton"
  }), {
    edge: o = false,
    children: i,
    className: u,
    color: p = "default",
    disabled: v = false,
    disableFocusRipple: y = false,
    size: k = "medium"
  } = r, T = Pn(r, bxe), R = Me({}, r, {
    edge: o,
    color: p,
    disabled: v,
    disableFocusRipple: y,
    size: k
  }), I = gxe(R);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(mxe, Me({
    className: On(I.root, u),
    centerRipple: true,
    focusRipple: !y,
    disabled: v,
    ref: n
  }, T, {
    ownerState: R,
    children: i
  }));
});
const vxe = Ob(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
  d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
}), "Close");
Dr("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
xn("span", {
  name: "MuiTypography",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, n.variant && t[n.variant], n.align !== "inherit" && t[`align${An(n.align)}`], n.noWrap && t.noWrap, n.gutterBottom && t.gutterBottom, n.paragraph && t.paragraph];
  }
})(({
  theme: e10,
  ownerState: t
}) => Me({
  margin: 0
}, t.variant === "inherit" && {
  // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
  font: "inherit"
}, t.variant !== "inherit" && e10.typography[t.variant], t.align !== "inherit" && {
  textAlign: t.align
}, t.noWrap && {
  overflow: "hidden",
  textOverflow: "ellipsis",
  whiteSpace: "nowrap"
}, t.gutterBottom && {
  marginBottom: "0.35em"
}, t.paragraph && {
  marginBottom: 16
}));
function y5(e10) {
  return typeof e10.normalize < "u" ? e10.normalize("NFD").replace(/[\u0300-\u036f]/g, "") : e10;
}
function Exe(e10 = {}) {
  const {
    ignoreAccents: t = true,
    ignoreCase: n = true,
    limit: r,
    matchFrom: o = "any",
    stringify: i,
    trim: u = false
  } = e10;
  return (p, {
    inputValue: v,
    getOptionLabel: y
  }) => {
    let k = u ? v.trim() : v;
    n && (k = k.toLowerCase()), t && (k = y5(k));
    const T = k ? p.filter((R) => {
      let I = (i || y)(R);
      return n && (I = I.toLowerCase()), t && (I = y5(I)), o === "start" ? I.indexOf(k) === 0 : I.indexOf(k) > -1;
    }) : p;
    return typeof r == "number" ? T.slice(0, r) : T;
  };
}
function o1(e10, t) {
  for (let n = 0; n < e10.length; n += 1)
    if (t(e10[n]))
      return n;
  return -1;
}
const Cxe = Exe(), x5 = 5, Sxe = (e10) => {
  var t;
  return e10.current !== null && ((t = e10.current.parentElement) == null ? void 0 : t.contains(document.activeElement));
}, Axe = [];
function Pxe(e10) {
  const {
    // eslint-disable-next-line @typescript-eslint/naming-convention
    unstable_isActiveElementInListbox: t = Sxe,
    // eslint-disable-next-line @typescript-eslint/naming-convention
    unstable_classNamePrefix: n = "Mui",
    autoComplete: r = false,
    autoHighlight: o = false,
    autoSelect: i = false,
    blurOnSelect: u = false,
    clearOnBlur: p = !e10.freeSolo,
    clearOnEscape: v = false,
    componentName: y = "useAutocomplete",
    defaultValue: k = e10.multiple ? Axe : null,
    disableClearable: T = false,
    disableCloseOnSelect: R = false,
    disabled: I,
    disabledItemsFocusable: P = false,
    disableListWrap: S = false,
    filterOptions: U = Cxe,
    filterSelectedOptions: B = false,
    freeSolo: X = false,
    getOptionDisabled: Z,
    getOptionKey: te,
    getOptionLabel: Q = (At) => {
      var it;
      return (it = At.label) != null ? it : At;
    },
    groupBy: q,
    handleHomeEndKeys: F = !e10.freeSolo,
    id: ne,
    includeInputInList: ae = false,
    inputValue: pe,
    isOptionEqualToValue: Ve = (At, it) => At === it,
    multiple: we = false,
    onChange: Te,
    onClose: be,
    onHighlightChange: ie,
    onInputChange: de,
    onOpen: ze,
    open: nt,
    openOnFocus: ut = false,
    options: Le,
    readOnly: oe = false,
    selectOnFocus: Ue = !e10.freeSolo,
    value: We
  } = e10, Ge = Lg(ne);
  let Ze = Q;
  Ze = (At) => {
    const it = Q(At);
    if (typeof it != "string") {
      return String(it);
    }
    return it;
  };
  const _e = reactExports.useRef(false), st = reactExports.useRef(true), Ke = reactExports.useRef(null), ht = reactExports.useRef(null), [gt, xt] = reactExports.useState(null), [ct, yt] = reactExports.useState(-1), Ot = o ? 0 : -1, qe = reactExports.useRef(Ot), [wt, en] = Qh({
    controlled: We,
    default: k,
    name: y
  }), [Vt, wn] = Qh({
    controlled: pe,
    default: "",
    name: y,
    state: "inputValue"
  }), [dn, zt] = reactExports.useState(false), jt = reactExports.useCallback((At, it) => {
    if (!(we ? wt.length < it.length : it !== null) && !p)
      return;
    let un;
    if (we)
      un = "";
    else if (it == null)
      un = "";
    else {
      const dt = Ze(it);
      un = typeof dt == "string" ? dt : "";
    }
    Vt !== un && (wn(un), de && de(At, un, "reset"));
  }, [Ze, Vt, we, de, wn, p, wt]), [_t, Pt] = Qh({
    controlled: nt,
    default: false,
    name: y,
    state: "open"
  }), [Ht, kn] = reactExports.useState(true), Tn = !we && wt != null && Vt === Ze(wt), hn = _t && !oe, Nt = hn ? U(
    Le.filter((At) => !(B && (we ? wt : [wt]).some((it) => it !== null && Ve(At, it)))),
    // we use the empty string to manipulate `filterOptions` to not filter any options
    // i.e. the filter predicate always returns true
    {
      inputValue: Tn && Ht ? "" : Vt,
      getOptionLabel: Ze
    }
  ) : [], Qn = qge({
    filteredOptions: Nt,
    value: wt,
    inputValue: Vt
  });
  reactExports.useEffect(() => {
    const At = wt !== Qn.value;
    dn && !At || X && !At || jt(null, wt);
  }, [wt, jt, dn, Qn.value, X]);
  const hr = _t && Nt.length > 0 && !oe;
  const Wt = au((At) => {
    At === -1 ? Ke.current.focus() : gt.querySelector(`[data-tag-index="${At}"]`).focus();
  });
  reactExports.useEffect(() => {
    we && ct > wt.length - 1 && (yt(-1), Wt(-1));
  }, [wt, we, ct, Wt]);
  function ir(At, it) {
    if (!ht.current || At < 0 || At >= Nt.length)
      return -1;
    let Zt = At;
    for (; ; ) {
      const un = ht.current.querySelector(`[data-option-index="${Zt}"]`), dt = P ? false : !un || un.disabled || un.getAttribute("aria-disabled") === "true";
      if (un && un.hasAttribute("tabindex") && !dt)
        return Zt;
      if (it === "next" ? Zt = (Zt + 1) % Nt.length : Zt = (Zt - 1 + Nt.length) % Nt.length, Zt === At)
        return -1;
    }
  }
  const sn = au(({
    event: At,
    index: it,
    reason: Zt = "auto"
  }) => {
    if (qe.current = it, it === -1 ? Ke.current.removeAttribute("aria-activedescendant") : Ke.current.setAttribute("aria-activedescendant", `${Ge}-option-${it}`), ie && ie(At, it === -1 ? null : Nt[it], Zt), !ht.current)
      return;
    const un = ht.current.querySelector(`[role="option"].${n}-focused`);
    un && (un.classList.remove(`${n}-focused`), un.classList.remove(`${n}-focusVisible`));
    let dt = ht.current;
    if (ht.current.getAttribute("role") !== "listbox" && (dt = ht.current.parentElement.querySelector('[role="listbox"]')), !dt)
      return;
    if (it === -1) {
      dt.scrollTop = 0;
      return;
    }
    const kt = ht.current.querySelector(`[data-option-index="${it}"]`);
    if (kt && (kt.classList.add(`${n}-focused`), Zt === "keyboard" && kt.classList.add(`${n}-focusVisible`), dt.scrollHeight > dt.clientHeight && Zt !== "mouse" && Zt !== "touch")) {
      const pn = kt, ar = dt.clientHeight + dt.scrollTop, vi = pn.offsetTop + pn.offsetHeight;
      vi > ar ? dt.scrollTop = vi - dt.clientHeight : pn.offsetTop - pn.offsetHeight * (q ? 1.3 : 0) < dt.scrollTop && (dt.scrollTop = pn.offsetTop - pn.offsetHeight * (q ? 1.3 : 0));
    }
  }), Rt = au(({
    event: At,
    diff: it,
    direction: Zt = "next",
    reason: un = "auto"
  }) => {
    if (!hn)
      return;
    const kt = ir((() => {
      const pn = Nt.length - 1;
      if (it === "reset")
        return Ot;
      if (it === "start")
        return 0;
      if (it === "end")
        return pn;
      const ar = qe.current + it;
      return ar < 0 ? ar === -1 && ae ? -1 : S && qe.current !== -1 || Math.abs(it) > 1 ? 0 : pn : ar > pn ? ar === pn + 1 && ae ? -1 : S || Math.abs(it) > 1 ? pn : 0 : ar;
    })(), Zt);
    if (sn({
      index: kt,
      reason: un,
      event: At
    }), r && it !== "reset")
      if (kt === -1)
        Ke.current.value = Vt;
      else {
        const pn = Ze(Nt[kt]);
        Ke.current.value = pn, pn.toLowerCase().indexOf(Vt.toLowerCase()) === 0 && Vt.length > 0 && Ke.current.setSelectionRange(Vt.length, pn.length);
      }
  }), $t = () => {
    const At = (it, Zt) => {
      const un = it ? Ze(it) : "", dt = Zt ? Ze(Zt) : "";
      return un === dt;
    };
    if (qe.current !== -1 && Qn.filteredOptions && Qn.filteredOptions.length !== Nt.length && Qn.inputValue === Vt && (we ? wt.length === Qn.value.length && Qn.value.every((it, Zt) => Ze(wt[Zt]) === Ze(it)) : At(Qn.value, wt))) {
      const it = Qn.filteredOptions[qe.current];
      if (it)
        return o1(Nt, (Zt) => Ze(Zt) === Ze(it));
    }
    return -1;
  }, En = reactExports.useCallback(() => {
    if (!hn)
      return;
    const At = $t();
    if (At !== -1) {
      qe.current = At;
      return;
    }
    const it = we ? wt[0] : wt;
    if (Nt.length === 0 || it == null) {
      Rt({
        diff: "reset"
      });
      return;
    }
    if (ht.current) {
      if (it != null) {
        const Zt = Nt[qe.current];
        if (we && Zt && o1(wt, (dt) => Ve(Zt, dt)) !== -1)
          return;
        const un = o1(Nt, (dt) => Ve(dt, it));
        un === -1 ? Rt({
          diff: "reset"
        }) : sn({
          index: un
        });
        return;
      }
      if (qe.current >= Nt.length - 1) {
        sn({
          index: Nt.length - 1
        });
        return;
      }
      sn({
        index: qe.current
      });
    }
  }, [
    // Only sync the highlighted index when the option switch between empty and not
    Nt.length,
    // Don't sync the highlighted index with the value when multiple
    // eslint-disable-next-line react-hooks/exhaustive-deps
    we ? false : wt,
    B,
    Rt,
    sn,
    hn,
    Vt,
    we
  ]), In = au((At) => {
    V1(ht, At), At && En();
  });
  reactExports.useEffect(() => {
    En();
  }, [En]);
  const _n = (At) => {
    _t || (Pt(true), kn(true), ze && ze(At));
  }, bn = (At, it) => {
    _t && (Pt(false), be && be(At, it));
  }, Sr = (At, it, Zt, un) => {
    if (we) {
      if (wt.length === it.length && wt.every((dt, kt) => dt === it[kt]))
        return;
    } else if (wt === it)
      return;
    Te && Te(At, it, Zt, un), en(it);
  }, Mn = reactExports.useRef(false), gr = (At, it, Zt = "selectOption", un = "options") => {
    let dt = Zt, kt = it;
    if (we) {
      kt = Array.isArray(wt) ? wt.slice() : [];
      const pn = o1(kt, (ar) => Ve(it, ar));
      pn === -1 ? kt.push(it) : un !== "freeSolo" && (kt.splice(pn, 1), dt = "removeOption");
    }
    jt(At, kt), Sr(At, kt, dt, {
      option: it
    }), !R && (!At || !At.ctrlKey && !At.metaKey) && bn(At, dt), (u === true || u === "touch" && Mn.current || u === "mouse" && !Mn.current) && Ke.current.blur();
  };
  function mi(At, it) {
    if (At === -1)
      return -1;
    let Zt = At;
    for (; ; ) {
      if (it === "next" && Zt === wt.length || it === "previous" && Zt === -1)
        return -1;
      const un = gt.querySelector(`[data-tag-index="${Zt}"]`);
      if (!un || !un.hasAttribute("tabindex") || un.disabled || un.getAttribute("aria-disabled") === "true")
        Zt += it === "next" ? 1 : -1;
      else
        return Zt;
    }
  }
  const Co = (At, it) => {
    if (!we)
      return;
    Vt === "" && bn(At, "toggleInput");
    let Zt = ct;
    ct === -1 ? Vt === "" && it === "previous" && (Zt = wt.length - 1) : (Zt += it === "next" ? 1 : -1, Zt < 0 && (Zt = 0), Zt === wt.length && (Zt = -1)), Zt = mi(Zt, it), yt(Zt), Wt(Zt);
  }, No = (At) => {
    _e.current = true, wn(""), de && de(At, "", "clear"), Sr(At, we ? [] : null, "clear");
  }, ls = (At) => (it) => {
    if (At.onKeyDown && At.onKeyDown(it), !it.defaultMuiPrevented && (ct !== -1 && ["ArrowLeft", "ArrowRight"].indexOf(it.key) === -1 && (yt(-1), Wt(-1)), it.which !== 229))
      switch (it.key) {
        case "Home":
          hn && F && (it.preventDefault(), Rt({
            diff: "start",
            direction: "next",
            reason: "keyboard",
            event: it
          }));
          break;
        case "End":
          hn && F && (it.preventDefault(), Rt({
            diff: "end",
            direction: "previous",
            reason: "keyboard",
            event: it
          }));
          break;
        case "PageUp":
          it.preventDefault(), Rt({
            diff: -x5,
            direction: "previous",
            reason: "keyboard",
            event: it
          }), _n(it);
          break;
        case "PageDown":
          it.preventDefault(), Rt({
            diff: x5,
            direction: "next",
            reason: "keyboard",
            event: it
          }), _n(it);
          break;
        case "ArrowDown":
          it.preventDefault(), Rt({
            diff: 1,
            direction: "next",
            reason: "keyboard",
            event: it
          }), _n(it);
          break;
        case "ArrowUp":
          it.preventDefault(), Rt({
            diff: -1,
            direction: "previous",
            reason: "keyboard",
            event: it
          }), _n(it);
          break;
        case "ArrowLeft":
          Co(it, "previous");
          break;
        case "ArrowRight":
          Co(it, "next");
          break;
        case "Enter":
          if (qe.current !== -1 && hn) {
            const Zt = Nt[qe.current], un = Z ? Z(Zt) : false;
            if (it.preventDefault(), un)
              return;
            gr(it, Zt, "selectOption"), r && Ke.current.setSelectionRange(Ke.current.value.length, Ke.current.value.length);
          } else X && Vt !== "" && Tn === false && (we && it.preventDefault(), gr(it, Vt, "createOption", "freeSolo"));
          break;
        case "Escape":
          hn ? (it.preventDefault(), it.stopPropagation(), bn(it, "escape")) : v && (Vt !== "" || we && wt.length > 0) && (it.preventDefault(), it.stopPropagation(), No(it));
          break;
        case "Backspace":
          if (we && !oe && Vt === "" && wt.length > 0) {
            const Zt = ct === -1 ? wt.length - 1 : ct, un = wt.slice();
            un.splice(Zt, 1), Sr(it, un, "removeOption", {
              option: wt[Zt]
            });
          }
          break;
        case "Delete":
          if (we && !oe && Vt === "" && wt.length > 0 && ct !== -1) {
            const Zt = ct, un = wt.slice();
            un.splice(Zt, 1), Sr(it, un, "removeOption", {
              option: wt[Zt]
            });
          }
          break;
      }
  }, Qi = (At) => {
    zt(true), ut && !_e.current && _n(At);
  }, Fr = (At) => {
    if (t(ht)) {
      Ke.current.focus();
      return;
    }
    zt(false), st.current = true, _e.current = false, i && qe.current !== -1 && hn ? gr(At, Nt[qe.current], "blur") : i && X && Vt !== "" ? gr(At, Vt, "blur", "freeSolo") : p && jt(At, wt), bn(At, "blur");
  }, Yr = (At) => {
    const it = At.target.value;
    Vt !== it && (wn(it), kn(false), de && de(At, it, "input")), it === "" ? !T && !we && Sr(At, null, "clear") : _n(At);
  }, yr = (At) => {
    const it = Number(At.currentTarget.getAttribute("data-option-index"));
    qe.current !== it && sn({
      event: At,
      index: it,
      reason: "mouse"
    });
  }, uo = (At) => {
    sn({
      event: At,
      index: Number(At.currentTarget.getAttribute("data-option-index")),
      reason: "touch"
    }), Mn.current = true;
  }, xr = (At) => {
    const it = Number(At.currentTarget.getAttribute("data-option-index"));
    gr(At, Nt[it], "selectOption"), Mn.current = false;
  }, to = (At) => (it) => {
    const Zt = wt.slice();
    Zt.splice(At, 1), Sr(it, Zt, "removeOption", {
      option: wt[At]
    });
  }, ur = (At) => {
    _t ? bn(At, "toggleInput") : _n(At);
  }, ki = (At) => {
    At.currentTarget.contains(At.target) && At.target.getAttribute("id") !== Ge && At.preventDefault();
  }, Nr = (At) => {
    At.currentTarget.contains(At.target) && (Ke.current.focus(), Ue && st.current && Ke.current.selectionEnd - Ke.current.selectionStart === 0 && Ke.current.select(), st.current = false);
  }, Gn = (At) => {
    !I && (Vt === "" || !_t) && ur(At);
  };
  let qo = X && Vt.length > 0;
  qo = qo || (we ? wt.length > 0 : wt !== null);
  let Dn = Nt;
  if (q) {
    Dn = Nt.reduce((Zt, un, dt) => {
      const kt = q(un);
      return Zt.length > 0 && Zt[Zt.length - 1].group === kt ? Zt[Zt.length - 1].options.push(un) : Zt.push({
        key: dt,
        index: dt,
        group: kt,
        options: [un]
      }), Zt;
    }, []);
  }
  return I && dn && Fr(), {
    getRootProps: (At = {}) => Me({
      "aria-owns": hr ? `${Ge}-listbox` : null
    }, At, {
      onKeyDown: ls(At),
      onMouseDown: ki,
      onClick: Nr
    }),
    getInputLabelProps: () => ({
      id: `${Ge}-label`,
      htmlFor: Ge
    }),
    getInputProps: () => ({
      id: Ge,
      value: Vt,
      onBlur: Fr,
      onFocus: Qi,
      onChange: Yr,
      onMouseDown: Gn,
      // if open then this is handled imperatively so don't let react override
      // only have an opinion about this when closed
      "aria-activedescendant": hn ? "" : null,
      "aria-autocomplete": r ? "both" : "list",
      "aria-controls": hr ? `${Ge}-listbox` : void 0,
      "aria-expanded": hr,
      // Disable browser's suggestion that might overlap with the popup.
      // Handle autocomplete but not autofill.
      autoComplete: "off",
      ref: Ke,
      autoCapitalize: "none",
      spellCheck: "false",
      role: "combobox",
      disabled: I
    }),
    getClearProps: () => ({
      tabIndex: -1,
      type: "button",
      onClick: No
    }),
    getPopupIndicatorProps: () => ({
      tabIndex: -1,
      type: "button",
      onClick: ur
    }),
    getTagProps: ({
      index: At
    }) => Me({
      key: At,
      "data-tag-index": At,
      tabIndex: -1
    }, !oe && {
      onDelete: to(At)
    }),
    getListboxProps: () => ({
      role: "listbox",
      id: `${Ge}-listbox`,
      "aria-labelledby": `${Ge}-label`,
      ref: In,
      onMouseDown: (At) => {
        At.preventDefault();
      }
    }),
    getOptionProps: ({
      index: At,
      option: it
    }) => {
      var Zt;
      const un = (we ? wt : [wt]).some((kt) => kt != null && Ve(it, kt)), dt = Z ? Z(it) : false;
      return {
        key: (Zt = te == null ? void 0 : te(it)) != null ? Zt : Ze(it),
        tabIndex: -1,
        role: "option",
        id: `${Ge}-option-${At}`,
        onMouseMove: yr,
        onClick: xr,
        onTouchStart: uo,
        "data-option-index": At,
        "aria-disabled": dt,
        "aria-selected": un
      };
    },
    id: Ge,
    inputValue: Vt,
    value: wt,
    dirty: qo,
    expanded: hn && gt,
    popupOpen: hn,
    focused: dn || ct !== -1,
    anchorEl: gt,
    setAnchorEl: xt,
    focusedTag: ct,
    groupedOptions: Dn
  };
}
var S0 = {}, _5;
function Rxe() {
  if (_5) return S0;
  _5 = 1, Object.defineProperty(S0, "__esModule", {
    value: true
  }), S0.default = void 0;
  var e10 = r(React), t = I4;
  function n(u) {
    if (typeof WeakMap != "function") return null;
    var p = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap();
    return (n = function(y) {
      return y ? v : p;
    })(u);
  }
  function r(u, p) {
    if (u && u.__esModule) return u;
    if (u === null || typeof u != "object" && typeof u != "function") return { default: u };
    var v = n(p);
    if (v && v.has(u)) return v.get(u);
    var y = { __proto__: null }, k = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for (var T in u) if (T !== "default" && Object.prototype.hasOwnProperty.call(u, T)) {
      var R = k ? Object.getOwnPropertyDescriptor(u, T) : null;
      R && (R.get || R.set) ? Object.defineProperty(y, T, R) : y[T] = u[T];
    }
    return y.default = u, v && v.set(u, y), y;
  }
  function o(u) {
    return Object.keys(u).length === 0;
  }
  function i(u = null) {
    const p = e10.useContext(t.ThemeContext);
    return !p || o(p) ? u : p;
  }
  return S0.default = i, S0;
}
var Ixe = /* @__PURE__ */ Rxe();
const Mxe = /* @__PURE__ */ jc(Ixe);
var Lu = "top", Jc = "bottom", Qc = "right", Bu = "left", q2 = "auto", Fb = [Lu, Jc, Qc, Bu], Zp = "start", mb = "end", Oxe = "clippingParents", H4 = "viewport", A0 = "popper", Dxe = "reference", w5 = /* @__PURE__ */ Fb.reduce(function(e10, t) {
  return e10.concat([t + "-" + Zp, t + "-" + mb]);
}, []), $4 = /* @__PURE__ */ [].concat(Fb, [q2]).reduce(function(e10, t) {
  return e10.concat([t, t + "-" + Zp, t + "-" + mb]);
}, []), Fxe = "beforeRead", Nxe = "read", Lxe = "afterRead", Bxe = "beforeMain", zxe = "main", Wxe = "afterMain", Uxe = "beforeWrite", Hxe = "write", $xe = "afterWrite", Vxe = [Fxe, Nxe, Lxe, Bxe, zxe, Wxe, Uxe, Hxe, $xe];
function pf(e10) {
  return e10 ? (e10.nodeName || "").toLowerCase() : null;
}
function yc(e10) {
  if (e10 == null)
    return window;
  if (e10.toString() !== "[object Window]") {
    var t = e10.ownerDocument;
    return t && t.defaultView || window;
  }
  return e10;
}
function tp(e10) {
  var t = yc(e10).Element;
  return e10 instanceof t || e10 instanceof Element;
}
function Kc(e10) {
  var t = yc(e10).HTMLElement;
  return e10 instanceof t || e10 instanceof HTMLElement;
}
function e3(e10) {
  if (typeof ShadowRoot > "u")
    return false;
  var t = yc(e10).ShadowRoot;
  return e10 instanceof t || e10 instanceof ShadowRoot;
}
function Gxe(e10) {
  var t = e10.state;
  Object.keys(t.elements).forEach(function(n) {
    var r = t.styles[n] || {}, o = t.attributes[n] || {}, i = t.elements[n];
    !Kc(i) || !pf(i) || (Object.assign(i.style, r), Object.keys(o).forEach(function(u) {
      var p = o[u];
      p === false ? i.removeAttribute(u) : i.setAttribute(u, p === true ? "" : p);
    }));
  });
}
function Yxe(e10) {
  var t = e10.state, n = {
    popper: {
      position: t.options.strategy,
      left: "0",
      top: "0",
      margin: "0"
    },
    arrow: {
      position: "absolute"
    },
    reference: {}
  };
  return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
    Object.keys(t.elements).forEach(function(r) {
      var o = t.elements[r], i = t.attributes[r] || {}, u = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), p = u.reduce(function(v, y) {
        return v[y] = "", v;
      }, {});
      !Kc(o) || !pf(o) || (Object.assign(o.style, p), Object.keys(i).forEach(function(v) {
        o.removeAttribute(v);
      }));
    });
  };
}
const Xxe = {
  name: "applyStyles",
  enabled: true,
  phase: "write",
  fn: Gxe,
  effect: Yxe,
  requires: ["computeStyles"]
};
function df(e10) {
  return e10.split("-")[0];
}
var jh = Math.max, eg = Math.min, Kp = Math.round;
function Yy() {
  var e10 = navigator.userAgentData;
  return e10 != null && e10.brands && Array.isArray(e10.brands) ? e10.brands.map(function(t) {
    return t.brand + "/" + t.version;
  }).join(" ") : navigator.userAgent;
}
function V4() {
  return !/^((?!chrome|android).)*safari/i.test(Yy());
}
function Jp(e10, t, n) {
  t === void 0 && (t = false), n === void 0 && (n = false);
  var r = e10.getBoundingClientRect(), o = 1, i = 1;
  t && Kc(e10) && (o = e10.offsetWidth > 0 && Kp(r.width) / e10.offsetWidth || 1, i = e10.offsetHeight > 0 && Kp(r.height) / e10.offsetHeight || 1);
  var u = tp(e10) ? yc(e10) : window, p = u.visualViewport, v = !V4() && n, y = (r.left + (v && p ? p.offsetLeft : 0)) / o, k = (r.top + (v && p ? p.offsetTop : 0)) / i, T = r.width / o, R = r.height / i;
  return {
    width: T,
    height: R,
    top: k,
    right: y + T,
    bottom: k + R,
    left: y,
    x: y,
    y: k
  };
}
function t3(e10) {
  var t = Jp(e10), n = e10.offsetWidth, r = e10.offsetHeight;
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
    x: e10.offsetLeft,
    y: e10.offsetTop,
    width: n,
    height: r
  };
}
function G4(e10, t) {
  var n = t.getRootNode && t.getRootNode();
  if (e10.contains(t))
    return true;
  if (n && e3(n)) {
    var r = t;
    do {
      if (r && e10.isSameNode(r))
        return true;
      r = r.parentNode || r.host;
    } while (r);
  }
  return false;
}
function Xf(e10) {
  return yc(e10).getComputedStyle(e10);
}
function Zxe(e10) {
  return ["table", "td", "th"].indexOf(pf(e10)) >= 0;
}
function Th(e10) {
  return ((tp(e10) ? e10.ownerDocument : (
    // $FlowFixMe[prop-missing]
    e10.document
  )) || window.document).documentElement;
}
function Yg(e10) {
  return pf(e10) === "html" ? e10 : (
    // this is a quicker (but less type safe) way to save quite some bytes from the bundle
    // $FlowFixMe[incompatible-return]
    // $FlowFixMe[prop-missing]
    e10.assignedSlot || // step into the shadow DOM of the parent of a slotted node
    e10.parentNode || // DOM Element detected
    (e3(e10) ? e10.host : null) || // ShadowRoot detected
    // $FlowFixMe[incompatible-call]: HTMLElement is a Node
    Th(e10)
  );
}
function T5(e10) {
  return !Kc(e10) || // https://github.com/popperjs/popper-core/issues/837
  Xf(e10).position === "fixed" ? null : e10.offsetParent;
}
function Kxe(e10) {
  var t = /firefox/i.test(Yy()), n = /Trident/i.test(Yy());
  if (n && Kc(e10)) {
    var r = Xf(e10);
    if (r.position === "fixed")
      return null;
  }
  var o = Yg(e10);
  for (e3(o) && (o = o.host); Kc(o) && ["html", "body"].indexOf(pf(o)) < 0; ) {
    var i = Xf(o);
    if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
      return o;
    o = o.parentNode;
  }
  return null;
}
function Nb(e10) {
  for (var t = yc(e10), n = T5(e10); n && Zxe(n) && Xf(n).position === "static"; )
    n = T5(n);
  return n && (pf(n) === "html" || pf(n) === "body" && Xf(n).position === "static") ? t : n || Kxe(e10) || t;
}
function n3(e10) {
  return ["top", "bottom"].indexOf(e10) >= 0 ? "x" : "y";
}
function J0(e10, t, n) {
  return jh(e10, eg(t, n));
}
function Jxe(e10, t, n) {
  var r = J0(e10, t, n);
  return r > n ? n : r;
}
function Y4() {
  return {
    top: 0,
    right: 0,
    bottom: 0,
    left: 0
  };
}
function X4(e10) {
  return Object.assign({}, Y4(), e10);
}
function Z4(e10, t) {
  return t.reduce(function(n, r) {
    return n[r] = e10, n;
  }, {});
}
var Qxe = function(t, n) {
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
    placement: n.placement
  })) : t, X4(typeof t != "number" ? t : Z4(t, Fb));
};
function jxe(e10) {
  var t, n = e10.state, r = e10.name, o = e10.options, i = n.elements.arrow, u = n.modifiersData.popperOffsets, p = df(n.placement), v = n3(p), y = [Bu, Qc].indexOf(p) >= 0, k = y ? "height" : "width";
  if (!(!i || !u)) {
    var T = Qxe(o.padding, n), R = t3(i), I = v === "y" ? Lu : Bu, P = v === "y" ? Jc : Qc, S = n.rects.reference[k] + n.rects.reference[v] - u[v] - n.rects.popper[k], U = u[v] - n.rects.reference[v], B = Nb(i), X = B ? v === "y" ? B.clientHeight || 0 : B.clientWidth || 0 : 0, Z = S / 2 - U / 2, te = T[I], Q = X - R[k] - T[P], q = X / 2 - R[k] / 2 + Z, F = J0(te, q, Q), ne = v;
    n.modifiersData[r] = (t = {}, t[ne] = F, t.centerOffset = F - q, t);
  }
}
function qxe(e10) {
  var t = e10.state, n = e10.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
  o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || G4(t.elements.popper, o) && (t.elements.arrow = o));
}
const e_e = {
  name: "arrow",
  enabled: true,
  phase: "main",
  fn: jxe,
  effect: qxe,
  requires: ["popperOffsets"],
  requiresIfExists: ["preventOverflow"]
};
function Qp(e10) {
  return e10.split("-")[1];
}
var t_e = {
  top: "auto",
  right: "auto",
  bottom: "auto",
  left: "auto"
};
function n_e(e10, t) {
  var n = e10.x, r = e10.y, o = t.devicePixelRatio || 1;
  return {
    x: Kp(n * o) / o || 0,
    y: Kp(r * o) / o || 0
  };
}
function k5(e10) {
  var t, n = e10.popper, r = e10.popperRect, o = e10.placement, i = e10.variation, u = e10.offsets, p = e10.position, v = e10.gpuAcceleration, y = e10.adaptive, k = e10.roundOffsets, T = e10.isFixed, R = u.x, I = R === void 0 ? 0 : R, P = u.y, S = P === void 0 ? 0 : P, U = typeof k == "function" ? k({
    x: I,
    y: S
  }) : {
    x: I,
    y: S
  };
  I = U.x, S = U.y;
  var B = u.hasOwnProperty("x"), X = u.hasOwnProperty("y"), Z = Bu, te = Lu, Q = window;
  if (y) {
    var q = Nb(n), F = "clientHeight", ne = "clientWidth";
    if (q === yc(n) && (q = Th(n), Xf(q).position !== "static" && p === "absolute" && (F = "scrollHeight", ne = "scrollWidth")), q = q, o === Lu || (o === Bu || o === Qc) && i === mb) {
      te = Jc;
      var ae = T && q === Q && Q.visualViewport ? Q.visualViewport.height : (
        // $FlowFixMe[prop-missing]
        q[F]
      );
      S -= ae - r.height, S *= v ? 1 : -1;
    }
    if (o === Bu || (o === Lu || o === Jc) && i === mb) {
      Z = Qc;
      var pe = T && q === Q && Q.visualViewport ? Q.visualViewport.width : (
        // $FlowFixMe[prop-missing]
        q[ne]
      );
      I -= pe - r.width, I *= v ? 1 : -1;
    }
  }
  var Ve = Object.assign({
    position: p
  }, y && t_e), we = k === true ? n_e({
    x: I,
    y: S
  }, yc(n)) : {
    x: I,
    y: S
  };
  if (I = we.x, S = we.y, v) {
    var Te;
    return Object.assign({}, Ve, (Te = {}, Te[te] = X ? "0" : "", Te[Z] = B ? "0" : "", Te.transform = (Q.devicePixelRatio || 1) <= 1 ? "translate(" + I + "px, " + S + "px)" : "translate3d(" + I + "px, " + S + "px, 0)", Te));
  }
  return Object.assign({}, Ve, (t = {}, t[te] = X ? S + "px" : "", t[Z] = B ? I + "px" : "", t.transform = "", t));
}
function r_e(e10) {
  var t = e10.state, n = e10.options, r = n.gpuAcceleration, o = r === void 0 ? true : r, i = n.adaptive, u = i === void 0 ? true : i, p = n.roundOffsets, v = p === void 0 ? true : p, y = {
    placement: df(t.placement),
    variation: Qp(t.placement),
    popper: t.elements.popper,
    popperRect: t.rects.popper,
    gpuAcceleration: o,
    isFixed: t.options.strategy === "fixed"
  };
  t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, k5(Object.assign({}, y, {
    offsets: t.modifiersData.popperOffsets,
    position: t.options.strategy,
    adaptive: u,
    roundOffsets: v
  })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, k5(Object.assign({}, y, {
    offsets: t.modifiersData.arrow,
    position: "absolute",
    adaptive: false,
    roundOffsets: v
  })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
    "data-popper-placement": t.placement
  });
}
const o_e = {
  name: "computeStyles",
  enabled: true,
  phase: "beforeWrite",
  fn: r_e,
  data: {}
};
var i1 = {
  passive: true
};
function i_e(e10) {
  var t = e10.state, n = e10.instance, r = e10.options, o = r.scroll, i = o === void 0 ? true : o, u = r.resize, p = u === void 0 ? true : u, v = yc(t.elements.popper), y = [].concat(t.scrollParents.reference, t.scrollParents.popper);
  return i && y.forEach(function(k) {
    k.addEventListener("scroll", n.update, i1);
  }), p && v.addEventListener("resize", n.update, i1), function() {
    i && y.forEach(function(k) {
      k.removeEventListener("scroll", n.update, i1);
    }), p && v.removeEventListener("resize", n.update, i1);
  };
}
const a_e = {
  name: "eventListeners",
  enabled: true,
  phase: "write",
  fn: function() {
  },
  effect: i_e,
  data: {}
};
var s_e = {
  left: "right",
  right: "left",
  bottom: "top",
  top: "bottom"
};
function C1(e10) {
  return e10.replace(/left|right|bottom|top/g, function(t) {
    return s_e[t];
  });
}
var l_e = {
  start: "end",
  end: "start"
};
function E5(e10) {
  return e10.replace(/start|end/g, function(t) {
    return l_e[t];
  });
}
function r3(e10) {
  var t = yc(e10), n = t.pageXOffset, r = t.pageYOffset;
  return {
    scrollLeft: n,
    scrollTop: r
  };
}
function o3(e10) {
  return Jp(Th(e10)).left + r3(e10).scrollLeft;
}
function u_e(e10, t) {
  var n = yc(e10), r = Th(e10), o = n.visualViewport, i = r.clientWidth, u = r.clientHeight, p = 0, v = 0;
  if (o) {
    i = o.width, u = o.height;
    var y = V4();
    (y || !y && t === "fixed") && (p = o.offsetLeft, v = o.offsetTop);
  }
  return {
    width: i,
    height: u,
    x: p + o3(e10),
    y: v
  };
}
function c_e(e10) {
  var t, n = Th(e10), r = r3(e10), o = (t = e10.ownerDocument) == null ? void 0 : t.body, i = jh(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), u = jh(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), p = -r.scrollLeft + o3(e10), v = -r.scrollTop;
  return Xf(o || n).direction === "rtl" && (p += jh(n.clientWidth, o ? o.clientWidth : 0) - i), {
    width: i,
    height: u,
    x: p,
    y: v
  };
}
function i3(e10) {
  var t = Xf(e10), n = t.overflow, r = t.overflowX, o = t.overflowY;
  return /auto|scroll|overlay|hidden/.test(n + o + r);
}
function K4(e10) {
  return ["html", "body", "#document"].indexOf(pf(e10)) >= 0 ? e10.ownerDocument.body : Kc(e10) && i3(e10) ? e10 : K4(Yg(e10));
}
function Q0(e10, t) {
  var n;
  t === void 0 && (t = []);
  var r = K4(e10), o = r === ((n = e10.ownerDocument) == null ? void 0 : n.body), i = yc(r), u = o ? [i].concat(i.visualViewport || [], i3(r) ? r : []) : r, p = t.concat(u);
  return o ? p : (
    // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
    p.concat(Q0(Yg(u)))
  );
}
function Xy(e10) {
  return Object.assign({}, e10, {
    left: e10.x,
    top: e10.y,
    right: e10.x + e10.width,
    bottom: e10.y + e10.height
  });
}
function d_e(e10, t) {
  var n = Jp(e10, false, t === "fixed");
  return n.top = n.top + e10.clientTop, n.left = n.left + e10.clientLeft, n.bottom = n.top + e10.clientHeight, n.right = n.left + e10.clientWidth, n.width = e10.clientWidth, n.height = e10.clientHeight, n.x = n.left, n.y = n.top, n;
}
function C5(e10, t, n) {
  return t === H4 ? Xy(u_e(e10, n)) : tp(t) ? d_e(t, n) : Xy(c_e(Th(e10)));
}
function f_e(e10) {
  var t = Q0(Yg(e10)), n = ["absolute", "fixed"].indexOf(Xf(e10).position) >= 0, r = n && Kc(e10) ? Nb(e10) : e10;
  return tp(r) ? t.filter(function(o) {
    return tp(o) && G4(o, r) && pf(o) !== "body";
  }) : [];
}
function h_e(e10, t, n, r) {
  var o = t === "clippingParents" ? f_e(e10) : [].concat(t), i = [].concat(o, [n]), u = i[0], p = i.reduce(function(v, y) {
    var k = C5(e10, y, r);
    return v.top = jh(k.top, v.top), v.right = eg(k.right, v.right), v.bottom = eg(k.bottom, v.bottom), v.left = jh(k.left, v.left), v;
  }, C5(e10, u, r));
  return p.width = p.right - p.left, p.height = p.bottom - p.top, p.x = p.left, p.y = p.top, p;
}
function J4(e10) {
  var t = e10.reference, n = e10.element, r = e10.placement, o = r ? df(r) : null, i = r ? Qp(r) : null, u = t.x + t.width / 2 - n.width / 2, p = t.y + t.height / 2 - n.height / 2, v;
  switch (o) {
    case Lu:
      v = {
        x: u,
        y: t.y - n.height
      };
      break;
    case Jc:
      v = {
        x: u,
        y: t.y + t.height
      };
      break;
    case Qc:
      v = {
        x: t.x + t.width,
        y: p
      };
      break;
    case Bu:
      v = {
        x: t.x - n.width,
        y: p
      };
      break;
    default:
      v = {
        x: t.x,
        y: t.y
      };
  }
  var y = o ? n3(o) : null;
  if (y != null) {
    var k = y === "y" ? "height" : "width";
    switch (i) {
      case Zp:
        v[y] = v[y] - (t[k] / 2 - n[k] / 2);
        break;
      case mb:
        v[y] = v[y] + (t[k] / 2 - n[k] / 2);
        break;
    }
  }
  return v;
}
function vb(e10, t) {
  t === void 0 && (t = {});
  var n = t, r = n.placement, o = r === void 0 ? e10.placement : r, i = n.strategy, u = i === void 0 ? e10.strategy : i, p = n.boundary, v = p === void 0 ? Oxe : p, y = n.rootBoundary, k = y === void 0 ? H4 : y, T = n.elementContext, R = T === void 0 ? A0 : T, I = n.altBoundary, P = I === void 0 ? false : I, S = n.padding, U = S === void 0 ? 0 : S, B = X4(typeof U != "number" ? U : Z4(U, Fb)), X = R === A0 ? Dxe : A0, Z = e10.rects.popper, te = e10.elements[P ? X : R], Q = h_e(tp(te) ? te : te.contextElement || Th(e10.elements.popper), v, k, u), q = Jp(e10.elements.reference), F = J4({
    reference: q,
    element: Z,
    placement: o
  }), ne = Xy(Object.assign({}, Z, F)), ae = R === A0 ? ne : q, pe = {
    top: Q.top - ae.top + B.top,
    bottom: ae.bottom - Q.bottom + B.bottom,
    left: Q.left - ae.left + B.left,
    right: ae.right - Q.right + B.right
  }, Ve = e10.modifiersData.offset;
  if (R === A0 && Ve) {
    var we = Ve[o];
    Object.keys(pe).forEach(function(Te) {
      var be = [Qc, Jc].indexOf(Te) >= 0 ? 1 : -1, ie = [Lu, Jc].indexOf(Te) >= 0 ? "y" : "x";
      pe[Te] += we[ie] * be;
    });
  }
  return pe;
}
function p_e(e10, t) {
  t === void 0 && (t = {});
  var n = t, r = n.placement, o = n.boundary, i = n.rootBoundary, u = n.padding, p = n.flipVariations, v = n.allowedAutoPlacements, y = v === void 0 ? $4 : v, k = Qp(r), T = k ? p ? w5 : w5.filter(function(P) {
    return Qp(P) === k;
  }) : Fb, R = T.filter(function(P) {
    return y.indexOf(P) >= 0;
  });
  R.length === 0 && (R = T);
  var I = R.reduce(function(P, S) {
    return P[S] = vb(e10, {
      placement: S,
      boundary: o,
      rootBoundary: i,
      padding: u
    })[df(S)], P;
  }, {});
  return Object.keys(I).sort(function(P, S) {
    return I[P] - I[S];
  });
}
function b_e(e10) {
  if (df(e10) === q2)
    return [];
  var t = C1(e10);
  return [E5(e10), t, E5(t)];
}
function g_e(e10) {
  var t = e10.state, n = e10.options, r = e10.name;
  if (!t.modifiersData[r]._skip) {
    for (var o = n.mainAxis, i = o === void 0 ? true : o, u = n.altAxis, p = u === void 0 ? true : u, v = n.fallbackPlacements, y = n.padding, k = n.boundary, T = n.rootBoundary, R = n.altBoundary, I = n.flipVariations, P = I === void 0 ? true : I, S = n.allowedAutoPlacements, U = t.options.placement, B = df(U), X = B === U, Z = v || (X || !P ? [C1(U)] : b_e(U)), te = [U].concat(Z).reduce(function(Ge, Ze) {
      return Ge.concat(df(Ze) === q2 ? p_e(t, {
        placement: Ze,
        boundary: k,
        rootBoundary: T,
        padding: y,
        flipVariations: P,
        allowedAutoPlacements: S
      }) : Ze);
    }, []), Q = t.rects.reference, q = t.rects.popper, F = /* @__PURE__ */ new Map(), ne = true, ae = te[0], pe = 0; pe < te.length; pe++) {
      var Ve = te[pe], we = df(Ve), Te = Qp(Ve) === Zp, be = [Lu, Jc].indexOf(we) >= 0, ie = be ? "width" : "height", de = vb(t, {
        placement: Ve,
        boundary: k,
        rootBoundary: T,
        altBoundary: R,
        padding: y
      }), ze = be ? Te ? Qc : Bu : Te ? Jc : Lu;
      Q[ie] > q[ie] && (ze = C1(ze));
      var nt = C1(ze), ut = [];
      if (i && ut.push(de[we] <= 0), p && ut.push(de[ze] <= 0, de[nt] <= 0), ut.every(function(Ge) {
        return Ge;
      })) {
        ae = Ve, ne = false;
        break;
      }
      F.set(Ve, ut);
    }
    if (ne)
      for (var Le = P ? 3 : 1, oe = function(Ze) {
        var _e = te.find(function(st) {
          var Ke = F.get(st);
          if (Ke)
            return Ke.slice(0, Ze).every(function(ht) {
              return ht;
            });
        });
        if (_e)
          return ae = _e, "break";
      }, Ue = Le; Ue > 0; Ue--) {
        var We = oe(Ue);
        if (We === "break") break;
      }
    t.placement !== ae && (t.modifiersData[r]._skip = true, t.placement = ae, t.reset = true);
  }
}
const m_e = {
  name: "flip",
  enabled: true,
  phase: "main",
  fn: g_e,
  requiresIfExists: ["offset"],
  data: {
    _skip: false
  }
};
function S5(e10, t, n) {
  return n === void 0 && (n = {
    x: 0,
    y: 0
  }), {
    top: e10.top - t.height - n.y,
    right: e10.right - t.width + n.x,
    bottom: e10.bottom - t.height + n.y,
    left: e10.left - t.width - n.x
  };
}
function A5(e10) {
  return [Lu, Qc, Jc, Bu].some(function(t) {
    return e10[t] >= 0;
  });
}
function v_e(e10) {
  var t = e10.state, n = e10.name, r = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, u = vb(t, {
    elementContext: "reference"
  }), p = vb(t, {
    altBoundary: true
  }), v = S5(u, r), y = S5(p, o, i), k = A5(v), T = A5(y);
  t.modifiersData[n] = {
    referenceClippingOffsets: v,
    popperEscapeOffsets: y,
    isReferenceHidden: k,
    hasPopperEscaped: T
  }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
    "data-popper-reference-hidden": k,
    "data-popper-escaped": T
  });
}
const y_e = {
  name: "hide",
  enabled: true,
  phase: "main",
  requiresIfExists: ["preventOverflow"],
  fn: v_e
};
function x_e(e10, t, n) {
  var r = df(e10), o = [Bu, Lu].indexOf(r) >= 0 ? -1 : 1, i = typeof n == "function" ? n(Object.assign({}, t, {
    placement: e10
  })) : n, u = i[0], p = i[1];
  return u = u || 0, p = (p || 0) * o, [Bu, Qc].indexOf(r) >= 0 ? {
    x: p,
    y: u
  } : {
    x: u,
    y: p
  };
}
function __e(e10) {
  var t = e10.state, n = e10.options, r = e10.name, o = n.offset, i = o === void 0 ? [0, 0] : o, u = $4.reduce(function(k, T) {
    return k[T] = x_e(T, t.rects, i), k;
  }, {}), p = u[t.placement], v = p.x, y = p.y;
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += v, t.modifiersData.popperOffsets.y += y), t.modifiersData[r] = u;
}
const w_e = {
  name: "offset",
  enabled: true,
  phase: "main",
  requires: ["popperOffsets"],
  fn: __e
};
function T_e(e10) {
  var t = e10.state, n = e10.name;
  t.modifiersData[n] = J4({
    reference: t.rects.reference,
    element: t.rects.popper,
    placement: t.placement
  });
}
const k_e = {
  name: "popperOffsets",
  enabled: true,
  phase: "read",
  fn: T_e,
  data: {}
};
function E_e(e10) {
  return e10 === "x" ? "y" : "x";
}
function C_e(e10) {
  var t = e10.state, n = e10.options, r = e10.name, o = n.mainAxis, i = o === void 0 ? true : o, u = n.altAxis, p = u === void 0 ? false : u, v = n.boundary, y = n.rootBoundary, k = n.altBoundary, T = n.padding, R = n.tether, I = R === void 0 ? true : R, P = n.tetherOffset, S = P === void 0 ? 0 : P, U = vb(t, {
    boundary: v,
    rootBoundary: y,
    padding: T,
    altBoundary: k
  }), B = df(t.placement), X = Qp(t.placement), Z = !X, te = n3(B), Q = E_e(te), q = t.modifiersData.popperOffsets, F = t.rects.reference, ne = t.rects.popper, ae = typeof S == "function" ? S(Object.assign({}, t.rects, {
    placement: t.placement
  })) : S, pe = typeof ae == "number" ? {
    mainAxis: ae,
    altAxis: ae
  } : Object.assign({
    mainAxis: 0,
    altAxis: 0
  }, ae), Ve = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, we = {
    x: 0,
    y: 0
  };
  if (q) {
    if (i) {
      var Te, be = te === "y" ? Lu : Bu, ie = te === "y" ? Jc : Qc, de = te === "y" ? "height" : "width", ze = q[te], nt = ze + U[be], ut = ze - U[ie], Le = I ? -ne[de] / 2 : 0, oe = X === Zp ? F[de] : ne[de], Ue = X === Zp ? -ne[de] : -F[de], We = t.elements.arrow, Ge = I && We ? t3(We) : {
        width: 0,
        height: 0
      }, Ze = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Y4(), _e = Ze[be], st = Ze[ie], Ke = J0(0, F[de], Ge[de]), ht = Z ? F[de] / 2 - Le - Ke - _e - pe.mainAxis : oe - Ke - _e - pe.mainAxis, gt = Z ? -F[de] / 2 + Le + Ke + st + pe.mainAxis : Ue + Ke + st + pe.mainAxis, xt = t.elements.arrow && Nb(t.elements.arrow), ct = xt ? te === "y" ? xt.clientTop || 0 : xt.clientLeft || 0 : 0, yt = (Te = Ve == null ? void 0 : Ve[te]) != null ? Te : 0, Ot = ze + ht - yt - ct, qe = ze + gt - yt, wt = J0(I ? eg(nt, Ot) : nt, ze, I ? jh(ut, qe) : ut);
      q[te] = wt, we[te] = wt - ze;
    }
    if (p) {
      var en, Vt = te === "x" ? Lu : Bu, wn = te === "x" ? Jc : Qc, dn = q[Q], zt = Q === "y" ? "height" : "width", jt = dn + U[Vt], _t = dn - U[wn], Pt = [Lu, Bu].indexOf(B) !== -1, Ht = (en = Ve == null ? void 0 : Ve[Q]) != null ? en : 0, kn = Pt ? jt : dn - F[zt] - ne[zt] - Ht + pe.altAxis, Tn = Pt ? dn + F[zt] + ne[zt] - Ht - pe.altAxis : _t, hn = I && Pt ? Jxe(kn, dn, Tn) : J0(I ? kn : jt, dn, I ? Tn : _t);
      q[Q] = hn, we[Q] = hn - dn;
    }
    t.modifiersData[r] = we;
  }
}
const S_e = {
  name: "preventOverflow",
  enabled: true,
  phase: "main",
  fn: C_e,
  requiresIfExists: ["offset"]
};
function A_e(e10) {
  return {
    scrollLeft: e10.scrollLeft,
    scrollTop: e10.scrollTop
  };
}
function P_e(e10) {
  return e10 === yc(e10) || !Kc(e10) ? r3(e10) : A_e(e10);
}
function R_e(e10) {
  var t = e10.getBoundingClientRect(), n = Kp(t.width) / e10.offsetWidth || 1, r = Kp(t.height) / e10.offsetHeight || 1;
  return n !== 1 || r !== 1;
}
function I_e(e10, t, n) {
  n === void 0 && (n = false);
  var r = Kc(t), o = Kc(t) && R_e(t), i = Th(t), u = Jp(e10, o, n), p = {
    scrollLeft: 0,
    scrollTop: 0
  }, v = {
    x: 0,
    y: 0
  };
  return (r || !r && !n) && ((pf(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
  i3(i)) && (p = P_e(t)), Kc(t) ? (v = Jp(t, true), v.x += t.clientLeft, v.y += t.clientTop) : i && (v.x = o3(i))), {
    x: u.left + p.scrollLeft - v.x,
    y: u.top + p.scrollTop - v.y,
    width: u.width,
    height: u.height
  };
}
function M_e(e10) {
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
  e10.forEach(function(i) {
    t.set(i.name, i);
  });
  function o(i) {
    n.add(i.name);
    var u = [].concat(i.requires || [], i.requiresIfExists || []);
    u.forEach(function(p) {
      if (!n.has(p)) {
        var v = t.get(p);
        v && o(v);
      }
    }), r.push(i);
  }
  return e10.forEach(function(i) {
    n.has(i.name) || o(i);
  }), r;
}
function O_e(e10) {
  var t = M_e(e10);
  return Vxe.reduce(function(n, r) {
    return n.concat(t.filter(function(o) {
      return o.phase === r;
    }));
  }, []);
}
function D_e(e10) {
  var t;
  return function() {
    return t || (t = new Promise(function(n) {
      Promise.resolve().then(function() {
        t = void 0, n(e10());
      });
    })), t;
  };
}
function F_e(e10) {
  var t = e10.reduce(function(n, r) {
    var o = n[r.name];
    return n[r.name] = o ? Object.assign({}, o, r, {
      options: Object.assign({}, o.options, r.options),
      data: Object.assign({}, o.data, r.data)
    }) : r, n;
  }, {});
  return Object.keys(t).map(function(n) {
    return t[n];
  });
}
var P5 = {
  placement: "bottom",
  modifiers: [],
  strategy: "absolute"
};
function R5() {
  for (var e10 = arguments.length, t = new Array(e10), n = 0; n < e10; n++)
    t[n] = arguments[n];
  return !t.some(function(r) {
    return !(r && typeof r.getBoundingClientRect == "function");
  });
}
function N_e(e10) {
  e10 === void 0 && (e10 = {});
  var t = e10, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, i = o === void 0 ? P5 : o;
  return function(p, v, y) {
    y === void 0 && (y = i);
    var k = {
      placement: "bottom",
      orderedModifiers: [],
      options: Object.assign({}, P5, i),
      modifiersData: {},
      elements: {
        reference: p,
        popper: v
      },
      attributes: {},
      styles: {}
    }, T = [], R = false, I = {
      state: k,
      setOptions: function(B) {
        var X = typeof B == "function" ? B(k.options) : B;
        S(), k.options = Object.assign({}, i, k.options, X), k.scrollParents = {
          reference: tp(p) ? Q0(p) : p.contextElement ? Q0(p.contextElement) : [],
          popper: Q0(v)
        };
        var Z = O_e(F_e([].concat(r, k.options.modifiers)));
        return k.orderedModifiers = Z.filter(function(te) {
          return te.enabled;
        }), P(), I.update();
      },
      // Sync update – it will always be executed, even if not necessary. This
      // is useful for low frequency updates where sync behavior simplifies the
      // logic.
      // For high frequency updates (e.g. `resize` and `scroll` events), always
      // prefer the async Popper#update method
      forceUpdate: function() {
        if (!R) {
          var B = k.elements, X = B.reference, Z = B.popper;
          if (R5(X, Z)) {
            k.rects = {
              reference: I_e(X, Nb(Z), k.options.strategy === "fixed"),
              popper: t3(Z)
            }, k.reset = false, k.placement = k.options.placement, k.orderedModifiers.forEach(function(pe) {
              return k.modifiersData[pe.name] = Object.assign({}, pe.data);
            });
            for (var te = 0; te < k.orderedModifiers.length; te++) {
              if (k.reset === true) {
                k.reset = false, te = -1;
                continue;
              }
              var Q = k.orderedModifiers[te], q = Q.fn, F = Q.options, ne = F === void 0 ? {} : F, ae = Q.name;
              typeof q == "function" && (k = q({
                state: k,
                options: ne,
                name: ae,
                instance: I
              }) || k);
            }
          }
        }
      },
      // Async and optimistically optimized update – it will not be executed if
      // not necessary (debounced to run at most once-per-tick)
      update: D_e(function() {
        return new Promise(function(U) {
          I.forceUpdate(), U(k);
        });
      }),
      destroy: function() {
        S(), R = true;
      }
    };
    if (!R5(p, v))
      return I;
    I.setOptions(y).then(function(U) {
      !R && y.onFirstUpdate && y.onFirstUpdate(U);
    });
    function P() {
      k.orderedModifiers.forEach(function(U) {
        var B = U.name, X = U.options, Z = X === void 0 ? {} : X, te = U.effect;
        if (typeof te == "function") {
          var Q = te({
            state: k,
            name: B,
            instance: I,
            options: Z
          }), q = function() {
          };
          T.push(Q || q);
        }
      });
    }
    function S() {
      T.forEach(function(U) {
        return U();
      }), T = [];
    }
    return I;
  };
}
var L_e = [a_e, k_e, o_e, Xxe, w_e, m_e, S_e, e_e, y_e], B_e = /* @__PURE__ */ N_e({
  defaultModifiers: L_e
});
function z_e(e10) {
  return typeof e10 == "function" ? e10() : e10;
}
const yb = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const {
    children: r,
    container: o,
    disablePortal: i = false
  } = t, [u, p] = reactExports.useState(null), v = Ma(/* @__PURE__ */ reactExports.isValidElement(r) ? s0(r) : null, n);
  if (Nd(() => {
    i || p(z_e(o) || document.body);
  }, [o, i]), Nd(() => {
    if (u && !i)
      return V1(n, u), () => {
        V1(n, null);
      };
  }, [n, u, i]), i) {
    if (/* @__PURE__ */ reactExports.isValidElement(r)) {
      const y = {
        ref: v
      };
      return /* @__PURE__ */ reactExports.cloneElement(r, y);
    }
    return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Fragment, {
      children: r
    });
  }
  return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Fragment, {
    children: u && /* @__PURE__ */ reactDomExports.createPortal(r, u)
  });
});
function W_e(e10) {
  return Qr("MuiPopper", e10);
}
Dr("MuiPopper", ["root"]);
const U_e = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], H_e = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
function $_e(e10, t) {
  if (t === "ltr")
    return e10;
  switch (e10) {
    case "bottom-end":
      return "bottom-start";
    case "bottom-start":
      return "bottom-end";
    case "top-end":
      return "top-start";
    case "top-start":
      return "top-end";
    default:
      return e10;
  }
}
function tg(e10) {
  return typeof e10 == "function" ? e10() : e10;
}
function Xg(e10) {
  return e10.nodeType !== void 0;
}
const G_e = (e10) => {
  const {
    classes: t
  } = e10;
  return ao({
    root: ["root"]
  }, W_e, t);
}, Y_e = {}, X_e = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r;
  const {
    anchorEl: o,
    children: i,
    direction: u,
    disablePortal: p,
    modifiers: v,
    open: y,
    placement: k,
    popperOptions: T,
    popperRef: R,
    slotProps: I = {},
    slots: P = {},
    TransitionProps: S
    // @ts-ignore internal logic
    // prevent from spreading to DOM, it can come from the parent component e.g. Select.
  } = t, U = Pn(t, U_e), B = reactExports.useRef(null), X = Ma(B, n), Z = reactExports.useRef(null), te = Ma(Z, R), Q = reactExports.useRef(te);
  Nd(() => {
    Q.current = te;
  }, [te]), reactExports.useImperativeHandle(R, () => Z.current, []);
  const q = $_e(k, u), [F, ne] = reactExports.useState(q), [ae, pe] = reactExports.useState(tg(o));
  reactExports.useEffect(() => {
    Z.current && Z.current.forceUpdate();
  }), reactExports.useEffect(() => {
    o && pe(tg(o));
  }, [o]), Nd(() => {
    if (!ae || !y)
      return;
    const ie = (nt) => {
      ne(nt.placement);
    };
    let de = [{
      name: "preventOverflow",
      options: {
        altBoundary: p
      }
    }, {
      name: "flip",
      options: {
        altBoundary: p
      }
    }, {
      name: "onUpdate",
      enabled: true,
      phase: "afterWrite",
      fn: ({
        state: nt
      }) => {
        ie(nt);
      }
    }];
    v != null && (de = de.concat(v)), T && T.modifiers != null && (de = de.concat(T.modifiers));
    const ze = B_e(ae, B.current, Me({
      placement: q
    }, T, {
      modifiers: de
    }));
    return Q.current(ze), () => {
      ze.destroy(), Q.current(null);
    };
  }, [ae, p, v, y, T, q]);
  const Ve = {
    placement: F
  };
  S !== null && (Ve.TransitionProps = S);
  const we = G_e(t), Te = (r = P.root) != null ? r : "div", be = Ld({
    elementType: Te,
    externalSlotProps: I.root,
    externalForwardedProps: U,
    additionalProps: {
      role: "tooltip",
      ref: X
    },
    ownerState: t,
    className: we.root
  });
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Te, Me({}, be, {
    children: typeof i == "function" ? i(Ve) : i
  }));
}), Q4 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const {
    anchorEl: r,
    children: o,
    container: i,
    direction: u = "ltr",
    disablePortal: p = false,
    keepMounted: v = false,
    modifiers: y,
    open: k,
    placement: T = "bottom",
    popperOptions: R = Y_e,
    popperRef: I,
    style: P,
    transition: S = false,
    slotProps: U = {},
    slots: B = {}
  } = t, X = Pn(t, H_e), [Z, te] = reactExports.useState(true), Q = () => {
    te(false);
  }, q = () => {
    te(true);
  };
  if (!v && !k && (!S || Z))
    return null;
  let F;
  if (i)
    F = i;
  else if (r) {
    const pe = tg(r);
    F = pe && Xg(pe) ? zl(pe).body : zl(null).body;
  }
  const ne = !k && v && (!S || Z) ? "none" : void 0, ae = S ? {
    in: k,
    onEnter: Q,
    onExited: q
  } : void 0;
  return /* @__PURE__ */ jsxRuntimeExports.jsx(yb, {
    disablePortal: p,
    container: F,
    children: /* @__PURE__ */ jsxRuntimeExports.jsx(X_e, Me({
      anchorEl: r,
      direction: u,
      disablePortal: p,
      modifiers: y,
      ref: n,
      open: S ? !Z : k,
      placement: T,
      popperOptions: R,
      popperRef: I,
      slotProps: U,
      slots: B
    }, X, {
      style: Me({
        // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
        position: "fixed",
        // Fix Popper.js display issue
        top: 0,
        left: 0,
        display: ne
      }, P),
      TransitionProps: ae,
      children: o
    }))
  });
});
const Z_e = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"], K_e = xn(Q4, {
  name: "MuiPopper",
  slot: "Root",
  overridesResolver: (e10, t) => t.root
})({}), c0 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r;
  const o = Mxe(), i = so({
    props: t,
    name: "MuiPopper"
  }), {
    anchorEl: u,
    component: p,
    components: v,
    componentsProps: y,
    container: k,
    disablePortal: T,
    keepMounted: R,
    modifiers: I,
    open: P,
    placement: S,
    popperOptions: U,
    popperRef: B,
    transition: X,
    slots: Z,
    slotProps: te
  } = i, Q = Pn(i, Z_e), q = (r = Z == null ? void 0 : Z.root) != null ? r : v == null ? void 0 : v.Root, F = Me({
    anchorEl: u,
    container: k,
    disablePortal: T,
    keepMounted: R,
    modifiers: I,
    open: P,
    placement: S,
    popperOptions: U,
    popperRef: B,
    transition: X
  }, Q);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(K_e, Me({
    as: p,
    direction: o == null ? void 0 : o.direction,
    slots: {
      root: q
    },
    slotProps: te ?? y
  }, F, {
    ref: n
  }));
});
function J_e(e10) {
  return Qr("MuiListSubheader", e10);
}
Dr("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]);
const Q_e = ["className", "color", "component", "disableGutters", "disableSticky", "inset"], j_e = (e10) => {
  const {
    classes: t,
    color: n,
    disableGutters: r,
    inset: o,
    disableSticky: i
  } = e10, u = {
    root: ["root", n !== "default" && `color${An(n)}`, !r && "gutters", o && "inset", !i && "sticky"]
  };
  return ao(u, J_e, t);
}, q_e = xn("li", {
  name: "MuiListSubheader",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, n.color !== "default" && t[`color${An(n.color)}`], !n.disableGutters && t.gutters, n.inset && t.inset, !n.disableSticky && t.sticky];
  }
})(({
  theme: e10,
  ownerState: t
}) => Me({
  boxSizing: "border-box",
  lineHeight: "48px",
  listStyle: "none",
  color: (e10.vars || e10).palette.text.secondary,
  fontFamily: e10.typography.fontFamily,
  fontWeight: e10.typography.fontWeightMedium,
  fontSize: e10.typography.pxToRem(14)
}, t.color === "primary" && {
  color: (e10.vars || e10).palette.primary.main
}, t.color === "inherit" && {
  color: "inherit"
}, !t.disableGutters && {
  paddingLeft: 16,
  paddingRight: 16
}, t.inset && {
  paddingLeft: 72
}, !t.disableSticky && {
  position: "sticky",
  top: 0,
  zIndex: 1,
  backgroundColor: (e10.vars || e10).palette.background.paper
})), a3 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiListSubheader"
  }), {
    className: o,
    color: i = "default",
    component: u = "li",
    disableGutters: p = false,
    disableSticky: v = false,
    inset: y = false
  } = r, k = Pn(r, Q_e), T = Me({}, r, {
    color: i,
    component: u,
    disableGutters: p,
    disableSticky: v,
    inset: y
  }), R = j_e(T);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(q_e, Me({
    as: u,
    className: On(R.root, o),
    ref: n,
    ownerState: T
  }, k));
});
a3.muiSkipListHighlight = true;
const e5e = Ob(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
  d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
}), "Cancel");
function t5e(e10) {
  return Qr("MuiChip", e10);
}
const Fo = Dr("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), n5e = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"], r5e = (e10) => {
  const {
    classes: t,
    disabled: n,
    size: r,
    color: o,
    iconColor: i,
    onDelete: u,
    clickable: p,
    variant: v
  } = e10, y = {
    root: ["root", v, n && "disabled", `size${An(r)}`, `color${An(o)}`, p && "clickable", p && `clickableColor${An(o)}`, u && "deletable", u && `deletableColor${An(o)}`, `${v}${An(o)}`],
    label: ["label", `label${An(r)}`],
    avatar: ["avatar", `avatar${An(r)}`, `avatarColor${An(o)}`],
    icon: ["icon", `icon${An(r)}`, `iconColor${An(i)}`],
    deleteIcon: ["deleteIcon", `deleteIcon${An(r)}`, `deleteIconColor${An(o)}`, `deleteIcon${An(v)}Color${An(o)}`]
  };
  return ao(y, t5e, t);
}, o5e = xn("div", {
  name: "MuiChip",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10, {
      color: r,
      iconColor: o,
      clickable: i,
      onDelete: u,
      size: p,
      variant: v
    } = n;
    return [{
      [`& .${Fo.avatar}`]: t.avatar
    }, {
      [`& .${Fo.avatar}`]: t[`avatar${An(p)}`]
    }, {
      [`& .${Fo.avatar}`]: t[`avatarColor${An(r)}`]
    }, {
      [`& .${Fo.icon}`]: t.icon
    }, {
      [`& .${Fo.icon}`]: t[`icon${An(p)}`]
    }, {
      [`& .${Fo.icon}`]: t[`iconColor${An(o)}`]
    }, {
      [`& .${Fo.deleteIcon}`]: t.deleteIcon
    }, {
      [`& .${Fo.deleteIcon}`]: t[`deleteIcon${An(p)}`]
    }, {
      [`& .${Fo.deleteIcon}`]: t[`deleteIconColor${An(r)}`]
    }, {
      [`& .${Fo.deleteIcon}`]: t[`deleteIcon${An(v)}Color${An(r)}`]
    }, t.root, t[`size${An(p)}`], t[`color${An(r)}`], i && t.clickable, i && r !== "default" && t[`clickableColor${An(r)})`], u && t.deletable, u && r !== "default" && t[`deletableColor${An(r)}`], t[v], t[`${v}${An(r)}`]];
  }
})(({
  theme: e10,
  ownerState: t
}) => {
  const n = e10.palette.mode === "light" ? e10.palette.grey[700] : e10.palette.grey[300];
  return Me({
    maxWidth: "100%",
    fontFamily: e10.typography.fontFamily,
    fontSize: e10.typography.pxToRem(13),
    display: "inline-flex",
    alignItems: "center",
    justifyContent: "center",
    height: 32,
    color: (e10.vars || e10).palette.text.primary,
    backgroundColor: (e10.vars || e10).palette.action.selected,
    borderRadius: 32 / 2,
    whiteSpace: "nowrap",
    transition: e10.transitions.create(["background-color", "box-shadow"]),
    // reset cursor explicitly in case ButtonBase is used
    cursor: "unset",
    // We disable the focus ring for mouse, touch and keyboard users.
    outline: 0,
    textDecoration: "none",
    border: 0,
    // Remove `button` border
    padding: 0,
    // Remove `button` padding
    verticalAlign: "middle",
    boxSizing: "border-box",
    [`&.${Fo.disabled}`]: {
      opacity: (e10.vars || e10).palette.action.disabledOpacity,
      pointerEvents: "none"
    },
    [`& .${Fo.avatar}`]: {
      marginLeft: 5,
      marginRight: -6,
      width: 24,
      height: 24,
      color: e10.vars ? e10.vars.palette.Chip.defaultAvatarColor : n,
      fontSize: e10.typography.pxToRem(12)
    },
    [`& .${Fo.avatarColorPrimary}`]: {
      color: (e10.vars || e10).palette.primary.contrastText,
      backgroundColor: (e10.vars || e10).palette.primary.dark
    },
    [`& .${Fo.avatarColorSecondary}`]: {
      color: (e10.vars || e10).palette.secondary.contrastText,
      backgroundColor: (e10.vars || e10).palette.secondary.dark
    },
    [`& .${Fo.avatarSmall}`]: {
      marginLeft: 4,
      marginRight: -4,
      width: 18,
      height: 18,
      fontSize: e10.typography.pxToRem(10)
    },
    [`& .${Fo.icon}`]: Me({
      marginLeft: 5,
      marginRight: -6
    }, t.size === "small" && {
      fontSize: 18,
      marginLeft: 4,
      marginRight: -4
    }, t.iconColor === t.color && Me({
      color: e10.vars ? e10.vars.palette.Chip.defaultIconColor : n
    }, t.color !== "default" && {
      color: "inherit"
    })),
    [`& .${Fo.deleteIcon}`]: Me({
      WebkitTapHighlightColor: "transparent",
      color: e10.vars ? `rgba(${e10.vars.palette.text.primaryChannel} / 0.26)` : Ti.alpha(e10.palette.text.primary, 0.26),
      fontSize: 22,
      cursor: "pointer",
      margin: "0 5px 0 -6px",
      "&:hover": {
        color: e10.vars ? `rgba(${e10.vars.palette.text.primaryChannel} / 0.4)` : Ti.alpha(e10.palette.text.primary, 0.4)
      }
    }, t.size === "small" && {
      fontSize: 16,
      marginRight: 4,
      marginLeft: -4
    }, t.color !== "default" && {
      color: e10.vars ? `rgba(${e10.vars.palette[t.color].contrastTextChannel} / 0.7)` : Ti.alpha(e10.palette[t.color].contrastText, 0.7),
      "&:hover, &:active": {
        color: (e10.vars || e10).palette[t.color].contrastText
      }
    })
  }, t.size === "small" && {
    height: 24
  }, t.color !== "default" && {
    backgroundColor: (e10.vars || e10).palette[t.color].main,
    color: (e10.vars || e10).palette[t.color].contrastText
  }, t.onDelete && {
    [`&.${Fo.focusVisible}`]: {
      backgroundColor: e10.vars ? `rgba(${e10.vars.palette.action.selectedChannel} / calc(${e10.vars.palette.action.selectedOpacity} + ${e10.vars.palette.action.focusOpacity}))` : Ti.alpha(e10.palette.action.selected, e10.palette.action.selectedOpacity + e10.palette.action.focusOpacity)
    }
  }, t.onDelete && t.color !== "default" && {
    [`&.${Fo.focusVisible}`]: {
      backgroundColor: (e10.vars || e10).palette[t.color].dark
    }
  });
}, ({
  theme: e10,
  ownerState: t
}) => Me({}, t.clickable && {
  userSelect: "none",
  WebkitTapHighlightColor: "transparent",
  cursor: "pointer",
  "&:hover": {
    backgroundColor: e10.vars ? `rgba(${e10.vars.palette.action.selectedChannel} / calc(${e10.vars.palette.action.selectedOpacity} + ${e10.vars.palette.action.hoverOpacity}))` : Ti.alpha(e10.palette.action.selected, e10.palette.action.selectedOpacity + e10.palette.action.hoverOpacity)
  },
  [`&.${Fo.focusVisible}`]: {
    backgroundColor: e10.vars ? `rgba(${e10.vars.palette.action.selectedChannel} / calc(${e10.vars.palette.action.selectedOpacity} + ${e10.vars.palette.action.focusOpacity}))` : Ti.alpha(e10.palette.action.selected, e10.palette.action.selectedOpacity + e10.palette.action.focusOpacity)
  },
  "&:active": {
    boxShadow: (e10.vars || e10).shadows[1]
  }
}, t.clickable && t.color !== "default" && {
  [`&:hover, &.${Fo.focusVisible}`]: {
    backgroundColor: (e10.vars || e10).palette[t.color].dark
  }
}), ({
  theme: e10,
  ownerState: t
}) => Me({}, t.variant === "outlined" && {
  backgroundColor: "transparent",
  border: e10.vars ? `1px solid ${e10.vars.palette.Chip.defaultBorder}` : `1px solid ${e10.palette.mode === "light" ? e10.palette.grey[400] : e10.palette.grey[700]}`,
  [`&.${Fo.clickable}:hover`]: {
    backgroundColor: (e10.vars || e10).palette.action.hover
  },
  [`&.${Fo.focusVisible}`]: {
    backgroundColor: (e10.vars || e10).palette.action.focus
  },
  [`& .${Fo.avatar}`]: {
    marginLeft: 4
  },
  [`& .${Fo.avatarSmall}`]: {
    marginLeft: 2
  },
  [`& .${Fo.icon}`]: {
    marginLeft: 4
  },
  [`& .${Fo.iconSmall}`]: {
    marginLeft: 2
  },
  [`& .${Fo.deleteIcon}`]: {
    marginRight: 5
  },
  [`& .${Fo.deleteIconSmall}`]: {
    marginRight: 3
  }
}, t.variant === "outlined" && t.color !== "default" && {
  color: (e10.vars || e10).palette[t.color].main,
  border: `1px solid ${e10.vars ? `rgba(${e10.vars.palette[t.color].mainChannel} / 0.7)` : Ti.alpha(e10.palette[t.color].main, 0.7)}`,
  [`&.${Fo.clickable}:hover`]: {
    backgroundColor: e10.vars ? `rgba(${e10.vars.palette[t.color].mainChannel} / ${e10.vars.palette.action.hoverOpacity})` : Ti.alpha(e10.palette[t.color].main, e10.palette.action.hoverOpacity)
  },
  [`&.${Fo.focusVisible}`]: {
    backgroundColor: e10.vars ? `rgba(${e10.vars.palette[t.color].mainChannel} / ${e10.vars.palette.action.focusOpacity})` : Ti.alpha(e10.palette[t.color].main, e10.palette.action.focusOpacity)
  },
  [`& .${Fo.deleteIcon}`]: {
    color: e10.vars ? `rgba(${e10.vars.palette[t.color].mainChannel} / 0.7)` : Ti.alpha(e10.palette[t.color].main, 0.7),
    "&:hover, &:active": {
      color: (e10.vars || e10).palette[t.color].main
    }
  }
})), i5e = xn("span", {
  name: "MuiChip",
  slot: "Label",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10, {
      size: r
    } = n;
    return [t.label, t[`label${An(r)}`]];
  }
})(({
  ownerState: e10
}) => Me({
  overflow: "hidden",
  textOverflow: "ellipsis",
  paddingLeft: 12,
  paddingRight: 12,
  whiteSpace: "nowrap"
}, e10.variant === "outlined" && {
  paddingLeft: 11,
  paddingRight: 11
}, e10.size === "small" && {
  paddingLeft: 8,
  paddingRight: 8
}, e10.size === "small" && e10.variant === "outlined" && {
  paddingLeft: 7,
  paddingRight: 7
}));
function I5(e10) {
  return e10.key === "Backspace" || e10.key === "Delete";
}
const s3 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiChip"
  }), {
    avatar: o,
    className: i,
    clickable: u,
    color: p = "default",
    component: v,
    deleteIcon: y,
    disabled: k = false,
    icon: T,
    label: R,
    onClick: I,
    onDelete: P,
    onKeyDown: S,
    onKeyUp: U,
    size: B = "medium",
    variant: X = "filled",
    tabIndex: Z,
    skipFocusWhenDisabled: te = false
    // TODO v6: Rename to `focusableWhenDisabled`.
  } = r, Q = Pn(r, n5e), q = reactExports.useRef(null), F = Ma(q, n), ne = (ut) => {
    ut.stopPropagation(), P && P(ut);
  }, ae = (ut) => {
    ut.currentTarget === ut.target && I5(ut) && ut.preventDefault(), S && S(ut);
  }, pe = (ut) => {
    ut.currentTarget === ut.target && (P && I5(ut) ? P(ut) : ut.key === "Escape" && q.current && q.current.blur()), U && U(ut);
  }, Ve = u !== false && I ? true : u, we = Ve || P ? xh : v || "div", Te = Me({}, r, {
    component: we,
    disabled: k,
    size: B,
    color: p,
    iconColor: /* @__PURE__ */ reactExports.isValidElement(T) && T.props.color || p,
    onDelete: !!P,
    clickable: Ve,
    variant: X
  }), be = r5e(Te), ie = we === xh ? Me({
    component: v || "div",
    focusVisibleClassName: be.focusVisible
  }, P && {
    disableRipple: true
  }) : {};
  let de = null;
  P && (de = y && /* @__PURE__ */ reactExports.isValidElement(y) ? /* @__PURE__ */ reactExports.cloneElement(y, {
    className: On(y.props.className, be.deleteIcon),
    onClick: ne
  }) : /* @__PURE__ */ jsxRuntimeExports.jsx(e5e, {
    className: On(be.deleteIcon),
    onClick: ne
  }));
  let ze = null;
  o && /* @__PURE__ */ reactExports.isValidElement(o) && (ze = /* @__PURE__ */ reactExports.cloneElement(o, {
    className: On(be.avatar, o.props.className)
  }));
  let nt = null;
  return T && /* @__PURE__ */ reactExports.isValidElement(T) && (nt = /* @__PURE__ */ reactExports.cloneElement(T, {
    className: On(be.icon, T.props.className)
  })), /* @__PURE__ */ jsxRuntimeExports.jsxs(o5e, Me({
    as: we,
    className: On(be.root, i),
    disabled: Ve && k ? true : void 0,
    onClick: I,
    onKeyDown: ae,
    onKeyUp: pe,
    ref: F,
    tabIndex: te && k ? -1 : Z,
    ownerState: Te
  }, ie, Q, {
    children: [ze || nt, /* @__PURE__ */ jsxRuntimeExports.jsx(i5e, {
      className: On(be.label),
      ownerState: Te,
      children: R
    }), de]
  }));
});
const a5e = ["onChange", "maxRows", "minRows", "style", "value"];
function a1(e10) {
  return parseInt(e10, 10) || 0;
}
const s5e = {
  shadow: {
    // Visibility needed to hide the extra text area on iPads
    visibility: "hidden",
    // Remove from the content flow
    position: "absolute",
    // Ignore the scrollbar width
    overflow: "hidden",
    height: 0,
    top: 0,
    left: 0,
    // Create a new layer, increase the isolation of the computed values
    transform: "translateZ(0)"
  }
};
function l5e(e10) {
  return e10 == null || Object.keys(e10).length === 0 || e10.outerHeightStyle === 0 && !e10.overflowing;
}
const j4 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const {
    onChange: r,
    maxRows: o,
    minRows: i = 1,
    style: u,
    value: p
  } = t, v = Pn(t, a5e), {
    current: y
  } = reactExports.useRef(p != null), k = reactExports.useRef(null), T = Ma(n, k), R = reactExports.useRef(null), I = reactExports.useRef(null), P = reactExports.useCallback(() => {
    const B = k.current, Z = Gf(B).getComputedStyle(B);
    if (Z.width === "0px")
      return {
        outerHeightStyle: 0,
        overflowing: false
      };
    const te = I.current;
    te.style.width = Z.width, te.value = B.value || t.placeholder || "x", te.value.slice(-1) === `
` && (te.value += " ");
    const Q = Z.boxSizing, q = a1(Z.paddingBottom) + a1(Z.paddingTop), F = a1(Z.borderBottomWidth) + a1(Z.borderTopWidth), ne = te.scrollHeight;
    te.value = "x";
    const ae = te.scrollHeight;
    let pe = ne;
    i && (pe = Math.max(Number(i) * ae, pe)), o && (pe = Math.min(Number(o) * ae, pe)), pe = Math.max(pe, ae);
    const Ve = pe + (Q === "border-box" ? q + F : 0), we = Math.abs(pe - ne) <= 1;
    return {
      outerHeightStyle: Ve,
      overflowing: we
    };
  }, [o, i, t.placeholder]), S = reactExports.useCallback(() => {
    const B = P();
    if (l5e(B))
      return;
    const X = B.outerHeightStyle, Z = k.current;
    R.current !== X && (R.current = X, Z.style.height = `${X}px`), Z.style.overflow = B.overflowing ? "hidden" : "";
  }, [P]);
  Nd(() => {
    const B = () => {
      S();
    };
    let X;
    const te = Ng(B), Q = k.current, q = Gf(Q);
    q.addEventListener("resize", te);
    let F;
    return typeof ResizeObserver < "u" && (F = new ResizeObserver(B), F.observe(Q)), () => {
      te.clear(), cancelAnimationFrame(X), q.removeEventListener("resize", te), F && F.disconnect();
    };
  }, [P, S]), Nd(() => {
    S();
  });
  const U = (B) => {
    y || S(), r && r(B);
  };
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
    children: [/* @__PURE__ */ jsxRuntimeExports.jsx("textarea", Me({
      value: p,
      onChange: U,
      ref: T,
      rows: i,
      style: u
    }, v)), /* @__PURE__ */ jsxRuntimeExports.jsx("textarea", {
      "aria-hidden": true,
      className: t.className,
      readOnly: true,
      ref: I,
      tabIndex: -1,
      style: Me({}, s5e.shadow, u, {
        paddingTop: 0,
        paddingBottom: 0
      })
    })]
  });
});
function d0({
  props: e10,
  states: t,
  muiFormControl: n
}) {
  return t.reduce((r, o) => (r[o] = e10[o], n && typeof e10[o] > "u" && (r[o] = n[o]), r), {});
}
const Lb = /* @__PURE__ */ reactExports.createContext(void 0);
function rp() {
  return reactExports.useContext(Lb);
}
function q4(e10) {
  return /* @__PURE__ */ jsxRuntimeExports.jsx(WE, Me({}, e10, {
    defaultTheme: Z2,
    themeId: $g
  }));
}
function M5(e10) {
  return e10 != null && !(Array.isArray(e10) && e10.length === 0);
}
function ng(e10, t = false) {
  return e10 && (M5(e10.value) && e10.value !== "" || t && M5(e10.defaultValue) && e10.defaultValue !== "");
}
function u5e(e10) {
  return e10.startAdornment;
}
function c5e(e10) {
  return Qr("MuiInputBase", e10);
}
const pc = Dr("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]), d5e = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"], Zg = (e10, t) => {
  const {
    ownerState: n
  } = e10;
  return [t.root, n.formControl && t.formControl, n.startAdornment && t.adornedStart, n.endAdornment && t.adornedEnd, n.error && t.error, n.size === "small" && t.sizeSmall, n.multiline && t.multiline, n.color && t[`color${An(n.color)}`], n.fullWidth && t.fullWidth, n.hiddenLabel && t.hiddenLabel];
}, Kg = (e10, t) => {
  const {
    ownerState: n
  } = e10;
  return [t.input, n.size === "small" && t.inputSizeSmall, n.multiline && t.inputMultiline, n.type === "search" && t.inputTypeSearch, n.startAdornment && t.inputAdornedStart, n.endAdornment && t.inputAdornedEnd, n.hiddenLabel && t.inputHiddenLabel];
}, f5e = (e10) => {
  const {
    classes: t,
    color: n,
    disabled: r,
    error: o,
    endAdornment: i,
    focused: u,
    formControl: p,
    fullWidth: v,
    hiddenLabel: y,
    multiline: k,
    readOnly: T,
    size: R,
    startAdornment: I,
    type: P
  } = e10, S = {
    root: ["root", `color${An(n)}`, r && "disabled", o && "error", v && "fullWidth", u && "focused", p && "formControl", R && R !== "medium" && `size${An(R)}`, k && "multiline", I && "adornedStart", i && "adornedEnd", y && "hiddenLabel", T && "readOnly"],
    input: ["input", r && "disabled", P === "search" && "inputTypeSearch", k && "inputMultiline", R === "small" && "inputSizeSmall", y && "inputHiddenLabel", I && "inputAdornedStart", i && "inputAdornedEnd", T && "readOnly"]
  };
  return ao(S, c5e, t);
}, Jg = xn("div", {
  name: "MuiInputBase",
  slot: "Root",
  overridesResolver: Zg
})(({
  theme: e10,
  ownerState: t
}) => Me({}, e10.typography.body1, {
  color: (e10.vars || e10).palette.text.primary,
  lineHeight: "1.4375em",
  // 23px
  boxSizing: "border-box",
  // Prevent padding issue with fullWidth.
  position: "relative",
  cursor: "text",
  display: "inline-flex",
  alignItems: "center",
  [`&.${pc.disabled}`]: {
    color: (e10.vars || e10).palette.text.disabled,
    cursor: "default"
  }
}, t.multiline && Me({
  padding: "4px 0 5px"
}, t.size === "small" && {
  paddingTop: 1
}), t.fullWidth && {
  width: "100%"
})), Qg = xn("input", {
  name: "MuiInputBase",
  slot: "Input",
  overridesResolver: Kg
})(({
  theme: e10,
  ownerState: t
}) => {
  const n = e10.palette.mode === "light", r = Me({
    color: "currentColor"
  }, e10.vars ? {
    opacity: e10.vars.opacity.inputPlaceholder
  } : {
    opacity: n ? 0.42 : 0.5
  }, {
    transition: e10.transitions.create("opacity", {
      duration: e10.transitions.duration.shorter
    })
  }), o = {
    opacity: "0 !important"
  }, i = e10.vars ? {
    opacity: e10.vars.opacity.inputPlaceholder
  } : {
    opacity: n ? 0.42 : 0.5
  };
  return Me({
    font: "inherit",
    letterSpacing: "inherit",
    color: "currentColor",
    padding: "4px 0 5px",
    border: 0,
    boxSizing: "content-box",
    background: "none",
    height: "1.4375em",
    // Reset 23pxthe native input line-height
    margin: 0,
    // Reset for Safari
    WebkitTapHighlightColor: "transparent",
    display: "block",
    // Make the flex item shrink with Firefox
    minWidth: 0,
    width: "100%",
    // Fix IE11 width issue
    animationName: "mui-auto-fill-cancel",
    animationDuration: "10ms",
    "&::-webkit-input-placeholder": r,
    "&::-moz-placeholder": r,
    // Firefox 19+
    "&:-ms-input-placeholder": r,
    // IE11
    "&::-ms-input-placeholder": r,
    // Edge
    "&:focus": {
      outline: 0
    },
    // Reset Firefox invalid required input style
    "&:invalid": {
      boxShadow: "none"
    },
    "&::-webkit-search-decoration": {
      // Remove the padding when type=search.
      WebkitAppearance: "none"
    },
    // Show and hide the placeholder logic
    [`label[data-shrink=false] + .${pc.formControl} &`]: {
      "&::-webkit-input-placeholder": o,
      "&::-moz-placeholder": o,
      // Firefox 19+
      "&:-ms-input-placeholder": o,
      // IE11
      "&::-ms-input-placeholder": o,
      // Edge
      "&:focus::-webkit-input-placeholder": i,
      "&:focus::-moz-placeholder": i,
      // Firefox 19+
      "&:focus:-ms-input-placeholder": i,
      // IE11
      "&:focus::-ms-input-placeholder": i
      // Edge
    },
    [`&.${pc.disabled}`]: {
      opacity: 1,
      // Reset iOS opacity
      WebkitTextFillColor: (e10.vars || e10).palette.text.disabled
      // Fix opacity Safari bug
    },
    "&:-webkit-autofill": {
      animationDuration: "5000s",
      animationName: "mui-auto-fill"
    }
  }, t.size === "small" && {
    paddingTop: 1
  }, t.multiline && {
    height: "auto",
    resize: "none",
    padding: 0,
    paddingTop: 0
  }, t.type === "search" && {
    // Improve type search style.
    MozAppearance: "textfield"
  });
}), h5e = /* @__PURE__ */ jsxRuntimeExports.jsx(q4, {
  styles: {
    "@keyframes mui-auto-fill": {
      from: {
        display: "block"
      }
    },
    "@keyframes mui-auto-fill-cancel": {
      from: {
        display: "block"
      }
    }
  }
}), jg = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r;
  const o = so({
    props: t,
    name: "MuiInputBase"
  }), {
    "aria-describedby": i,
    autoComplete: u,
    autoFocus: p,
    className: v,
    components: y = {},
    componentsProps: k = {},
    defaultValue: T,
    disabled: R,
    disableInjectingGlobalStyles: I,
    endAdornment: P,
    fullWidth: S = false,
    id: U,
    inputComponent: B = "input",
    inputProps: X = {},
    inputRef: Z,
    maxRows: te,
    minRows: Q,
    multiline: q = false,
    name: F,
    onBlur: ne,
    onChange: ae,
    onClick: pe,
    onFocus: Ve,
    onKeyDown: we,
    onKeyUp: Te,
    placeholder: be,
    readOnly: ie,
    renderSuffix: de,
    rows: ze,
    slotProps: nt = {},
    slots: ut = {},
    startAdornment: Le,
    type: oe = "text",
    value: Ue
  } = o, We = Pn(o, d5e), Ge = X.value != null ? X.value : Ue, {
    current: Ze
  } = reactExports.useRef(Ge != null), _e = reactExports.useRef(), st = reactExports.useCallback((hn) => {
  }, []), Ke = Ma(_e, Z, X.ref, st), [ht, gt] = reactExports.useState(false), xt = rp();
  const ct = d0({
    props: o,
    muiFormControl: xt,
    states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
  });
  ct.focused = xt ? xt.focused : ht, reactExports.useEffect(() => {
    !xt && R && ht && (gt(false), ne && ne());
  }, [xt, R, ht, ne]);
  const yt = xt && xt.onFilled, Ot = xt && xt.onEmpty, qe = reactExports.useCallback((hn) => {
    ng(hn) ? yt && yt() : Ot && Ot();
  }, [yt, Ot]);
  Nd(() => {
    Ze && qe({
      value: Ge
    });
  }, [Ge, qe, Ze]);
  const wt = (hn) => {
    if (ct.disabled) {
      hn.stopPropagation();
      return;
    }
    Ve && Ve(hn), X.onFocus && X.onFocus(hn), xt && xt.onFocus ? xt.onFocus(hn) : gt(true);
  }, en = (hn) => {
    ne && ne(hn), X.onBlur && X.onBlur(hn), xt && xt.onBlur ? xt.onBlur(hn) : gt(false);
  }, Vt = (hn, ...Nt) => {
    if (!Ze) {
      const Qn = hn.target || _e.current;
      if (Qn == null)
        throw new Error(Hf(1));
      qe({
        value: Qn.value
      });
    }
    X.onChange && X.onChange(hn, ...Nt), ae && ae(hn, ...Nt);
  };
  reactExports.useEffect(() => {
    qe(_e.current);
  }, []);
  const wn = (hn) => {
    _e.current && hn.currentTarget === hn.target && _e.current.focus(), pe && pe(hn);
  };
  let dn = B, zt = X;
  q && dn === "input" && (ze ? zt = Me({
    type: void 0,
    minRows: ze,
    maxRows: ze
  }, zt) : zt = Me({
    type: void 0,
    maxRows: te,
    minRows: Q
  }, zt), dn = j4);
  const jt = (hn) => {
    qe(hn.animationName === "mui-auto-fill-cancel" ? _e.current : {
      value: "x"
    });
  };
  reactExports.useEffect(() => {
    xt && xt.setAdornedStart(!!Le);
  }, [xt, Le]);
  const _t = Me({}, o, {
    color: ct.color || "primary",
    disabled: ct.disabled,
    endAdornment: P,
    error: ct.error,
    focused: ct.focused,
    formControl: xt,
    fullWidth: S,
    hiddenLabel: ct.hiddenLabel,
    multiline: q,
    size: ct.size,
    startAdornment: Le,
    type: oe
  }), Pt = f5e(_t), Ht = ut.root || y.Root || Jg, kn = nt.root || k.root || {}, Tn = ut.input || y.Input || Qg;
  return zt = Me({}, zt, (r = nt.input) != null ? r : k.input), /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
    children: [!I && h5e, /* @__PURE__ */ jsxRuntimeExports.jsxs(Ht, Me({}, kn, !G1(Ht) && {
      ownerState: Me({}, _t, kn.ownerState)
    }, {
      ref: n,
      onClick: wn
    }, We, {
      className: On(Pt.root, kn.className, v, ie && "MuiInputBase-readOnly"),
      children: [Le, /* @__PURE__ */ jsxRuntimeExports.jsx(Lb.Provider, {
        value: null,
        children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tn, Me({
          ownerState: _t,
          "aria-invalid": ct.error,
          "aria-describedby": i,
          autoComplete: u,
          autoFocus: p,
          defaultValue: T,
          disabled: ct.disabled,
          id: U,
          onAnimationStart: jt,
          name: F,
          placeholder: be,
          readOnly: ie,
          required: ct.required,
          rows: ze,
          value: Ge,
          onKeyDown: we,
          onKeyUp: Te,
          type: oe
        }, zt, !G1(Tn) && {
          as: dn,
          ownerState: Me({}, _t, zt.ownerState)
        }, {
          ref: Ke,
          className: On(Pt.input, zt.className, ie && "MuiInputBase-readOnly"),
          onBlur: en,
          onChange: Vt,
          onFocus: wt
        }))
      }), P, de ? de(Me({}, ct, {
        startAdornment: Le
      })) : null]
    }))]
  });
});
function p5e(e10) {
  return Qr("MuiInput", e10);
}
const uh = Me({}, pc, Dr("MuiInput", ["root", "underline", "input"]));
function b5e(e10) {
  return Qr("MuiOutlinedInput", e10);
}
const rf = Me({}, pc, Dr("MuiOutlinedInput", ["root", "notchedOutline", "input"]));
function g5e(e10) {
  return Qr("MuiFilledInput", e10);
}
const bc = Me({}, pc, Dr("MuiFilledInput", ["root", "underline", "input"])), e6 = Ob(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
  d: "M7 10l5 5 5-5z"
}), "ArrowDropDown");
function m5e(e10) {
  return Qr("MuiAutocomplete", e10);
}
const Hr = Dr("MuiAutocomplete", ["root", "expanded", "fullWidth", "focused", "focusVisible", "tag", "tagSizeSmall", "tagSizeMedium", "hasPopupIcon", "hasClearIcon", "inputRoot", "input", "inputFocused", "endAdornment", "clearIndicator", "popupIndicator", "popupIndicatorOpen", "popper", "popperDisablePortal", "paper", "listbox", "loading", "noOptions", "option", "groupLabel", "groupUl"]);
var O5, D5;
const v5e = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionKey", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "slotProps", "value"], y5e = ["ref"], x5e = ["key"], _5e = ["key"], w5e = (e10) => {
  const {
    classes: t,
    disablePortal: n,
    expanded: r,
    focused: o,
    fullWidth: i,
    hasClearIcon: u,
    hasPopupIcon: p,
    inputFocused: v,
    popupOpen: y,
    size: k
  } = e10, T = {
    root: ["root", r && "expanded", o && "focused", i && "fullWidth", u && "hasClearIcon", p && "hasPopupIcon"],
    inputRoot: ["inputRoot"],
    input: ["input", v && "inputFocused"],
    tag: ["tag", `tagSize${An(k)}`],
    endAdornment: ["endAdornment"],
    clearIndicator: ["clearIndicator"],
    popupIndicator: ["popupIndicator", y && "popupIndicatorOpen"],
    popper: ["popper", n && "popperDisablePortal"],
    paper: ["paper"],
    listbox: ["listbox"],
    loading: ["loading"],
    noOptions: ["noOptions"],
    option: ["option"],
    groupLabel: ["groupLabel"],
    groupUl: ["groupUl"]
  };
  return ao(T, m5e, t);
}, T5e = xn("div", {
  name: "MuiAutocomplete",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10, {
      fullWidth: r,
      hasClearIcon: o,
      hasPopupIcon: i,
      inputFocused: u,
      size: p
    } = n;
    return [{
      [`& .${Hr.tag}`]: t.tag
    }, {
      [`& .${Hr.tag}`]: t[`tagSize${An(p)}`]
    }, {
      [`& .${Hr.inputRoot}`]: t.inputRoot
    }, {
      [`& .${Hr.input}`]: t.input
    }, {
      [`& .${Hr.input}`]: u && t.inputFocused
    }, t.root, r && t.fullWidth, i && t.hasPopupIcon, o && t.hasClearIcon];
  }
})({
  [`&.${Hr.focused} .${Hr.clearIndicator}`]: {
    visibility: "visible"
  },
  /* Avoid double tap issue on iOS */
  "@media (pointer: fine)": {
    [`&:hover .${Hr.clearIndicator}`]: {
      visibility: "visible"
    }
  },
  [`& .${Hr.tag}`]: {
    margin: 3,
    maxWidth: "calc(100% - 6px)"
  },
  [`& .${Hr.inputRoot}`]: {
    [`.${Hr.hasPopupIcon}&, .${Hr.hasClearIcon}&`]: {
      paddingRight: 30
    },
    [`.${Hr.hasPopupIcon}.${Hr.hasClearIcon}&`]: {
      paddingRight: 56
    },
    [`& .${Hr.input}`]: {
      width: 0,
      minWidth: 30
    }
  },
  [`& .${uh.root}`]: {
    paddingBottom: 1,
    "& .MuiInput-input": {
      padding: "4px 4px 4px 0px"
    }
  },
  [`& .${uh.root}.${pc.sizeSmall}`]: {
    [`& .${uh.input}`]: {
      padding: "2px 4px 3px 0"
    }
  },
  [`& .${rf.root}`]: {
    padding: 9,
    [`.${Hr.hasPopupIcon}&, .${Hr.hasClearIcon}&`]: {
      paddingRight: 39
    },
    [`.${Hr.hasPopupIcon}.${Hr.hasClearIcon}&`]: {
      paddingRight: 65
    },
    [`& .${Hr.input}`]: {
      padding: "7.5px 4px 7.5px 5px"
    },
    [`& .${Hr.endAdornment}`]: {
      right: 9
    }
  },
  [`& .${rf.root}.${pc.sizeSmall}`]: {
    // Don't specify paddingRight, as it overrides the default value set when there is only
    // one of the popup or clear icon as the specificity is equal so the latter one wins
    paddingTop: 6,
    paddingBottom: 6,
    paddingLeft: 6,
    [`& .${Hr.input}`]: {
      padding: "2.5px 4px 2.5px 8px"
    }
  },
  [`& .${bc.root}`]: {
    paddingTop: 19,
    paddingLeft: 8,
    [`.${Hr.hasPopupIcon}&, .${Hr.hasClearIcon}&`]: {
      paddingRight: 39
    },
    [`.${Hr.hasPopupIcon}.${Hr.hasClearIcon}&`]: {
      paddingRight: 65
    },
    [`& .${bc.input}`]: {
      padding: "7px 4px"
    },
    [`& .${Hr.endAdornment}`]: {
      right: 9
    }
  },
  [`& .${bc.root}.${pc.sizeSmall}`]: {
    paddingBottom: 1,
    [`& .${bc.input}`]: {
      padding: "2.5px 4px"
    }
  },
  [`& .${pc.hiddenLabel}`]: {
    paddingTop: 8
  },
  [`& .${bc.root}.${pc.hiddenLabel}`]: {
    paddingTop: 0,
    paddingBottom: 0,
    [`& .${Hr.input}`]: {
      paddingTop: 16,
      paddingBottom: 17
    }
  },
  [`& .${bc.root}.${pc.hiddenLabel}.${pc.sizeSmall}`]: {
    [`& .${Hr.input}`]: {
      paddingTop: 8,
      paddingBottom: 9
    }
  },
  [`& .${Hr.input}`]: {
    flexGrow: 1,
    textOverflow: "ellipsis",
    opacity: 0
  },
  variants: [{
    props: {
      fullWidth: true
    },
    style: {
      width: "100%"
    }
  }, {
    props: {
      size: "small"
    },
    style: {
      [`& .${Hr.tag}`]: {
        margin: 2,
        maxWidth: "calc(100% - 4px)"
      }
    }
  }, {
    props: {
      inputFocused: true
    },
    style: {
      [`& .${Hr.input}`]: {
        opacity: 1
      }
    }
  }, {
    props: {
      multiple: true
    },
    style: {
      [`& .${Hr.inputRoot}`]: {
        flexWrap: "wrap"
      }
    }
  }]
}), k5e = xn("div", {
  name: "MuiAutocomplete",
  slot: "EndAdornment",
  overridesResolver: (e10, t) => t.endAdornment
})({
  // We use a position absolute to support wrapping tags.
  position: "absolute",
  right: 0,
  top: "50%",
  transform: "translate(0, -50%)"
}), E5e = xn(j2, {
  name: "MuiAutocomplete",
  slot: "ClearIndicator",
  overridesResolver: (e10, t) => t.clearIndicator
})({
  marginRight: -2,
  padding: 4,
  visibility: "hidden"
}), C5e = xn(j2, {
  name: "MuiAutocomplete",
  slot: "PopupIndicator",
  overridesResolver: ({
    ownerState: e10
  }, t) => Me({}, t.popupIndicator, e10.popupOpen && t.popupIndicatorOpen)
})({
  padding: 2,
  marginRight: -2,
  variants: [{
    props: {
      popupOpen: true
    },
    style: {
      transform: "rotate(180deg)"
    }
  }]
}), S5e = xn(c0, {
  name: "MuiAutocomplete",
  slot: "Popper",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [{
      [`& .${Hr.option}`]: t.option
    }, t.popper, n.disablePortal && t.popperDisablePortal];
  }
})(({
  theme: e10
}) => ({
  zIndex: (e10.vars || e10).zIndex.modal,
  variants: [{
    props: {
      disablePortal: true
    },
    style: {
      position: "absolute"
    }
  }]
})), A5e = xn(Db, {
  name: "MuiAutocomplete",
  slot: "Paper",
  overridesResolver: (e10, t) => t.paper
})(({
  theme: e10
}) => Me({}, e10.typography.body1, {
  overflow: "auto"
})), P5e = xn("div", {
  name: "MuiAutocomplete",
  slot: "Loading",
  overridesResolver: (e10, t) => t.loading
})(({
  theme: e10
}) => ({
  color: (e10.vars || e10).palette.text.secondary,
  padding: "14px 16px"
})), R5e = xn("div", {
  name: "MuiAutocomplete",
  slot: "NoOptions",
  overridesResolver: (e10, t) => t.noOptions
})(({
  theme: e10
}) => ({
  color: (e10.vars || e10).palette.text.secondary,
  padding: "14px 16px"
})), I5e = xn("div", {
  name: "MuiAutocomplete",
  slot: "Listbox",
  overridesResolver: (e10, t) => t.listbox
})(({
  theme: e10
}) => ({
  listStyle: "none",
  margin: 0,
  padding: "8px 0",
  maxHeight: "40vh",
  overflow: "auto",
  position: "relative",
  [`& .${Hr.option}`]: {
    minHeight: 48,
    display: "flex",
    overflow: "hidden",
    justifyContent: "flex-start",
    alignItems: "center",
    cursor: "pointer",
    paddingTop: 6,
    boxSizing: "border-box",
    outline: "0",
    WebkitTapHighlightColor: "transparent",
    paddingBottom: 6,
    paddingLeft: 16,
    paddingRight: 16,
    [e10.breakpoints.up("sm")]: {
      minHeight: "auto"
    },
    [`&.${Hr.focused}`]: {
      backgroundColor: (e10.vars || e10).palette.action.hover,
      // Reset on touch devices, it doesn't add specificity
      "@media (hover: none)": {
        backgroundColor: "transparent"
      }
    },
    '&[aria-disabled="true"]': {
      opacity: (e10.vars || e10).palette.action.disabledOpacity,
      pointerEvents: "none"
    },
    [`&.${Hr.focusVisible}`]: {
      backgroundColor: (e10.vars || e10).palette.action.focus
    },
    '&[aria-selected="true"]': {
      backgroundColor: e10.vars ? `rgba(${e10.vars.palette.primary.mainChannel} / ${e10.vars.palette.action.selectedOpacity})` : Ti.alpha(e10.palette.primary.main, e10.palette.action.selectedOpacity),
      [`&.${Hr.focused}`]: {
        backgroundColor: e10.vars ? `rgba(${e10.vars.palette.primary.mainChannel} / calc(${e10.vars.palette.action.selectedOpacity} + ${e10.vars.palette.action.hoverOpacity}))` : Ti.alpha(e10.palette.primary.main, e10.palette.action.selectedOpacity + e10.palette.action.hoverOpacity),
        // Reset on touch devices, it doesn't add specificity
        "@media (hover: none)": {
          backgroundColor: (e10.vars || e10).palette.action.selected
        }
      },
      [`&.${Hr.focusVisible}`]: {
        backgroundColor: e10.vars ? `rgba(${e10.vars.palette.primary.mainChannel} / calc(${e10.vars.palette.action.selectedOpacity} + ${e10.vars.palette.action.focusOpacity}))` : Ti.alpha(e10.palette.primary.main, e10.palette.action.selectedOpacity + e10.palette.action.focusOpacity)
      }
    }
  }
})), M5e = xn(a3, {
  name: "MuiAutocomplete",
  slot: "GroupLabel",
  overridesResolver: (e10, t) => t.groupLabel
})(({
  theme: e10
}) => ({
  backgroundColor: (e10.vars || e10).palette.background.paper,
  top: -8
})), O5e = xn("ul", {
  name: "MuiAutocomplete",
  slot: "GroupUl",
  overridesResolver: (e10, t) => t.groupUl
})({
  padding: 0,
  [`& .${Hr.option}`]: {
    paddingLeft: 24
  }
}), t6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o, i, u;
  const p = so({
    props: t,
    name: "MuiAutocomplete"
  }), {
    autoComplete: v = false,
    autoHighlight: y = false,
    autoSelect: k = false,
    blurOnSelect: T = false,
    ChipProps: R,
    className: I,
    clearIcon: P = O5 || (O5 = /* @__PURE__ */ jsxRuntimeExports.jsx(vxe, {
      fontSize: "small"
    })),
    clearOnBlur: S = !p.freeSolo,
    clearOnEscape: U = false,
    clearText: B = "Clear",
    closeText: X = "Close",
    componentsProps: Z = {},
    defaultValue: te = p.multiple ? [] : null,
    disableClearable: Q = false,
    disableCloseOnSelect: q = false,
    disabled: F = false,
    disabledItemsFocusable: ne = false,
    disableListWrap: ae = false,
    disablePortal: pe = false,
    filterSelectedOptions: Ve = false,
    forcePopupIcon: we = "auto",
    freeSolo: Te = false,
    fullWidth: be = false,
    getLimitTagsText: ie = (it) => `+${it}`,
    getOptionLabel: de,
    groupBy: ze,
    handleHomeEndKeys: nt = !p.freeSolo,
    includeInputInList: ut = false,
    limitTags: Le = -1,
    ListboxComponent: oe = "ul",
    ListboxProps: Ue,
    loading: We = false,
    loadingText: Ge = "Loading…",
    multiple: Ze = false,
    noOptionsText: _e = "No options",
    openOnFocus: st = false,
    openText: Ke = "Open",
    PaperComponent: ht = Db,
    PopperComponent: gt = c0,
    popupIcon: xt = D5 || (D5 = /* @__PURE__ */ jsxRuntimeExports.jsx(e6, {})),
    readOnly: ct = false,
    renderGroup: yt,
    renderInput: Ot,
    renderOption: qe,
    renderTags: wt,
    selectOnFocus: en = !p.freeSolo,
    size: Vt = "medium",
    slotProps: wn = {}
  } = p, dn = Pn(p, v5e), {
    getRootProps: zt,
    getInputProps: jt,
    getInputLabelProps: _t,
    getPopupIndicatorProps: Pt,
    getClearProps: Ht,
    getTagProps: kn,
    getListboxProps: Tn,
    getOptionProps: hn,
    value: Nt,
    dirty: Qn,
    expanded: hr,
    id: Wt,
    popupOpen: ir,
    focused: sn,
    focusedTag: Rt,
    anchorEl: $t,
    setAnchorEl: En,
    inputValue: In,
    groupedOptions: _n
  } = Pxe(Me({}, p, {
    componentName: "Autocomplete"
  })), bn = !Q && !F && Qn && !ct, Sr = (!Te || we === true) && we !== false, {
    onMouseDown: Mn
  } = jt(), {
    ref: gr
  } = Ue ?? {}, mi = Tn(), {
    ref: Co
  } = mi, No = Pn(mi, y5e), ls = Ma(Co, gr), Fr = de || ((it) => {
    var Zt;
    return (Zt = it.label) != null ? Zt : it;
  }), Yr = Me({}, p, {
    disablePortal: pe,
    expanded: hr,
    focused: sn,
    fullWidth: be,
    getOptionLabel: Fr,
    hasClearIcon: bn,
    hasPopupIcon: Sr,
    inputFocused: Rt === -1,
    popupOpen: ir,
    size: Vt
  }), yr = w5e(Yr);
  let uo;
  if (Ze && Nt.length > 0) {
    const it = (Zt) => Me({
      className: yr.tag,
      disabled: F
    }, kn(Zt));
    wt ? uo = wt(Nt, it, Yr) : uo = Nt.map((Zt, un) => {
      const dt = it({
        index: un
      }), {
        key: kt
      } = dt, pn = Pn(dt, x5e);
      return /* @__PURE__ */ jsxRuntimeExports.jsx(s3, Me({
        label: Fr(Zt),
        size: Vt
      }, pn, R), kt);
    });
  }
  if (Le > -1 && Array.isArray(uo)) {
    const it = uo.length - Le;
    !sn && it > 0 && (uo = uo.splice(0, Le), uo.push(/* @__PURE__ */ jsxRuntimeExports.jsx("span", {
      className: yr.tag,
      children: ie(it)
    }, uo.length)));
  }
  const to = yt || ((it) => /* @__PURE__ */ jsxRuntimeExports.jsxs("li", {
    children: [/* @__PURE__ */ jsxRuntimeExports.jsx(M5e, {
      className: yr.groupLabel,
      ownerState: Yr,
      component: "div",
      children: it.group
    }), /* @__PURE__ */ jsxRuntimeExports.jsx(O5e, {
      className: yr.groupUl,
      ownerState: Yr,
      children: it.children
    })]
  }, it.key)), ki = qe || ((it, Zt) => {
    const {
      key: un
    } = it, dt = Pn(it, _5e);
    return /* @__PURE__ */ jsxRuntimeExports.jsx("li", Me({}, dt, {
      children: Fr(Zt)
    }), un);
  }), Nr = (it, Zt) => {
    const un = hn({
      option: it,
      index: Zt
    });
    return ki(Me({}, un, {
      className: yr.option
    }), it, {
      selected: un["aria-selected"],
      index: Zt,
      inputValue: In
    }, Yr);
  }, Gn = (r = wn.clearIndicator) != null ? r : Z.clearIndicator, qo = (o = wn.paper) != null ? o : Z.paper, Dn = (i = wn.popper) != null ? i : Z.popper, At = (u = wn.popupIndicator) != null ? u : Z.popupIndicator;
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
    children: [/* @__PURE__ */ jsxRuntimeExports.jsx(T5e, Me({
      ref: n,
      className: On(yr.root, I),
      ownerState: Yr
    }, zt(dn), {
      children: Ot({
        id: Wt,
        disabled: F,
        fullWidth: true,
        size: Vt === "small" ? "small" : void 0,
        InputLabelProps: _t(),
        InputProps: Me({
          ref: En,
          className: yr.inputRoot,
          startAdornment: uo,
          onClick: (it) => {
            it.target === it.currentTarget && Mn(it);
          }
        }, (bn || Sr) && {
          endAdornment: /* @__PURE__ */ jsxRuntimeExports.jsxs(k5e, {
            className: yr.endAdornment,
            ownerState: Yr,
            children: [bn ? /* @__PURE__ */ jsxRuntimeExports.jsx(E5e, Me({}, Ht(), {
              "aria-label": B,
              title: B,
              ownerState: Yr
            }, Gn, {
              className: On(yr.clearIndicator, Gn == null ? void 0 : Gn.className),
              children: P
            })) : null, Sr ? /* @__PURE__ */ jsxRuntimeExports.jsx(C5e, Me({}, Pt(), {
              disabled: F,
              "aria-label": ir ? X : Ke,
              title: ir ? X : Ke,
              ownerState: Yr
            }, At, {
              className: On(yr.popupIndicator, At == null ? void 0 : At.className),
              children: xt
            })) : null]
          })
        }),
        inputProps: Me({
          className: yr.input,
          disabled: F,
          readOnly: ct
        }, jt())
      })
    })), $t ? /* @__PURE__ */ jsxRuntimeExports.jsx(S5e, Me({
      as: gt,
      disablePortal: pe,
      style: {
        width: $t ? $t.clientWidth : null
      },
      ownerState: Yr,
      role: "presentation",
      anchorEl: $t,
      open: ir
    }, Dn, {
      className: On(yr.popper, Dn == null ? void 0 : Dn.className),
      children: /* @__PURE__ */ jsxRuntimeExports.jsxs(A5e, Me({
        ownerState: Yr,
        as: ht
      }, qo, {
        className: On(yr.paper, qo == null ? void 0 : qo.className),
        children: [We && _n.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(P5e, {
          className: yr.loading,
          ownerState: Yr,
          children: Ge
        }) : null, _n.length === 0 && !Te && !We ? /* @__PURE__ */ jsxRuntimeExports.jsx(R5e, {
          className: yr.noOptions,
          ownerState: Yr,
          role: "presentation",
          onMouseDown: (it) => {
            it.preventDefault();
          },
          children: _e
        }) : null, _n.length > 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(I5e, Me({
          as: oe,
          className: yr.listbox,
          ownerState: Yr
        }, No, Ue, {
          ref: ls,
          children: _n.map((it, Zt) => ze ? to({
            key: it.key,
            group: it.group,
            children: it.options.map((un, dt) => Nr(un, it.index + dt))
          }) : Nr(it, Zt))
        })) : null]
      }))
    })) : null]
  });
});
const D5e = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], F5e = {
  entering: {
    opacity: 1
  },
  entered: {
    opacity: 1
  }
}, n6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = u0(), o = {
    enter: r.transitions.duration.enteringScreen,
    exit: r.transitions.duration.leavingScreen
  }, {
    addEndListener: i,
    appear: u = true,
    children: p,
    easing: v,
    in: y,
    onEnter: k,
    onEntered: T,
    onEntering: R,
    onExit: I,
    onExited: P,
    onExiting: S,
    style: U,
    timeout: B = o,
    // eslint-disable-next-line react/prop-types
    TransitionComponent: X = Ud
  } = t, Z = Pn(t, D5e), te = reactExports.useRef(null), Q = Ma(te, s0(p), n), q = (be) => (ie) => {
    if (be) {
      const de = te.current;
      ie === void 0 ? be(de) : be(de, ie);
    }
  }, F = q(R), ne = q((be, ie) => {
    F4(be);
    const de = Xp({
      style: U,
      timeout: B,
      easing: v
    }, {
      mode: "enter"
    });
    be.style.webkitTransition = r.transitions.create("opacity", de), be.style.transition = r.transitions.create("opacity", de), k && k(be, ie);
  }), ae = q(T), pe = q(S), Ve = q((be) => {
    const ie = Xp({
      style: U,
      timeout: B,
      easing: v
    }, {
      mode: "exit"
    });
    be.style.webkitTransition = r.transitions.create("opacity", ie), be.style.transition = r.transitions.create("opacity", ie), I && I(be);
  }), we = q(P);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(X, Me({
    appear: u,
    in: y,
    nodeRef: te,
    onEnter: ne,
    onEntered: ae,
    onEntering: F,
    onExit: Ve,
    onExited: we,
    onExiting: pe,
    addEndListener: (be) => {
      i && i(te.current, be);
    },
    timeout: B
  }, Z, {
    children: (be, ie) => /* @__PURE__ */ reactExports.cloneElement(p, Me({
      style: Me({
        opacity: 0,
        visibility: be === "exited" && !y ? "hidden" : void 0
      }, F5e[be], U, p.props.style),
      ref: Q
    }, ie))
  }));
});
function N5e(e10) {
  return Qr("MuiBackdrop", e10);
}
Dr("MuiBackdrop", ["root", "invisible"]);
const L5e = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"], B5e = (e10) => {
  const {
    classes: t,
    invisible: n
  } = e10;
  return ao({
    root: ["root", n && "invisible"]
  }, N5e, t);
}, z5e = xn("div", {
  name: "MuiBackdrop",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, n.invisible && t.invisible];
  }
})(({
  ownerState: e10
}) => Me({
  position: "fixed",
  display: "flex",
  alignItems: "center",
  justifyContent: "center",
  right: 0,
  bottom: 0,
  top: 0,
  left: 0,
  backgroundColor: "rgba(0, 0, 0, 0.5)",
  WebkitTapHighlightColor: "transparent"
}, e10.invisible && {
  backgroundColor: "transparent"
})), r6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o, i;
  const u = so({
    props: t,
    name: "MuiBackdrop"
  }), {
    children: p,
    className: v,
    component: y = "div",
    components: k = {},
    componentsProps: T = {},
    invisible: R = false,
    open: I,
    slotProps: P = {},
    slots: S = {},
    TransitionComponent: U = n6,
    transitionDuration: B
  } = u, X = Pn(u, L5e), Z = Me({}, u, {
    component: y,
    invisible: R
  }), te = B5e(Z), Q = (r = P.root) != null ? r : T.root;
  return /* @__PURE__ */ jsxRuntimeExports.jsx(U, Me({
    in: I,
    timeout: B
  }, X, {
    children: /* @__PURE__ */ jsxRuntimeExports.jsx(z5e, Me({
      "aria-hidden": true
    }, Q, {
      as: (o = (i = S.root) != null ? i : k.Root) != null ? o : y,
      className: On(te.root, v, Q == null ? void 0 : Q.className),
      ownerState: Me({}, Z, Q == null ? void 0 : Q.ownerState),
      classes: te,
      ref: n,
      children: p
    }))
  }));
});
const W5e = Dr("MuiBox", ["root"]), U5e = R4();
Age({
  themeId: $g,
  defaultTheme: U5e,
  defaultClassName: W5e.root,
  generateClassName: UE.generate
});
function H5e(e10) {
  const t = zl(e10);
  return t.body === e10 ? Gf(e10).innerWidth > t.documentElement.clientWidth : e10.scrollHeight > e10.clientHeight;
}
function j0(e10, t) {
  t ? e10.setAttribute("aria-hidden", "true") : e10.removeAttribute("aria-hidden");
}
function F5(e10) {
  return parseInt(Gf(e10).getComputedStyle(e10).paddingRight, 10) || 0;
}
function $5e(e10) {
  const n = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].indexOf(e10.tagName) !== -1, r = e10.tagName === "INPUT" && e10.getAttribute("type") === "hidden";
  return n || r;
}
function N5(e10, t, n, r, o) {
  const i = [t, n, ...r];
  [].forEach.call(e10.children, (u) => {
    const p = i.indexOf(u) === -1, v = !$5e(u);
    p && v && j0(u, o);
  });
}
function rv(e10, t) {
  let n = -1;
  return e10.some((r, o) => t(r) ? (n = o, true) : false), n;
}
function V5e(e10, t) {
  const n = [], r = e10.container;
  if (!t.disableScrollLock) {
    if (H5e(r)) {
      const u = jE(zl(r));
      n.push({
        value: r.style.paddingRight,
        property: "padding-right",
        el: r
      }), r.style.paddingRight = `${F5(r) + u}px`;
      const p = zl(r).querySelectorAll(".mui-fixed");
      [].forEach.call(p, (v) => {
        n.push({
          value: v.style.paddingRight,
          property: "padding-right",
          el: v
        }), v.style.paddingRight = `${F5(v) + u}px`;
      });
    }
    let i;
    if (r.parentNode instanceof DocumentFragment)
      i = zl(r).body;
    else {
      const u = r.parentElement, p = Gf(r);
      i = (u == null ? void 0 : u.nodeName) === "HTML" && p.getComputedStyle(u).overflowY === "scroll" ? u : r;
    }
    n.push({
      value: i.style.overflow,
      property: "overflow",
      el: i
    }, {
      value: i.style.overflowX,
      property: "overflow-x",
      el: i
    }, {
      value: i.style.overflowY,
      property: "overflow-y",
      el: i
    }), i.style.overflow = "hidden";
  }
  return () => {
    n.forEach(({
      value: i,
      el: u,
      property: p
    }) => {
      i ? u.style.setProperty(p, i) : u.style.removeProperty(p);
    });
  };
}
function G5e(e10) {
  const t = [];
  return [].forEach.call(e10.children, (n) => {
    n.getAttribute("aria-hidden") === "true" && t.push(n);
  }), t;
}
class Y5e {
  constructor() {
    this.containers = void 0, this.modals = void 0, this.modals = [], this.containers = [];
  }
  add(t, n) {
    let r = this.modals.indexOf(t);
    if (r !== -1)
      return r;
    r = this.modals.length, this.modals.push(t), t.modalRef && j0(t.modalRef, false);
    const o = G5e(n);
    N5(n, t.mount, t.modalRef, o, true);
    const i = rv(this.containers, (u) => u.container === n);
    return i !== -1 ? (this.containers[i].modals.push(t), r) : (this.containers.push({
      modals: [t],
      container: n,
      restore: null,
      hiddenSiblings: o
    }), r);
  }
  mount(t, n) {
    const r = rv(this.containers, (i) => i.modals.indexOf(t) !== -1), o = this.containers[r];
    o.restore || (o.restore = V5e(o, n));
  }
  remove(t, n = true) {
    const r = this.modals.indexOf(t);
    if (r === -1)
      return r;
    const o = rv(this.containers, (u) => u.modals.indexOf(t) !== -1), i = this.containers[o];
    if (i.modals.splice(i.modals.indexOf(t), 1), this.modals.splice(r, 1), i.modals.length === 0)
      i.restore && i.restore(), t.modalRef && j0(t.modalRef, n), N5(i.container, t.mount, t.modalRef, i.hiddenSiblings, false), this.containers.splice(o, 1);
    else {
      const u = i.modals[i.modals.length - 1];
      u.modalRef && j0(u.modalRef, false);
    }
    return r;
  }
  isTopModal(t) {
    return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
  }
}
const X5e = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
function Z5e(e10) {
  const t = parseInt(e10.getAttribute("tabindex") || "", 10);
  return Number.isNaN(t) ? e10.contentEditable === "true" || (e10.nodeName === "AUDIO" || e10.nodeName === "VIDEO" || e10.nodeName === "DETAILS") && e10.getAttribute("tabindex") === null ? 0 : e10.tabIndex : t;
}
function K5e(e10) {
  if (e10.tagName !== "INPUT" || e10.type !== "radio" || !e10.name)
    return false;
  const t = (r) => e10.ownerDocument.querySelector(`input[type="radio"]${r}`);
  let n = t(`[name="${e10.name}"]:checked`);
  return n || (n = t(`[name="${e10.name}"]`)), n !== e10;
}
function J5e(e10) {
  return !(e10.disabled || e10.tagName === "INPUT" && e10.type === "hidden" || K5e(e10));
}
function Q5e(e10) {
  const t = [], n = [];
  return Array.from(e10.querySelectorAll(X5e)).forEach((r, o) => {
    const i = Z5e(r);
    i === -1 || !J5e(r) || (i === 0 ? t.push(r) : n.push({
      documentOrder: o,
      tabIndex: i,
      node: r
    }));
  }), n.sort((r, o) => r.tabIndex === o.tabIndex ? r.documentOrder - o.documentOrder : r.tabIndex - o.tabIndex).map((r) => r.node).concat(t);
}
function j5e() {
  return true;
}
function rg(e10) {
  const {
    children: t,
    disableAutoFocus: n = false,
    disableEnforceFocus: r = false,
    disableRestoreFocus: o = false,
    getTabbable: i = Q5e,
    isEnabled: u = j5e,
    open: p
  } = e10, v = reactExports.useRef(false), y = reactExports.useRef(null), k = reactExports.useRef(null), T = reactExports.useRef(null), R = reactExports.useRef(null), I = reactExports.useRef(false), P = reactExports.useRef(null), S = Ma(s0(t), P), U = reactExports.useRef(null);
  reactExports.useEffect(() => {
    !p || !P.current || (I.current = !n);
  }, [n, p]), reactExports.useEffect(() => {
    if (!p || !P.current)
      return;
    const Z = zl(P.current);
    return P.current.contains(Z.activeElement) || (P.current.hasAttribute("tabIndex") || P.current.setAttribute("tabIndex", "-1"), I.current && P.current.focus()), () => {
      o || (T.current && T.current.focus && (v.current = true, T.current.focus()), T.current = null);
    };
  }, [p]), reactExports.useEffect(() => {
    if (!p || !P.current)
      return;
    const Z = zl(P.current), te = (F) => {
      U.current = F, !(r || !u() || F.key !== "Tab") && Z.activeElement === P.current && F.shiftKey && (v.current = true, k.current && k.current.focus());
    }, Q = () => {
      const F = P.current;
      if (F === null)
        return;
      if (!Z.hasFocus() || !u() || v.current) {
        v.current = false;
        return;
      }
      if (F.contains(Z.activeElement) || r && Z.activeElement !== y.current && Z.activeElement !== k.current)
        return;
      if (Z.activeElement !== R.current)
        R.current = null;
      else if (R.current !== null)
        return;
      if (!I.current)
        return;
      let ne = [];
      if ((Z.activeElement === y.current || Z.activeElement === k.current) && (ne = i(P.current)), ne.length > 0) {
        var ae, pe;
        const Ve = !!((ae = U.current) != null && ae.shiftKey && ((pe = U.current) == null ? void 0 : pe.key) === "Tab"), we = ne[0], Te = ne[ne.length - 1];
        typeof we != "string" && typeof Te != "string" && (Ve ? Te.focus() : we.focus());
      } else
        F.focus();
    };
    Z.addEventListener("focusin", Q), Z.addEventListener("keydown", te, true);
    const q = setInterval(() => {
      Z.activeElement && Z.activeElement.tagName === "BODY" && Q();
    }, 50);
    return () => {
      clearInterval(q), Z.removeEventListener("focusin", Q), Z.removeEventListener("keydown", te, true);
    };
  }, [n, r, o, u, p, i]);
  const B = (Z) => {
    T.current === null && (T.current = Z.relatedTarget), I.current = true, R.current = Z.target;
    const te = t.props.onFocus;
    te && te(Z);
  }, X = (Z) => {
    T.current === null && (T.current = Z.relatedTarget), I.current = true;
  };
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
    children: [/* @__PURE__ */ jsxRuntimeExports.jsx("div", {
      tabIndex: p ? 0 : -1,
      onFocus: X,
      ref: y,
      "data-testid": "sentinelStart"
    }), /* @__PURE__ */ reactExports.cloneElement(t, {
      ref: S,
      onFocus: B
    }), /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
      tabIndex: p ? 0 : -1,
      onFocus: X,
      ref: k,
      "data-testid": "sentinelEnd"
    })]
  });
}
function q5e(e10) {
  return typeof e10 == "function" ? e10() : e10;
}
function ewe(e10) {
  return e10 ? e10.props.hasOwnProperty("in") : false;
}
const twe = new Y5e();
function nwe(e10) {
  const {
    container: t,
    disableEscapeKeyDown: n = false,
    disableScrollLock: r = false,
    // @ts-ignore internal logic - Base UI supports the manager as a prop too
    manager: o = twe,
    closeAfterTransition: i = false,
    onTransitionEnter: u,
    onTransitionExited: p,
    children: v,
    onClose: y,
    open: k,
    rootRef: T
  } = e10, R = reactExports.useRef({}), I = reactExports.useRef(null), P = reactExports.useRef(null), S = Ma(P, T), [U, B] = reactExports.useState(!k), X = ewe(v);
  let Z = true;
  (e10["aria-hidden"] === "false" || e10["aria-hidden"] === false) && (Z = false);
  const te = () => zl(I.current), Q = () => (R.current.modalRef = P.current, R.current.mount = I.current, R.current), q = () => {
    o.mount(Q(), {
      disableScrollLock: r
    }), P.current && (P.current.scrollTop = 0);
  }, F = au(() => {
    const de = q5e(t) || te().body;
    o.add(Q(), de), P.current && q();
  }), ne = reactExports.useCallback(() => o.isTopModal(Q()), [o]), ae = au((de) => {
    I.current = de, de && (k && ne() ? q() : P.current && j0(P.current, Z));
  }), pe = reactExports.useCallback(() => {
    o.remove(Q(), Z);
  }, [Z, o]);
  reactExports.useEffect(() => () => {
    pe();
  }, [pe]), reactExports.useEffect(() => {
    k ? F() : (!X || !i) && pe();
  }, [k, pe, X, i, F]);
  const Ve = (de) => (ze) => {
    var nt;
    (nt = de.onKeyDown) == null || nt.call(de, ze), !(ze.key !== "Escape" || ze.which === 229 || // Wait until IME is settled.
    !ne()) && (n || (ze.stopPropagation(), y && y(ze, "escapeKeyDown")));
  }, we = (de) => (ze) => {
    var nt;
    (nt = de.onClick) == null || nt.call(de, ze), ze.target === ze.currentTarget && y && y(ze, "backdropClick");
  };
  return {
    getRootProps: (de = {}) => {
      const ze = r4(e10);
      delete ze.onTransitionEnter, delete ze.onTransitionExited;
      const nt = Me({}, ze, de);
      return Me({
        role: "presentation"
      }, nt, {
        onKeyDown: Ve(nt),
        ref: S
      });
    },
    getBackdropProps: (de = {}) => {
      const ze = de;
      return Me({
        "aria-hidden": true
      }, ze, {
        onClick: we(ze),
        open: k
      });
    },
    getTransitionProps: () => {
      const de = () => {
        B(false), u && u();
      }, ze = () => {
        B(true), p && p(), i && pe();
      };
      return {
        onEnter: l_(de, v == null ? void 0 : v.props.onEnter),
        onExited: l_(ze, v == null ? void 0 : v.props.onExited)
      };
    },
    rootRef: S,
    portalRef: ae,
    isTopModal: ne,
    exited: U,
    hasTransition: X
  };
}
function rwe(e10) {
  return Qr("MuiModal", e10);
}
Dr("MuiModal", ["root", "hidden", "backdrop"]);
const owe = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"], iwe = (e10) => {
  const {
    open: t,
    exited: n,
    classes: r
  } = e10;
  return ao({
    root: ["root", !t && n && "hidden"],
    backdrop: ["backdrop"]
  }, rwe, r);
}, awe = xn("div", {
  name: "MuiModal",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, !n.open && n.exited && t.hidden];
  }
})(({
  theme: e10,
  ownerState: t
}) => Me({
  position: "fixed",
  zIndex: (e10.vars || e10).zIndex.modal,
  right: 0,
  bottom: 0,
  top: 0,
  left: 0
}, !t.open && t.exited && {
  visibility: "hidden"
})), swe = xn(r6, {
  name: "MuiModal",
  slot: "Backdrop",
  overridesResolver: (e10, t) => t.backdrop
})({
  zIndex: -1
}), i6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o, i, u, p, v;
  const y = so({
    name: "MuiModal",
    props: t
  }), {
    BackdropComponent: k = swe,
    BackdropProps: T,
    className: R,
    closeAfterTransition: I = false,
    children: P,
    container: S,
    component: U,
    components: B = {},
    componentsProps: X = {},
    disableAutoFocus: Z = false,
    disableEnforceFocus: te = false,
    disableEscapeKeyDown: Q = false,
    disablePortal: q = false,
    disableRestoreFocus: F = false,
    disableScrollLock: ne = false,
    hideBackdrop: ae = false,
    keepMounted: pe = false,
    onBackdropClick: Ve,
    open: we,
    slotProps: Te,
    slots: be
    // eslint-disable-next-line react/prop-types
  } = y, ie = Pn(y, owe), de = Me({}, y, {
    closeAfterTransition: I,
    disableAutoFocus: Z,
    disableEnforceFocus: te,
    disableEscapeKeyDown: Q,
    disablePortal: q,
    disableRestoreFocus: F,
    disableScrollLock: ne,
    hideBackdrop: ae,
    keepMounted: pe
  }), {
    getRootProps: ze,
    getBackdropProps: nt,
    getTransitionProps: ut,
    portalRef: Le,
    isTopModal: oe,
    exited: Ue,
    hasTransition: We
  } = nwe(Me({}, de, {
    rootRef: n
  })), Ge = Me({}, de, {
    exited: Ue
  }), Ze = iwe(Ge), _e = {};
  if (P.props.tabIndex === void 0 && (_e.tabIndex = "-1"), We) {
    const {
      onEnter: yt,
      onExited: Ot
    } = ut();
    _e.onEnter = yt, _e.onExited = Ot;
  }
  const st = (r = (o = be == null ? void 0 : be.root) != null ? o : B.Root) != null ? r : awe, Ke = (i = (u = be == null ? void 0 : be.backdrop) != null ? u : B.Backdrop) != null ? i : k, ht = (p = Te == null ? void 0 : Te.root) != null ? p : X.root, gt = (v = Te == null ? void 0 : Te.backdrop) != null ? v : X.backdrop, xt = Ld({
    elementType: st,
    externalSlotProps: ht,
    externalForwardedProps: ie,
    getSlotProps: ze,
    additionalProps: {
      ref: n,
      as: U
    },
    ownerState: Ge,
    className: On(R, ht == null ? void 0 : ht.className, Ze == null ? void 0 : Ze.root, !Ge.open && Ge.exited && (Ze == null ? void 0 : Ze.hidden))
  }), ct = Ld({
    elementType: Ke,
    externalSlotProps: gt,
    additionalProps: T,
    getSlotProps: (yt) => nt(Me({}, yt, {
      onClick: (Ot) => {
        Ve && Ve(Ot), yt != null && yt.onClick && yt.onClick(Ot);
      }
    })),
    className: On(gt == null ? void 0 : gt.className, T == null ? void 0 : T.className, Ze == null ? void 0 : Ze.backdrop),
    ownerState: Ge
  });
  return !pe && !we && (!We || Ue) ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(yb, {
    ref: Le,
    container: S,
    disablePortal: q,
    children: /* @__PURE__ */ jsxRuntimeExports.jsxs(st, Me({}, xt, {
      children: [!ae && k ? /* @__PURE__ */ jsxRuntimeExports.jsx(Ke, Me({}, ct)) : null, /* @__PURE__ */ jsxRuntimeExports.jsx(rg, {
        disableEnforceFocus: te,
        disableAutoFocus: Z,
        disableRestoreFocus: F,
        isEnabled: oe,
        open: we,
        children: /* @__PURE__ */ reactExports.cloneElement(P, _e)
      })]
    }))
  });
});
const L5 = Dr("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]), lwe = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"], uwe = (e10) => {
  const {
    classes: t,
    disableUnderline: n
  } = e10, o = ao({
    root: ["root", !n && "underline"],
    input: ["input"]
  }, g5e, t);
  return Me({}, t, o);
}, cwe = xn(Jg, {
  shouldForwardProp: (e10) => Wd(e10) || e10 === "classes",
  name: "MuiFilledInput",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [...Zg(e10, t), !n.disableUnderline && t.underline];
  }
})(({
  theme: e10,
  ownerState: t
}) => {
  var n;
  const r = e10.palette.mode === "light", o = r ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", i = r ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", u = r ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", p = r ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
  return Me({
    position: "relative",
    backgroundColor: e10.vars ? e10.vars.palette.FilledInput.bg : i,
    borderTopLeftRadius: (e10.vars || e10).shape.borderRadius,
    borderTopRightRadius: (e10.vars || e10).shape.borderRadius,
    transition: e10.transitions.create("background-color", {
      duration: e10.transitions.duration.shorter,
      easing: e10.transitions.easing.easeOut
    }),
    "&:hover": {
      backgroundColor: e10.vars ? e10.vars.palette.FilledInput.hoverBg : u,
      // Reset on touch devices, it doesn't add specificity
      "@media (hover: none)": {
        backgroundColor: e10.vars ? e10.vars.palette.FilledInput.bg : i
      }
    },
    [`&.${bc.focused}`]: {
      backgroundColor: e10.vars ? e10.vars.palette.FilledInput.bg : i
    },
    [`&.${bc.disabled}`]: {
      backgroundColor: e10.vars ? e10.vars.palette.FilledInput.disabledBg : p
    }
  }, !t.disableUnderline && {
    "&::after": {
      borderBottom: `2px solid ${(n = (e10.vars || e10).palette[t.color || "primary"]) == null ? void 0 : n.main}`,
      left: 0,
      bottom: 0,
      // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
      content: '""',
      position: "absolute",
      right: 0,
      transform: "scaleX(0)",
      transition: e10.transitions.create("transform", {
        duration: e10.transitions.duration.shorter,
        easing: e10.transitions.easing.easeOut
      }),
      pointerEvents: "none"
      // Transparent to the hover style.
    },
    [`&.${bc.focused}:after`]: {
      // translateX(0) is a workaround for Safari transform scale bug
      // See https://github.com/mui/material-ui/issues/31766
      transform: "scaleX(1) translateX(0)"
    },
    [`&.${bc.error}`]: {
      "&::before, &::after": {
        borderBottomColor: (e10.vars || e10).palette.error.main
      }
    },
    "&::before": {
      borderBottom: `1px solid ${e10.vars ? `rgba(${e10.vars.palette.common.onBackgroundChannel} / ${e10.vars.opacity.inputUnderline})` : o}`,
      left: 0,
      bottom: 0,
      // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
      content: '"\\00a0"',
      position: "absolute",
      right: 0,
      transition: e10.transitions.create("border-bottom-color", {
        duration: e10.transitions.duration.shorter
      }),
      pointerEvents: "none"
      // Transparent to the hover style.
    },
    [`&:hover:not(.${bc.disabled}, .${bc.error}):before`]: {
      borderBottom: `1px solid ${(e10.vars || e10).palette.text.primary}`
    },
    [`&.${bc.disabled}:before`]: {
      borderBottomStyle: "dotted"
    }
  }, t.startAdornment && {
    paddingLeft: 12
  }, t.endAdornment && {
    paddingRight: 12
  }, t.multiline && Me({
    padding: "25px 12px 8px"
  }, t.size === "small" && {
    paddingTop: 21,
    paddingBottom: 4
  }, t.hiddenLabel && {
    paddingTop: 16,
    paddingBottom: 17
  }, t.hiddenLabel && t.size === "small" && {
    paddingTop: 8,
    paddingBottom: 9
  }));
}), dwe = xn(Qg, {
  name: "MuiFilledInput",
  slot: "Input",
  overridesResolver: Kg
})(({
  theme: e10,
  ownerState: t
}) => Me({
  paddingTop: 25,
  paddingRight: 12,
  paddingBottom: 8,
  paddingLeft: 12
}, !e10.vars && {
  "&:-webkit-autofill": {
    WebkitBoxShadow: e10.palette.mode === "light" ? null : "0 0 0 100px #266798 inset",
    WebkitTextFillColor: e10.palette.mode === "light" ? null : "#fff",
    caretColor: e10.palette.mode === "light" ? null : "#fff",
    borderTopLeftRadius: "inherit",
    borderTopRightRadius: "inherit"
  }
}, e10.vars && {
  "&:-webkit-autofill": {
    borderTopLeftRadius: "inherit",
    borderTopRightRadius: "inherit"
  },
  [e10.getColorSchemeSelector("dark")]: {
    "&:-webkit-autofill": {
      WebkitBoxShadow: "0 0 0 100px #266798 inset",
      WebkitTextFillColor: "#fff",
      caretColor: "#fff"
    }
  }
}, t.size === "small" && {
  paddingTop: 21,
  paddingBottom: 4
}, t.hiddenLabel && {
  paddingTop: 16,
  paddingBottom: 17
}, t.startAdornment && {
  paddingLeft: 0
}, t.endAdornment && {
  paddingRight: 0
}, t.hiddenLabel && t.size === "small" && {
  paddingTop: 8,
  paddingBottom: 9
}, t.multiline && {
  paddingTop: 0,
  paddingBottom: 0,
  paddingLeft: 0,
  paddingRight: 0
})), qg = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o, i, u;
  const p = so({
    props: t,
    name: "MuiFilledInput"
  }), {
    components: v = {},
    componentsProps: y,
    fullWidth: k = false,
    // declare here to prevent spreading to DOM
    inputComponent: T = "input",
    multiline: R = false,
    slotProps: I,
    slots: P = {},
    type: S = "text"
  } = p, U = Pn(p, lwe), B = Me({}, p, {
    fullWidth: k,
    inputComponent: T,
    multiline: R,
    type: S
  }), X = uwe(p), Z = {
    root: {
      ownerState: B
    },
    input: {
      ownerState: B
    }
  }, te = I ?? y ? vc(Z, I ?? y) : Z, Q = (r = (o = P.root) != null ? o : v.Root) != null ? r : cwe, q = (i = (u = P.input) != null ? u : v.Input) != null ? i : dwe;
  return /* @__PURE__ */ jsxRuntimeExports.jsx(jg, Me({
    slots: {
      root: Q,
      input: q
    },
    componentsProps: te,
    fullWidth: k,
    inputComponent: T,
    multiline: R,
    ref: n,
    type: S
  }, U, {
    classes: X
  }));
});
qg.muiName = "Input";
function fwe(e10) {
  return Qr("MuiFormControl", e10);
}
Dr("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
const hwe = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"], pwe = (e10) => {
  const {
    classes: t,
    margin: n,
    fullWidth: r
  } = e10, o = {
    root: ["root", n !== "none" && `margin${An(n)}`, r && "fullWidth"]
  };
  return ao(o, fwe, t);
}, bwe = xn("div", {
  name: "MuiFormControl",
  slot: "Root",
  overridesResolver: ({
    ownerState: e10
  }, t) => Me({}, t.root, t[`margin${An(e10.margin)}`], e10.fullWidth && t.fullWidth)
})(({
  ownerState: e10
}) => Me({
  display: "inline-flex",
  flexDirection: "column",
  position: "relative",
  // Reset fieldset default style.
  minWidth: 0,
  padding: 0,
  margin: 0,
  border: 0,
  verticalAlign: "top"
}, e10.margin === "normal" && {
  marginTop: 16,
  marginBottom: 8
}, e10.margin === "dense" && {
  marginTop: 8,
  marginBottom: 4
}, e10.fullWidth && {
  width: "100%"
})), l3 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiFormControl"
  }), {
    children: o,
    className: i,
    color: u = "primary",
    component: p = "div",
    disabled: v = false,
    error: y = false,
    focused: k,
    fullWidth: T = false,
    hiddenLabel: R = false,
    margin: I = "none",
    required: P = false,
    size: S = "medium",
    variant: U = "outlined"
  } = r, B = Pn(r, hwe), X = Me({}, r, {
    color: u,
    component: p,
    disabled: v,
    error: y,
    fullWidth: T,
    hiddenLabel: R,
    margin: I,
    required: P,
    size: S,
    variant: U
  }), Z = pwe(X), [te, Q] = reactExports.useState(() => {
    let Te = false;
    return o && reactExports.Children.forEach(o, (be) => {
      if (!Gm(be, ["Input", "Select"]))
        return;
      const ie = Gm(be, ["Select"]) ? be.props.input : be;
      ie && u5e(ie.props) && (Te = true);
    }), Te;
  }), [q, F] = reactExports.useState(() => {
    let Te = false;
    return o && reactExports.Children.forEach(o, (be) => {
      Gm(be, ["Input", "Select"]) && (ng(be.props, true) || ng(be.props.inputProps, true)) && (Te = true);
    }), Te;
  }), [ne, ae] = reactExports.useState(false);
  v && ne && ae(false);
  const pe = k !== void 0 && !v ? k : ne;
  let Ve;
  const we = reactExports.useMemo(() => ({
    adornedStart: te,
    setAdornedStart: Q,
    color: u,
    disabled: v,
    error: y,
    filled: q,
    focused: pe,
    fullWidth: T,
    hiddenLabel: R,
    size: S,
    onBlur: () => {
      ae(false);
    },
    onEmpty: () => {
      F(false);
    },
    onFilled: () => {
      F(true);
    },
    onFocus: () => {
      ae(true);
    },
    registerEffect: Ve,
    required: P,
    variant: U
  }), [te, u, v, y, q, pe, T, R, Ve, P, S, U]);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Lb.Provider, {
    value: we,
    children: /* @__PURE__ */ jsxRuntimeExports.jsx(bwe, Me({
      as: p,
      ownerState: X,
      className: On(Z.root, i),
      ref: n
    }, B, {
      children: o
    }))
  });
});
function gwe(e10) {
  return Qr("MuiFormHelperText", e10);
}
const B5 = Dr("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
var z5;
const mwe = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"], vwe = (e10) => {
  const {
    classes: t,
    contained: n,
    size: r,
    disabled: o,
    error: i,
    filled: u,
    focused: p,
    required: v
  } = e10, y = {
    root: ["root", o && "disabled", i && "error", r && `size${An(r)}`, n && "contained", p && "focused", u && "filled", v && "required"]
  };
  return ao(y, gwe, t);
}, ywe = xn("p", {
  name: "MuiFormHelperText",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, n.size && t[`size${An(n.size)}`], n.contained && t.contained, n.filled && t.filled];
  }
})(({
  theme: e10,
  ownerState: t
}) => Me({
  color: (e10.vars || e10).palette.text.secondary
}, e10.typography.caption, {
  textAlign: "left",
  marginTop: 3,
  marginRight: 0,
  marginBottom: 0,
  marginLeft: 0,
  [`&.${B5.disabled}`]: {
    color: (e10.vars || e10).palette.text.disabled
  },
  [`&.${B5.error}`]: {
    color: (e10.vars || e10).palette.error.main
  }
}, t.size === "small" && {
  marginTop: 4
}, t.contained && {
  marginLeft: 14,
  marginRight: 14
})), a6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiFormHelperText"
  }), {
    children: o,
    className: i,
    component: u = "p"
  } = r, p = Pn(r, mwe), v = rp(), y = d0({
    props: r,
    muiFormControl: v,
    states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
  }), k = Me({}, r, {
    component: u,
    contained: y.variant === "filled" || y.variant === "outlined",
    variant: y.variant,
    size: y.size,
    disabled: y.disabled,
    error: y.error,
    filled: y.filled,
    focused: y.focused,
    required: y.required
  }), T = vwe(k);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ywe, Me({
    as: u,
    ownerState: k,
    className: On(T.root, i),
    ref: n
  }, p, {
    children: o === " " ? (
      // notranslate needed while Google Translate will not fix zero-width space issue
      z5 || (z5 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
        className: "notranslate",
        children: "​"
      }))
    ) : o
  }));
});
function xwe(e10) {
  return Qr("MuiFormLabel", e10);
}
const q0 = Dr("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), _we = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"], wwe = (e10) => {
  const {
    classes: t,
    color: n,
    focused: r,
    disabled: o,
    error: i,
    filled: u,
    required: p
  } = e10, v = {
    root: ["root", `color${An(n)}`, o && "disabled", i && "error", u && "filled", r && "focused", p && "required"],
    asterisk: ["asterisk", i && "error"]
  };
  return ao(v, xwe, t);
}, Twe = xn("label", {
  name: "MuiFormLabel",
  slot: "Root",
  overridesResolver: ({
    ownerState: e10
  }, t) => Me({}, t.root, e10.color === "secondary" && t.colorSecondary, e10.filled && t.filled)
})(({
  theme: e10,
  ownerState: t
}) => Me({
  color: (e10.vars || e10).palette.text.secondary
}, e10.typography.body1, {
  lineHeight: "1.4375em",
  padding: 0,
  position: "relative",
  [`&.${q0.focused}`]: {
    color: (e10.vars || e10).palette[t.color].main
  },
  [`&.${q0.disabled}`]: {
    color: (e10.vars || e10).palette.text.disabled
  },
  [`&.${q0.error}`]: {
    color: (e10.vars || e10).palette.error.main
  }
})), kwe = xn("span", {
  name: "MuiFormLabel",
  slot: "Asterisk",
  overridesResolver: (e10, t) => t.asterisk
})(({
  theme: e10
}) => ({
  [`&.${q0.error}`]: {
    color: (e10.vars || e10).palette.error.main
  }
})), s6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiFormLabel"
  }), {
    children: o,
    className: i,
    component: u = "label"
  } = r, p = Pn(r, _we), v = rp(), y = d0({
    props: r,
    muiFormControl: v,
    states: ["color", "required", "focused", "disabled", "error", "filled"]
  }), k = Me({}, r, {
    color: y.color || "primary",
    component: u,
    disabled: y.disabled,
    error: y.error,
    filled: y.filled,
    focused: y.focused,
    required: y.required
  }), T = wwe(k);
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Twe, Me({
    as: u,
    ownerState: k,
    className: On(T.root, i),
    ref: n
  }, p, {
    children: [o, y.required && /* @__PURE__ */ jsxRuntimeExports.jsxs(kwe, {
      ownerState: k,
      "aria-hidden": true,
      className: T.asterisk,
      children: [" ", "*"]
    })]
  }));
});
const Ewe = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
function Zy(e10) {
  return `scale(${e10}, ${e10 ** 2})`;
}
const Cwe = {
  entering: {
    opacity: 1,
    transform: Zy(1)
  },
  entered: {
    opacity: 1,
    transform: "none"
  }
}, ov = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), zf = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const {
    addEndListener: r,
    appear: o = true,
    children: i,
    easing: u,
    in: p,
    onEnter: v,
    onEntered: y,
    onEntering: k,
    onExit: T,
    onExited: R,
    onExiting: I,
    style: P,
    timeout: S = "auto",
    // eslint-disable-next-line react/prop-types
    TransitionComponent: U = Ud
  } = t, B = Pn(t, Ewe), X = Zh(), Z = reactExports.useRef(), te = u0(), Q = reactExports.useRef(null), q = Ma(Q, s0(i), n), F = (ie) => (de) => {
    if (ie) {
      const ze = Q.current;
      de === void 0 ? ie(ze) : ie(ze, de);
    }
  }, ne = F(k), ae = F((ie, de) => {
    F4(ie);
    const {
      duration: ze,
      delay: nt,
      easing: ut
    } = Xp({
      style: P,
      timeout: S,
      easing: u
    }, {
      mode: "enter"
    });
    let Le;
    S === "auto" ? (Le = te.transitions.getAutoHeightDuration(ie.clientHeight), Z.current = Le) : Le = ze, ie.style.transition = [te.transitions.create("opacity", {
      duration: Le,
      delay: nt
    }), te.transitions.create("transform", {
      duration: ov ? Le : Le * 0.666,
      delay: nt,
      easing: ut
    })].join(","), v && v(ie, de);
  }), pe = F(y), Ve = F(I), we = F((ie) => {
    const {
      duration: de,
      delay: ze,
      easing: nt
    } = Xp({
      style: P,
      timeout: S,
      easing: u
    }, {
      mode: "exit"
    });
    let ut;
    S === "auto" ? (ut = te.transitions.getAutoHeightDuration(ie.clientHeight), Z.current = ut) : ut = de, ie.style.transition = [te.transitions.create("opacity", {
      duration: ut,
      delay: ze
    }), te.transitions.create("transform", {
      duration: ov ? ut : ut * 0.666,
      delay: ov ? ze : ze || ut * 0.333,
      easing: nt
    })].join(","), ie.style.opacity = 0, ie.style.transform = Zy(0.75), T && T(ie);
  }), Te = F(R);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(U, Me({
    appear: o,
    in: p,
    nodeRef: Q,
    onEnter: ae,
    onEntered: pe,
    onEntering: ne,
    onExit: we,
    onExited: Te,
    onExiting: Ve,
    addEndListener: (ie) => {
      S === "auto" && X.start(Z.current || 0, ie), r && r(Q.current, ie);
    },
    timeout: S === "auto" ? null : S
  }, B, {
    children: (ie, de) => /* @__PURE__ */ reactExports.cloneElement(i, Me({
      style: Me({
        opacity: 0,
        transform: Zy(0.75),
        visibility: ie === "exited" && !p ? "hidden" : void 0
      }, Cwe[ie], P, i.props.style),
      ref: q
    }, de))
  }));
});
zf.muiSupportAuto = true;
const Swe = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], Awe = (e10) => {
  const {
    classes: t,
    disableUnderline: n
  } = e10, o = ao({
    root: ["root", !n && "underline"],
    input: ["input"]
  }, p5e, t);
  return Me({}, t, o);
}, Pwe = xn(Jg, {
  shouldForwardProp: (e10) => Wd(e10) || e10 === "classes",
  name: "MuiInput",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [...Zg(e10, t), !n.disableUnderline && t.underline];
  }
})(({
  theme: e10,
  ownerState: t
}) => {
  let r = e10.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
  return e10.vars && (r = `rgba(${e10.vars.palette.common.onBackgroundChannel} / ${e10.vars.opacity.inputUnderline})`), Me({
    position: "relative"
  }, t.formControl && {
    "label + &": {
      marginTop: 16
    }
  }, !t.disableUnderline && {
    "&::after": {
      borderBottom: `2px solid ${(e10.vars || e10).palette[t.color].main}`,
      left: 0,
      bottom: 0,
      // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
      content: '""',
      position: "absolute",
      right: 0,
      transform: "scaleX(0)",
      transition: e10.transitions.create("transform", {
        duration: e10.transitions.duration.shorter,
        easing: e10.transitions.easing.easeOut
      }),
      pointerEvents: "none"
      // Transparent to the hover style.
    },
    [`&.${uh.focused}:after`]: {
      // translateX(0) is a workaround for Safari transform scale bug
      // See https://github.com/mui/material-ui/issues/31766
      transform: "scaleX(1) translateX(0)"
    },
    [`&.${uh.error}`]: {
      "&::before, &::after": {
        borderBottomColor: (e10.vars || e10).palette.error.main
      }
    },
    "&::before": {
      borderBottom: `1px solid ${r}`,
      left: 0,
      bottom: 0,
      // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
      content: '"\\00a0"',
      position: "absolute",
      right: 0,
      transition: e10.transitions.create("border-bottom-color", {
        duration: e10.transitions.duration.shorter
      }),
      pointerEvents: "none"
      // Transparent to the hover style.
    },
    [`&:hover:not(.${uh.disabled}, .${uh.error}):before`]: {
      borderBottom: `2px solid ${(e10.vars || e10).palette.text.primary}`,
      // Reset on touch devices, it doesn't add specificity
      "@media (hover: none)": {
        borderBottom: `1px solid ${r}`
      }
    },
    [`&.${uh.disabled}:before`]: {
      borderBottomStyle: "dotted"
    }
  });
}), Rwe = xn(Qg, {
  name: "MuiInput",
  slot: "Input",
  overridesResolver: Kg
})({}), em = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o, i, u;
  const p = so({
    props: t,
    name: "MuiInput"
  }), {
    disableUnderline: v,
    components: y = {},
    componentsProps: k,
    fullWidth: T = false,
    inputComponent: R = "input",
    multiline: I = false,
    slotProps: P,
    slots: S = {},
    type: U = "text"
  } = p, B = Pn(p, Swe), X = Awe(p), te = {
    root: {
      ownerState: {
        disableUnderline: v
      }
    }
  }, Q = P ?? k ? vc(P ?? k, te) : te, q = (r = (o = S.root) != null ? o : y.Root) != null ? r : Pwe, F = (i = (u = S.input) != null ? u : y.Input) != null ? i : Rwe;
  return /* @__PURE__ */ jsxRuntimeExports.jsx(jg, Me({
    slots: {
      root: q,
      input: F
    },
    slotProps: Q,
    fullWidth: T,
    inputComponent: R,
    multiline: I,
    ref: n,
    type: U
  }, B, {
    classes: X
  }));
});
em.muiName = "Input";
const W5 = Dr("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]);
const Owe = (e10, t) => {
  const {
    ownerState: n
  } = e10;
  return [t.root, t[`position${An(n.position)}`], n.disablePointerEvents === true && t.disablePointerEvents, t[n.variant]];
};
xn("div", {
  name: "MuiInputAdornment",
  slot: "Root",
  overridesResolver: Owe
})(({
  theme: e10,
  ownerState: t
}) => Me({
  display: "flex",
  height: "0.01em",
  // Fix IE11 flexbox alignment. To remove at some point.
  maxHeight: "2em",
  alignItems: "center",
  whiteSpace: "nowrap",
  color: (e10.vars || e10).palette.action.active
}, t.variant === "filled" && {
  // Styles applied to the root element if `variant="filled"`.
  [`&.${W5.positionStart}&:not(.${W5.hiddenLabel})`]: {
    marginTop: 16
  }
}, t.position === "start" && {
  // Styles applied to the root element if `position="start"`.
  marginRight: 8
}, t.position === "end" && {
  // Styles applied to the root element if `position="end"`.
  marginLeft: 8
}, t.disablePointerEvents === true && {
  // Styles applied to the root element if `disablePointerEvents={true}`.
  pointerEvents: "none"
}));
function Nwe(e10) {
  return Qr("MuiInputLabel", e10);
}
Dr("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
const Lwe = ["disableAnimation", "margin", "shrink", "variant", "className"], Bwe = (e10) => {
  const {
    classes: t,
    formControl: n,
    size: r,
    shrink: o,
    disableAnimation: i,
    variant: u,
    required: p
  } = e10, v = {
    root: ["root", n && "formControl", !i && "animated", o && "shrink", r && r !== "normal" && `size${An(r)}`, u],
    asterisk: [p && "asterisk"]
  }, y = ao(v, Nwe, t);
  return Me({}, t, y);
}, zwe = xn(s6, {
  shouldForwardProp: (e10) => Wd(e10) || e10 === "classes",
  name: "MuiInputLabel",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [{
      [`& .${q0.asterisk}`]: t.asterisk
    }, t.root, n.formControl && t.formControl, n.size === "small" && t.sizeSmall, n.shrink && t.shrink, !n.disableAnimation && t.animated, n.focused && t.focused, t[n.variant]];
  }
})(({
  theme: e10,
  ownerState: t
}) => Me({
  display: "block",
  transformOrigin: "top left",
  whiteSpace: "nowrap",
  overflow: "hidden",
  textOverflow: "ellipsis",
  maxWidth: "100%"
}, t.formControl && {
  position: "absolute",
  left: 0,
  top: 0,
  // slight alteration to spec spacing to match visual spec result
  transform: "translate(0, 20px) scale(1)"
}, t.size === "small" && {
  // Compensation for the `Input.inputSizeSmall` style.
  transform: "translate(0, 17px) scale(1)"
}, t.shrink && {
  transform: "translate(0, -1.5px) scale(0.75)",
  transformOrigin: "top left",
  maxWidth: "133%"
}, !t.disableAnimation && {
  transition: e10.transitions.create(["color", "transform", "max-width"], {
    duration: e10.transitions.duration.shorter,
    easing: e10.transitions.easing.easeOut
  })
}, t.variant === "filled" && Me({
  // Chrome's autofill feature gives the input field a yellow background.
  // Since the input field is behind the label in the HTML tree,
  // the input field is drawn last and hides the label with an opaque background color.
  // zIndex: 1 will raise the label above opaque background-colors of input.
  zIndex: 1,
  pointerEvents: "none",
  transform: "translate(12px, 16px) scale(1)",
  maxWidth: "calc(100% - 24px)"
}, t.size === "small" && {
  transform: "translate(12px, 13px) scale(1)"
}, t.shrink && Me({
  userSelect: "none",
  pointerEvents: "auto",
  transform: "translate(12px, 7px) scale(0.75)",
  maxWidth: "calc(133% - 24px)"
}, t.size === "small" && {
  transform: "translate(12px, 4px) scale(0.75)"
})), t.variant === "outlined" && Me({
  // see comment above on filled.zIndex
  zIndex: 1,
  pointerEvents: "none",
  transform: "translate(14px, 16px) scale(1)",
  maxWidth: "calc(100% - 24px)"
}, t.size === "small" && {
  transform: "translate(14px, 9px) scale(1)"
}, t.shrink && {
  userSelect: "none",
  pointerEvents: "auto",
  // Theoretically, we should have (8+5)*2/0.75 = 34px
  // but it feels a better when it bleeds a bit on the left, so 32px.
  maxWidth: "calc(133% - 32px)",
  transform: "translate(14px, -9px) scale(0.75)"
}))), l6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    name: "MuiInputLabel",
    props: t
  }), {
    disableAnimation: o = false,
    shrink: i,
    className: u
  } = r, p = Pn(r, Lwe), v = rp();
  let y = i;
  typeof y > "u" && v && (y = v.filled || v.focused || v.adornedStart);
  const k = d0({
    props: r,
    muiFormControl: v,
    states: ["size", "variant", "required", "focused"]
  }), T = Me({}, r, {
    disableAnimation: o,
    formControl: v,
    shrink: y,
    size: k.size,
    variant: k.variant,
    required: k.required,
    focused: k.focused
  }), R = Bwe(T);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(zwe, Me({
    "data-shrink": y,
    ownerState: T,
    ref: n,
    className: On(R.root, u)
  }, p, {
    classes: R
  }));
});
const og = /* @__PURE__ */ reactExports.createContext({});
function Wwe(e10) {
  return Qr("MuiList", e10);
}
Dr("MuiList", ["root", "padding", "dense", "subheader"]);
const Uwe = ["children", "className", "component", "dense", "disablePadding", "subheader"], Hwe = (e10) => {
  const {
    classes: t,
    disablePadding: n,
    dense: r,
    subheader: o
  } = e10;
  return ao({
    root: ["root", !n && "padding", r && "dense", o && "subheader"]
  }, Wwe, t);
}, $we = xn("ul", {
  name: "MuiList",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, !n.disablePadding && t.padding, n.dense && t.dense, n.subheader && t.subheader];
  }
})(({
  ownerState: e10
}) => Me({
  listStyle: "none",
  margin: 0,
  padding: 0,
  position: "relative"
}, !e10.disablePadding && {
  paddingTop: 8,
  paddingBottom: 8
}, e10.subheader && {
  paddingTop: 0
})), u6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiList"
  }), {
    children: o,
    className: i,
    component: u = "ul",
    dense: p = false,
    disablePadding: v = false,
    subheader: y
  } = r, k = Pn(r, Uwe), T = reactExports.useMemo(() => ({
    dense: p
  }), [p]), R = Me({}, r, {
    component: u,
    dense: p,
    disablePadding: v
  }), I = Hwe(R);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(og.Provider, {
    value: T,
    children: /* @__PURE__ */ jsxRuntimeExports.jsxs($we, Me({
      as: u,
      className: On(I.root, i),
      ref: n,
      ownerState: R
    }, k, {
      children: [y, o]
    }))
  });
});
const H5 = Dr("MuiListItemIcon", ["root", "alignItemsFlexStart"]), $5 = Dr("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]), Vwe = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
function iv(e10, t, n) {
  return e10 === t ? e10.firstChild : t && t.nextElementSibling ? t.nextElementSibling : n ? null : e10.firstChild;
}
function V5(e10, t, n) {
  return e10 === t ? n ? e10.firstChild : e10.lastChild : t && t.previousElementSibling ? t.previousElementSibling : n ? null : e10.lastChild;
}
function c6(e10, t) {
  if (t === void 0)
    return true;
  let n = e10.innerText;
  return n === void 0 && (n = e10.textContent), n = n.trim().toLowerCase(), n.length === 0 ? false : t.repeating ? n[0] === t.keys[0] : n.indexOf(t.keys.join("")) === 0;
}
function P0(e10, t, n, r, o, i) {
  let u = false, p = o(e10, t, t ? n : false);
  for (; p; ) {
    if (p === e10.firstChild) {
      if (u)
        return false;
      u = true;
    }
    const v = r ? false : p.disabled || p.getAttribute("aria-disabled") === "true";
    if (!p.hasAttribute("tabindex") || !c6(p, i) || v)
      p = o(e10, p, n);
    else
      return p.focus(), true;
  }
  return false;
}
const d6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const {
    // private
    // eslint-disable-next-line react/prop-types
    actions: r,
    autoFocus: o = false,
    autoFocusItem: i = false,
    children: u,
    className: p,
    disabledItemsFocusable: v = false,
    disableListWrap: y = false,
    onKeyDown: k,
    variant: T = "selectedMenu"
  } = t, R = Pn(t, Vwe), I = reactExports.useRef(null), P = reactExports.useRef({
    keys: [],
    repeating: true,
    previousKeyMatched: true,
    lastTime: null
  });
  Nd(() => {
    o && I.current.focus();
  }, [o]), reactExports.useImperativeHandle(r, () => ({
    adjustStyleForScrollbar: (Z, {
      direction: te
    }) => {
      const Q = !I.current.style.width;
      if (Z.clientHeight < I.current.clientHeight && Q) {
        const q = `${jE(zl(Z))}px`;
        I.current.style[te === "rtl" ? "paddingLeft" : "paddingRight"] = q, I.current.style.width = `calc(100% + ${q})`;
      }
      return I.current;
    }
  }), []);
  const S = (Z) => {
    const te = I.current, Q = Z.key, q = zl(te).activeElement;
    if (Q === "ArrowDown")
      Z.preventDefault(), P0(te, q, y, v, iv);
    else if (Q === "ArrowUp")
      Z.preventDefault(), P0(te, q, y, v, V5);
    else if (Q === "Home")
      Z.preventDefault(), P0(te, null, y, v, iv);
    else if (Q === "End")
      Z.preventDefault(), P0(te, null, y, v, V5);
    else if (Q.length === 1) {
      const F = P.current, ne = Q.toLowerCase(), ae = performance.now();
      F.keys.length > 0 && (ae - F.lastTime > 500 ? (F.keys = [], F.repeating = true, F.previousKeyMatched = true) : F.repeating && ne !== F.keys[0] && (F.repeating = false)), F.lastTime = ae, F.keys.push(ne);
      const pe = q && !F.repeating && c6(q, F);
      F.previousKeyMatched && (pe || P0(te, q, false, v, iv, F)) ? Z.preventDefault() : F.previousKeyMatched = false;
    }
    k && k(Z);
  }, U = Ma(I, n);
  let B = -1;
  reactExports.Children.forEach(u, (Z, te) => {
    if (!/* @__PURE__ */ reactExports.isValidElement(Z)) {
      B === te && (B += 1, B >= u.length && (B = -1));
      return;
    }
    Z.props.disabled || (T === "selectedMenu" && Z.props.selected || B === -1) && (B = te), B === te && (Z.props.disabled || Z.props.muiSkipListHighlight || Z.type.muiSkipListHighlight) && (B += 1, B >= u.length && (B = -1));
  });
  const X = reactExports.Children.map(u, (Z, te) => {
    if (te === B) {
      const Q = {};
      return i && (Q.autoFocus = true), Z.props.tabIndex === void 0 && T === "selectedMenu" && (Q.tabIndex = 0), /* @__PURE__ */ reactExports.cloneElement(Z, Q);
    }
    return Z;
  });
  return /* @__PURE__ */ jsxRuntimeExports.jsx(u6, Me({
    role: "menu",
    ref: U,
    className: p,
    onKeyDown: S,
    tabIndex: o ? 0 : -1
  }, R, {
    children: X
  }));
});
function Gwe(e10) {
  return Qr("MuiPopover", e10);
}
Dr("MuiPopover", ["root", "paper"]);
const Ywe = ["onEntering"], Xwe = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps", "disableScrollLock"], Zwe = ["slotProps"];
function G5(e10, t) {
  let n = 0;
  return typeof t == "number" ? n = t : t === "center" ? n = e10.height / 2 : t === "bottom" && (n = e10.height), n;
}
function Y5(e10, t) {
  let n = 0;
  return typeof t == "number" ? n = t : t === "center" ? n = e10.width / 2 : t === "right" && (n = e10.width), n;
}
function X5(e10) {
  return [e10.horizontal, e10.vertical].map((t) => typeof t == "number" ? `${t}px` : t).join(" ");
}
function A1(e10) {
  return typeof e10 == "function" ? e10() : e10;
}
const Kwe = (e10) => {
  const {
    classes: t
  } = e10;
  return ao({
    root: ["root"],
    paper: ["paper"]
  }, Gwe, t);
}, Jwe = xn(i6, {
  name: "MuiPopover",
  slot: "Root",
  overridesResolver: (e10, t) => t.root
})({}), f6 = xn(Db, {
  name: "MuiPopover",
  slot: "Paper",
  overridesResolver: (e10, t) => t.paper
})({
  position: "absolute",
  overflowY: "auto",
  overflowX: "hidden",
  // So we see the popover when it's empty.
  // It's most likely on issue on userland.
  minWidth: 16,
  minHeight: 16,
  maxWidth: "calc(100% - 32px)",
  maxHeight: "calc(100% - 32px)",
  // We disable the focus ring for mouse, touch and keyboard users.
  outline: 0
}), h6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o, i;
  const u = so({
    props: t,
    name: "MuiPopover"
  }), {
    action: p,
    anchorEl: v,
    anchorOrigin: y = {
      vertical: "top",
      horizontal: "left"
    },
    anchorPosition: k,
    anchorReference: T = "anchorEl",
    children: R,
    className: I,
    container: P,
    elevation: S = 8,
    marginThreshold: U = 16,
    open: B,
    PaperProps: X = {},
    slots: Z,
    slotProps: te,
    transformOrigin: Q = {
      vertical: "top",
      horizontal: "left"
    },
    TransitionComponent: q = zf,
    transitionDuration: F = "auto",
    TransitionProps: {
      onEntering: ne
    } = {},
    disableScrollLock: ae = false
  } = u, pe = Pn(u.TransitionProps, Ywe), Ve = Pn(u, Xwe), we = (r = te == null ? void 0 : te.paper) != null ? r : X, Te = reactExports.useRef(), be = Ma(Te, we.ref), ie = Me({}, u, {
    anchorOrigin: y,
    anchorReference: T,
    elevation: S,
    marginThreshold: U,
    externalPaperSlotProps: we,
    transformOrigin: Q,
    TransitionComponent: q,
    transitionDuration: F,
    TransitionProps: pe
  }), de = Kwe(ie), ze = reactExports.useCallback(() => {
    if (T === "anchorPosition")
      return k;
    const yt = A1(v), Ot = yt && yt.nodeType === 1 ? yt : zl(Te.current).body, qe = Ot.getBoundingClientRect();
    return {
      top: qe.top + G5(qe, y.vertical),
      left: qe.left + Y5(qe, y.horizontal)
    };
  }, [v, y.horizontal, y.vertical, k, T]), nt = reactExports.useCallback((yt) => ({
    vertical: G5(yt, Q.vertical),
    horizontal: Y5(yt, Q.horizontal)
  }), [Q.horizontal, Q.vertical]), ut = reactExports.useCallback((yt) => {
    const Ot = {
      width: yt.offsetWidth,
      height: yt.offsetHeight
    }, qe = nt(Ot);
    if (T === "none")
      return {
        top: null,
        left: null,
        transformOrigin: X5(qe)
      };
    const wt = ze();
    let en = wt.top - qe.vertical, Vt = wt.left - qe.horizontal;
    const wn = en + Ot.height, dn = Vt + Ot.width, zt = Gf(A1(v)), jt = zt.innerHeight - U, _t = zt.innerWidth - U;
    if (U !== null && en < U) {
      const Pt = en - U;
      en -= Pt, qe.vertical += Pt;
    } else if (U !== null && wn > jt) {
      const Pt = wn - jt;
      en -= Pt, qe.vertical += Pt;
    }
    if (U !== null && Vt < U) {
      const Pt = Vt - U;
      Vt -= Pt, qe.horizontal += Pt;
    } else if (dn > _t) {
      const Pt = dn - _t;
      Vt -= Pt, qe.horizontal += Pt;
    }
    return {
      top: `${Math.round(en)}px`,
      left: `${Math.round(Vt)}px`,
      transformOrigin: X5(qe)
    };
  }, [v, T, ze, nt, U]), [Le, oe] = reactExports.useState(B), Ue = reactExports.useCallback(() => {
    const yt = Te.current;
    if (!yt)
      return;
    const Ot = ut(yt);
    Ot.top !== null && (yt.style.top = Ot.top), Ot.left !== null && (yt.style.left = Ot.left), yt.style.transformOrigin = Ot.transformOrigin, oe(true);
  }, [ut]);
  reactExports.useEffect(() => (ae && window.addEventListener("scroll", Ue), () => window.removeEventListener("scroll", Ue)), [v, ae, Ue]);
  const We = (yt, Ot) => {
    ne && ne(yt, Ot), Ue();
  }, Ge = () => {
    oe(false);
  };
  reactExports.useEffect(() => {
    B && Ue();
  }), reactExports.useImperativeHandle(p, () => B ? {
    updatePosition: () => {
      Ue();
    }
  } : null, [B, Ue]), reactExports.useEffect(() => {
    if (!B)
      return;
    const yt = Ng(() => {
      Ue();
    }), Ot = Gf(v);
    return Ot.addEventListener("resize", yt), () => {
      yt.clear(), Ot.removeEventListener("resize", yt);
    };
  }, [v, B, Ue]);
  let Ze = F;
  F === "auto" && !q.muiSupportAuto && (Ze = void 0);
  const _e = P || (v ? zl(A1(v)).body : void 0), st = (o = Z == null ? void 0 : Z.root) != null ? o : Jwe, Ke = (i = Z == null ? void 0 : Z.paper) != null ? i : f6, ht = Ld({
    elementType: Ke,
    externalSlotProps: Me({}, we, {
      style: Le ? we.style : Me({}, we.style, {
        opacity: 0
      })
    }),
    additionalProps: {
      elevation: S,
      ref: be
    },
    ownerState: ie,
    className: On(de.paper, we == null ? void 0 : we.className)
  }), gt = Ld({
    elementType: st,
    externalSlotProps: (te == null ? void 0 : te.root) || {},
    externalForwardedProps: Ve,
    additionalProps: {
      ref: n,
      slotProps: {
        backdrop: {
          invisible: true
        }
      },
      container: _e,
      open: B
    },
    ownerState: ie,
    className: On(de.root, I)
  }), {
    slotProps: xt
  } = gt, ct = Pn(gt, Zwe);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(st, Me({}, ct, !G1(st) && {
    slotProps: xt,
    disableScrollLock: ae
  }, {
    children: /* @__PURE__ */ jsxRuntimeExports.jsx(q, Me({
      appear: true,
      in: B,
      onEntering: We,
      onExited: Ge,
      timeout: Ze
    }, pe, {
      children: /* @__PURE__ */ jsxRuntimeExports.jsx(Ke, Me({}, ht, {
        children: R
      }))
    }))
  }));
});
function Qwe(e10) {
  return Qr("MuiMenu", e10);
}
Dr("MuiMenu", ["root", "paper", "list"]);
const jwe = ["onEntering"], qwe = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"], eTe = {
  vertical: "top",
  horizontal: "right"
}, tTe = {
  vertical: "top",
  horizontal: "left"
}, nTe = (e10) => {
  const {
    classes: t
  } = e10;
  return ao({
    root: ["root"],
    paper: ["paper"],
    list: ["list"]
  }, Qwe, t);
}, rTe = xn(h6, {
  shouldForwardProp: (e10) => Wd(e10) || e10 === "classes",
  name: "MuiMenu",
  slot: "Root",
  overridesResolver: (e10, t) => t.root
})({}), oTe = xn(f6, {
  name: "MuiMenu",
  slot: "Paper",
  overridesResolver: (e10, t) => t.paper
})({
  // specZ: The maximum height of a simple menu should be one or more rows less than the view
  // height. This ensures a tappable area outside of the simple menu with which to dismiss
  // the menu.
  maxHeight: "calc(100% - 96px)",
  // Add iOS momentum scrolling for iOS < 13.0
  WebkitOverflowScrolling: "touch"
}), iTe = xn(d6, {
  name: "MuiMenu",
  slot: "List",
  overridesResolver: (e10, t) => t.list
})({
  // We disable the focus ring for mouse, touch and keyboard users.
  outline: 0
}), p6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o;
  const i = so({
    props: t,
    name: "MuiMenu"
  }), {
    autoFocus: u = true,
    children: p,
    className: v,
    disableAutoFocusItem: y = false,
    MenuListProps: k = {},
    onClose: T,
    open: R,
    PaperProps: I = {},
    PopoverClasses: P,
    transitionDuration: S = "auto",
    TransitionProps: {
      onEntering: U
    } = {},
    variant: B = "selectedMenu",
    slots: X = {},
    slotProps: Z = {}
  } = i, te = Pn(i.TransitionProps, jwe), Q = Pn(i, qwe), q = zg(), F = Me({}, i, {
    autoFocus: u,
    disableAutoFocusItem: y,
    MenuListProps: k,
    onEntering: U,
    PaperProps: I,
    transitionDuration: S,
    TransitionProps: te,
    variant: B
  }), ne = nTe(F), ae = u && !y && R, pe = reactExports.useRef(null), Ve = (nt, ut) => {
    pe.current && pe.current.adjustStyleForScrollbar(nt, {
      direction: q ? "rtl" : "ltr"
    }), U && U(nt, ut);
  }, we = (nt) => {
    nt.key === "Tab" && (nt.preventDefault(), T && T(nt, "tabKeyDown"));
  };
  let Te = -1;
  reactExports.Children.map(p, (nt, ut) => {
    /* @__PURE__ */ reactExports.isValidElement(nt) && (nt.props.disabled || (B === "selectedMenu" && nt.props.selected || Te === -1) && (Te = ut));
  });
  const be = (r = X.paper) != null ? r : oTe, ie = (o = Z.paper) != null ? o : I, de = Ld({
    elementType: X.root,
    externalSlotProps: Z.root,
    ownerState: F,
    className: [ne.root, v]
  }), ze = Ld({
    elementType: be,
    externalSlotProps: ie,
    ownerState: F,
    className: ne.paper
  });
  return /* @__PURE__ */ jsxRuntimeExports.jsx(rTe, Me({
    onClose: T,
    anchorOrigin: {
      vertical: "bottom",
      horizontal: q ? "right" : "left"
    },
    transformOrigin: q ? eTe : tTe,
    slots: {
      paper: be,
      root: X.root
    },
    slotProps: {
      root: de,
      paper: ze
    },
    open: R,
    ref: n,
    transitionDuration: S,
    TransitionProps: Me({
      onEntering: Ve
    }, te),
    ownerState: F
  }, Q, {
    classes: P,
    children: /* @__PURE__ */ jsxRuntimeExports.jsx(iTe, Me({
      onKeyDown: we,
      actions: pe,
      autoFocus: u && (Te === -1 || y),
      autoFocusItem: ae,
      variant: B
    }, k, {
      className: On(ne.list, k.className),
      children: p
    }))
  }));
});
function aTe(e10) {
  return Qr("MuiMenuItem", e10);
}
const R0 = Dr("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), sTe = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], lTe = (e10, t) => {
  const {
    ownerState: n
  } = e10;
  return [t.root, n.dense && t.dense, n.divider && t.divider, !n.disableGutters && t.gutters];
}, uTe = (e10) => {
  const {
    disabled: t,
    dense: n,
    divider: r,
    disableGutters: o,
    selected: i,
    classes: u
  } = e10, v = ao({
    root: ["root", n && "dense", t && "disabled", !o && "gutters", r && "divider", i && "selected"]
  }, aTe, u);
  return Me({}, u, v);
}, cTe = xn(xh, {
  shouldForwardProp: (e10) => Wd(e10) || e10 === "classes",
  name: "MuiMenuItem",
  slot: "Root",
  overridesResolver: lTe
})(({
  theme: e10,
  ownerState: t
}) => Me({}, e10.typography.body1, {
  display: "flex",
  justifyContent: "flex-start",
  alignItems: "center",
  position: "relative",
  textDecoration: "none",
  minHeight: 48,
  paddingTop: 6,
  paddingBottom: 6,
  boxSizing: "border-box",
  whiteSpace: "nowrap"
}, !t.disableGutters && {
  paddingLeft: 16,
  paddingRight: 16
}, t.divider && {
  borderBottom: `1px solid ${(e10.vars || e10).palette.divider}`,
  backgroundClip: "padding-box"
}, {
  "&:hover": {
    textDecoration: "none",
    backgroundColor: (e10.vars || e10).palette.action.hover,
    // Reset on touch devices, it doesn't add specificity
    "@media (hover: none)": {
      backgroundColor: "transparent"
    }
  },
  [`&.${R0.selected}`]: {
    backgroundColor: e10.vars ? `rgba(${e10.vars.palette.primary.mainChannel} / ${e10.vars.palette.action.selectedOpacity})` : Ti.alpha(e10.palette.primary.main, e10.palette.action.selectedOpacity),
    [`&.${R0.focusVisible}`]: {
      backgroundColor: e10.vars ? `rgba(${e10.vars.palette.primary.mainChannel} / calc(${e10.vars.palette.action.selectedOpacity} + ${e10.vars.palette.action.focusOpacity}))` : Ti.alpha(e10.palette.primary.main, e10.palette.action.selectedOpacity + e10.palette.action.focusOpacity)
    }
  },
  [`&.${R0.selected}:hover`]: {
    backgroundColor: e10.vars ? `rgba(${e10.vars.palette.primary.mainChannel} / calc(${e10.vars.palette.action.selectedOpacity} + ${e10.vars.palette.action.hoverOpacity}))` : Ti.alpha(e10.palette.primary.main, e10.palette.action.selectedOpacity + e10.palette.action.hoverOpacity),
    // Reset on touch devices, it doesn't add specificity
    "@media (hover: none)": {
      backgroundColor: e10.vars ? `rgba(${e10.vars.palette.primary.mainChannel} / ${e10.vars.palette.action.selectedOpacity})` : Ti.alpha(e10.palette.primary.main, e10.palette.action.selectedOpacity)
    }
  },
  [`&.${R0.focusVisible}`]: {
    backgroundColor: (e10.vars || e10).palette.action.focus
  },
  [`&.${R0.disabled}`]: {
    opacity: (e10.vars || e10).palette.action.disabledOpacity
  },
  [`& + .${L5.root}`]: {
    marginTop: e10.spacing(1),
    marginBottom: e10.spacing(1)
  },
  [`& + .${L5.inset}`]: {
    marginLeft: 52
  },
  [`& .${$5.root}`]: {
    marginTop: 0,
    marginBottom: 0
  },
  [`& .${$5.inset}`]: {
    paddingLeft: 36
  },
  [`& .${H5.root}`]: {
    minWidth: 36
  }
}, !t.dense && {
  [e10.breakpoints.up("sm")]: {
    minHeight: "auto"
  }
}, t.dense && Me({
  minHeight: 32,
  // https://m2.material.io/components/menus#specs > Dense
  paddingTop: 4,
  paddingBottom: 4
}, e10.typography.body2, {
  [`& .${H5.root} svg`]: {
    fontSize: "1.25rem"
  }
}))), u3 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiMenuItem"
  }), {
    autoFocus: o = false,
    component: i = "li",
    dense: u = false,
    divider: p = false,
    disableGutters: v = false,
    focusVisibleClassName: y,
    role: k = "menuitem",
    tabIndex: T,
    className: R
  } = r, I = Pn(r, sTe), P = reactExports.useContext(og), S = reactExports.useMemo(() => ({
    dense: u || P.dense || false,
    disableGutters: v
  }), [P.dense, u, v]), U = reactExports.useRef(null);
  Nd(() => {
    o && (U.current ? U.current.focus() : "production");
  }, [o]);
  const B = Me({}, r, {
    dense: S.dense,
    divider: p,
    disableGutters: v
  }), X = uTe(r), Z = Ma(U, n);
  let te;
  return r.disabled || (te = T !== void 0 ? T : -1), /* @__PURE__ */ jsxRuntimeExports.jsx(og.Provider, {
    value: S,
    children: /* @__PURE__ */ jsxRuntimeExports.jsx(cTe, Me({
      ref: Z,
      role: k,
      tabIndex: te,
      component: i,
      focusVisibleClassName: On(X.focusVisible, y),
      className: On(X.root, R)
    }, I, {
      ownerState: B,
      classes: X
    }))
  });
});
function dTe(e10) {
  return Qr("MuiNativeSelect", e10);
}
const c3 = Dr("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), fTe = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"], hTe = (e10) => {
  const {
    classes: t,
    variant: n,
    disabled: r,
    multiple: o,
    open: i,
    error: u
  } = e10, p = {
    select: ["select", n, r && "disabled", o && "multiple", u && "error"],
    icon: ["icon", `icon${An(n)}`, i && "iconOpen", r && "disabled"]
  };
  return ao(p, dTe, t);
}, b6 = ({
  ownerState: e10,
  theme: t
}) => Me({
  MozAppearance: "none",
  // Reset
  WebkitAppearance: "none",
  // Reset
  // When interacting quickly, the text can end up selected.
  // Native select can't be selected either.
  userSelect: "none",
  borderRadius: 0,
  // Reset
  cursor: "pointer",
  "&:focus": Me({}, t.vars ? {
    backgroundColor: `rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`
  } : {
    backgroundColor: t.palette.mode === "light" ? "rgba(0, 0, 0, 0.05)" : "rgba(255, 255, 255, 0.05)"
  }, {
    borderRadius: 0
    // Reset Chrome style
  }),
  // Remove IE11 arrow
  "&::-ms-expand": {
    display: "none"
  },
  [`&.${c3.disabled}`]: {
    cursor: "default"
  },
  "&[multiple]": {
    height: "auto"
  },
  "&:not([multiple]) option, &:not([multiple]) optgroup": {
    backgroundColor: (t.vars || t).palette.background.paper
  },
  // Bump specificity to allow extending custom inputs
  "&&&": {
    paddingRight: 24,
    minWidth: 16
    // So it doesn't collapse.
  }
}, e10.variant === "filled" && {
  "&&&": {
    paddingRight: 32
  }
}, e10.variant === "outlined" && {
  borderRadius: (t.vars || t).shape.borderRadius,
  "&:focus": {
    borderRadius: (t.vars || t).shape.borderRadius
    // Reset the reset for Chrome style
  },
  "&&&": {
    paddingRight: 32
  }
}), pTe = xn("select", {
  name: "MuiNativeSelect",
  slot: "Select",
  shouldForwardProp: Wd,
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.select, t[n.variant], n.error && t.error, {
      [`&.${c3.multiple}`]: t.multiple
    }];
  }
})(b6), g6 = ({
  ownerState: e10,
  theme: t
}) => Me({
  // We use a position absolute over a flexbox in order to forward the pointer events
  // to the input and to support wrapping tags..
  position: "absolute",
  right: 0,
  top: "calc(50% - .5em)",
  // Center vertically, height is 1em
  pointerEvents: "none",
  // Don't block pointer events on the select under the icon.
  color: (t.vars || t).palette.action.active,
  [`&.${c3.disabled}`]: {
    color: (t.vars || t).palette.action.disabled
  }
}, e10.open && {
  transform: "rotate(180deg)"
}, e10.variant === "filled" && {
  right: 7
}, e10.variant === "outlined" && {
  right: 7
}), bTe = xn("svg", {
  name: "MuiNativeSelect",
  slot: "Icon",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.icon, n.variant && t[`icon${An(n.variant)}`], n.open && t.iconOpen];
  }
})(g6), m6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const {
    className: r,
    disabled: o,
    error: i,
    IconComponent: u,
    inputRef: p,
    variant: v = "standard"
  } = t, y = Pn(t, fTe), k = Me({}, t, {
    disabled: o,
    variant: v,
    error: i
  }), T = hTe(k);
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
    children: [/* @__PURE__ */ jsxRuntimeExports.jsx(pTe, Me({
      ownerState: k,
      className: On(T.select, r),
      disabled: o,
      ref: p || n
    }, y)), t.multiple ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(bTe, {
      as: u,
      ownerState: k,
      className: T.icon
    })]
  });
});
var Z5;
const gTe = ["children", "classes", "className", "label", "notched"], mTe = xn("fieldset", {
  shouldForwardProp: Wd
})({
  textAlign: "left",
  position: "absolute",
  bottom: 0,
  right: 0,
  top: -5,
  left: 0,
  margin: 0,
  padding: "0 8px",
  pointerEvents: "none",
  borderRadius: "inherit",
  borderStyle: "solid",
  borderWidth: 1,
  overflow: "hidden",
  minWidth: "0%"
}), vTe = xn("legend", {
  shouldForwardProp: Wd
})(({
  ownerState: e10,
  theme: t
}) => Me({
  float: "unset",
  // Fix conflict with bootstrap
  width: "auto",
  // Fix conflict with bootstrap
  overflow: "hidden"
}, !e10.withLabel && {
  padding: 0,
  lineHeight: "11px",
  // sync with `height` in `legend` styles
  transition: t.transitions.create("width", {
    duration: 150,
    easing: t.transitions.easing.easeOut
  })
}, e10.withLabel && Me({
  display: "block",
  // Fix conflict with normalize.css and sanitize.css
  padding: 0,
  height: 11,
  // sync with `lineHeight` in `legend` styles
  fontSize: "0.75em",
  visibility: "hidden",
  maxWidth: 0.01,
  transition: t.transitions.create("max-width", {
    duration: 50,
    easing: t.transitions.easing.easeOut
  }),
  whiteSpace: "nowrap",
  "& > span": {
    paddingLeft: 5,
    paddingRight: 5,
    display: "inline-block",
    opacity: 0,
    visibility: "visible"
  }
}, e10.notched && {
  maxWidth: "100%",
  transition: t.transitions.create("max-width", {
    duration: 100,
    easing: t.transitions.easing.easeOut,
    delay: 50
  })
})));
function v6(e10) {
  const {
    className: t,
    label: n,
    notched: r
  } = e10, o = Pn(e10, gTe), i = n != null && n !== "", u = Me({}, e10, {
    notched: r,
    withLabel: i
  });
  return /* @__PURE__ */ jsxRuntimeExports.jsx(mTe, Me({
    "aria-hidden": true,
    className: t,
    ownerState: u
  }, o, {
    children: /* @__PURE__ */ jsxRuntimeExports.jsx(vTe, {
      ownerState: u,
      children: i ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
        children: n
      }) : (
        // notranslate needed while Google Translate will not fix zero-width space issue
        Z5 || (Z5 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
          className: "notranslate",
          children: "​"
        }))
      )
    })
  }));
}
const yTe = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"], xTe = (e10) => {
  const {
    classes: t
  } = e10, r = ao({
    root: ["root"],
    notchedOutline: ["notchedOutline"],
    input: ["input"]
  }, b5e, t);
  return Me({}, t, r);
}, _Te = xn(Jg, {
  shouldForwardProp: (e10) => Wd(e10) || e10 === "classes",
  name: "MuiOutlinedInput",
  slot: "Root",
  overridesResolver: Zg
})(({
  theme: e10,
  ownerState: t
}) => {
  const n = e10.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
  return Me({
    position: "relative",
    borderRadius: (e10.vars || e10).shape.borderRadius,
    [`&:hover .${rf.notchedOutline}`]: {
      borderColor: (e10.vars || e10).palette.text.primary
    },
    // Reset on touch devices, it doesn't add specificity
    "@media (hover: none)": {
      [`&:hover .${rf.notchedOutline}`]: {
        borderColor: e10.vars ? `rgba(${e10.vars.palette.common.onBackgroundChannel} / 0.23)` : n
      }
    },
    [`&.${rf.focused} .${rf.notchedOutline}`]: {
      borderColor: (e10.vars || e10).palette[t.color].main,
      borderWidth: 2
    },
    [`&.${rf.error} .${rf.notchedOutline}`]: {
      borderColor: (e10.vars || e10).palette.error.main
    },
    [`&.${rf.disabled} .${rf.notchedOutline}`]: {
      borderColor: (e10.vars || e10).palette.action.disabled
    }
  }, t.startAdornment && {
    paddingLeft: 14
  }, t.endAdornment && {
    paddingRight: 14
  }, t.multiline && Me({
    padding: "16.5px 14px"
  }, t.size === "small" && {
    padding: "8.5px 14px"
  }));
}), wTe = xn(v6, {
  name: "MuiOutlinedInput",
  slot: "NotchedOutline",
  overridesResolver: (e10, t) => t.notchedOutline
})(({
  theme: e10
}) => {
  const t = e10.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
  return {
    borderColor: e10.vars ? `rgba(${e10.vars.palette.common.onBackgroundChannel} / 0.23)` : t
  };
}), TTe = xn(Qg, {
  name: "MuiOutlinedInput",
  slot: "Input",
  overridesResolver: Kg
})(({
  theme: e10,
  ownerState: t
}) => Me({
  padding: "16.5px 14px"
}, !e10.vars && {
  "&:-webkit-autofill": {
    WebkitBoxShadow: e10.palette.mode === "light" ? null : "0 0 0 100px #266798 inset",
    WebkitTextFillColor: e10.palette.mode === "light" ? null : "#fff",
    caretColor: e10.palette.mode === "light" ? null : "#fff",
    borderRadius: "inherit"
  }
}, e10.vars && {
  "&:-webkit-autofill": {
    borderRadius: "inherit"
  },
  [e10.getColorSchemeSelector("dark")]: {
    "&:-webkit-autofill": {
      WebkitBoxShadow: "0 0 0 100px #266798 inset",
      WebkitTextFillColor: "#fff",
      caretColor: "#fff"
    }
  }
}, t.size === "small" && {
  padding: "8.5px 14px"
}, t.multiline && {
  padding: 0
}, t.startAdornment && {
  paddingLeft: 0
}, t.endAdornment && {
  paddingRight: 0
})), tm = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o, i, u, p;
  const v = so({
    props: t,
    name: "MuiOutlinedInput"
  }), {
    components: y = {},
    fullWidth: k = false,
    inputComponent: T = "input",
    label: R,
    multiline: I = false,
    notched: P,
    slots: S = {},
    type: U = "text"
  } = v, B = Pn(v, yTe), X = xTe(v), Z = rp(), te = d0({
    props: v,
    muiFormControl: Z,
    states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
  }), Q = Me({}, v, {
    color: te.color || "primary",
    disabled: te.disabled,
    error: te.error,
    focused: te.focused,
    formControl: Z,
    fullWidth: k,
    hiddenLabel: te.hiddenLabel,
    multiline: I,
    size: te.size,
    type: U
  }), q = (r = (o = S.root) != null ? o : y.Root) != null ? r : _Te, F = (i = (u = S.input) != null ? u : y.Input) != null ? i : TTe;
  return /* @__PURE__ */ jsxRuntimeExports.jsx(jg, Me({
    slots: {
      root: q,
      input: F
    },
    renderSuffix: (ne) => /* @__PURE__ */ jsxRuntimeExports.jsx(wTe, {
      ownerState: Q,
      className: X.notchedOutline,
      label: R != null && R !== "" && te.required ? p || (p = /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
        children: [R, " ", "*"]
      })) : R,
      notched: typeof P < "u" ? P : !!(ne.startAdornment || ne.filled || ne.focused)
    }),
    fullWidth: k,
    inputComponent: T,
    multiline: I,
    ref: n,
    type: U
  }, B, {
    classes: Me({}, X, {
      notchedOutline: null
    })
  }));
});
tm.muiName = "Input";
function kTe(e10) {
  return Qr("MuiSelect", e10);
}
const I0 = Dr("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
var K5;
const ETe = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"], CTe = xn("div", {
  name: "MuiSelect",
  slot: "Select",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [
      // Win specificity over the input base
      {
        [`&.${I0.select}`]: t.select
      },
      {
        [`&.${I0.select}`]: t[n.variant]
      },
      {
        [`&.${I0.error}`]: t.error
      },
      {
        [`&.${I0.multiple}`]: t.multiple
      }
    ];
  }
})(b6, {
  // Win specificity over the input base
  [`&.${I0.select}`]: {
    height: "auto",
    // Resets for multiple select with chips
    minHeight: "1.4375em",
    // Required for select\text-field height consistency
    textOverflow: "ellipsis",
    whiteSpace: "nowrap",
    overflow: "hidden"
  }
}), STe = xn("svg", {
  name: "MuiSelect",
  slot: "Icon",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.icon, n.variant && t[`icon${An(n.variant)}`], n.open && t.iconOpen];
  }
})(g6), ATe = xn("input", {
  shouldForwardProp: (e10) => M4(e10) && e10 !== "classes",
  name: "MuiSelect",
  slot: "NativeInput",
  overridesResolver: (e10, t) => t.nativeInput
})({
  bottom: 0,
  left: 0,
  position: "absolute",
  opacity: 0,
  pointerEvents: "none",
  width: "100%",
  boxSizing: "border-box"
});
function J5(e10, t) {
  return typeof t == "object" && t !== null ? e10 === t : String(e10) === String(t);
}
function PTe(e10) {
  return e10 == null || typeof e10 == "string" && !e10.trim();
}
const RTe = (e10) => {
  const {
    classes: t,
    variant: n,
    disabled: r,
    multiple: o,
    open: i,
    error: u
  } = e10, p = {
    select: ["select", n, r && "disabled", o && "multiple", u && "error"],
    icon: ["icon", `icon${An(n)}`, i && "iconOpen", r && "disabled"],
    nativeInput: ["nativeInput"]
  };
  return ao(p, kTe, t);
}, y6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r;
  const {
    "aria-describedby": o,
    "aria-label": i,
    autoFocus: u,
    autoWidth: p,
    children: v,
    className: y,
    defaultOpen: k,
    defaultValue: T,
    disabled: R,
    displayEmpty: I,
    error: P = false,
    IconComponent: S,
    inputRef: U,
    labelId: B,
    MenuProps: X = {},
    multiple: Z,
    name: te,
    onBlur: Q,
    onChange: q,
    onClose: F,
    onFocus: ne,
    onOpen: ae,
    open: pe,
    readOnly: Ve,
    renderValue: we,
    SelectDisplayProps: Te = {},
    tabIndex: be,
    value: ie,
    variant: de = "standard"
  } = t, ze = Pn(t, ETe), [nt, ut] = Qh({
    controlled: ie,
    default: T,
    name: "Select"
  }), [Le, oe] = Qh({
    controlled: pe,
    default: k,
    name: "Select"
  }), Ue = reactExports.useRef(null), We = reactExports.useRef(null), [Ge, Ze] = reactExports.useState(null), {
    current: _e
  } = reactExports.useRef(pe != null), [st, Ke] = reactExports.useState(), ht = Ma(n, U), gt = reactExports.useCallback((sn) => {
    We.current = sn, sn && Ze(sn);
  }, []), xt = Ge == null ? void 0 : Ge.parentNode;
  reactExports.useImperativeHandle(ht, () => ({
    focus: () => {
      We.current.focus();
    },
    node: Ue.current,
    value: nt
  }), [nt]), reactExports.useEffect(() => {
    k && Le && Ge && !_e && (Ke(p ? null : xt.clientWidth), We.current.focus());
  }, [Ge, p]), reactExports.useEffect(() => {
    u && We.current.focus();
  }, [u]), reactExports.useEffect(() => {
    if (!B)
      return;
    const sn = zl(We.current).getElementById(B);
    if (sn) {
      const Rt = () => {
        getSelection().isCollapsed && We.current.focus();
      };
      return sn.addEventListener("click", Rt), () => {
        sn.removeEventListener("click", Rt);
      };
    }
  }, [B]);
  const ct = (sn, Rt) => {
    sn ? ae && ae(Rt) : F && F(Rt), _e || (Ke(p ? null : xt.clientWidth), oe(sn));
  }, yt = (sn) => {
    sn.button === 0 && (sn.preventDefault(), We.current.focus(), ct(true, sn));
  }, Ot = (sn) => {
    ct(false, sn);
  }, qe = reactExports.Children.toArray(v), wt = (sn) => {
    const Rt = qe.find(($t) => $t.props.value === sn.target.value);
    Rt !== void 0 && (ut(Rt.props.value), q && q(sn, Rt));
  }, en = (sn) => (Rt) => {
    let $t;
    if (Rt.currentTarget.hasAttribute("tabindex")) {
      if (Z) {
        $t = Array.isArray(nt) ? nt.slice() : [];
        const En = nt.indexOf(sn.props.value);
        En === -1 ? $t.push(sn.props.value) : $t.splice(En, 1);
      } else
        $t = sn.props.value;
      if (sn.props.onClick && sn.props.onClick(Rt), nt !== $t && (ut($t), q)) {
        const En = Rt.nativeEvent || Rt, In = new En.constructor(En.type, En);
        Object.defineProperty(In, "target", {
          writable: true,
          value: {
            value: $t,
            name: te
          }
        }), q(In, sn);
      }
      Z || ct(false, Rt);
    }
  }, Vt = (sn) => {
    Ve || [
      " ",
      "ArrowUp",
      "ArrowDown",
      // The native select doesn't respond to enter on macOS, but it's recommended by
      // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
      "Enter"
    ].indexOf(sn.key) !== -1 && (sn.preventDefault(), ct(true, sn));
  }, wn = Ge !== null && Le, dn = (sn) => {
    !wn && Q && (Object.defineProperty(sn, "target", {
      writable: true,
      value: {
        value: nt,
        name: te
      }
    }), Q(sn));
  };
  delete ze["aria-invalid"];
  let zt, jt;
  const _t = [];
  let Pt = false;
  (ng({
    value: nt
  }) || I) && (we ? zt = we(nt) : Pt = true);
  const kn = qe.map((sn) => {
    if (!/* @__PURE__ */ reactExports.isValidElement(sn))
      return null;
    let Rt;
    if (Z) {
      if (!Array.isArray(nt))
        throw new Error(Hf(2));
      Rt = nt.some(($t) => J5($t, sn.props.value)), Rt && Pt && _t.push(sn.props.children);
    } else
      Rt = J5(nt, sn.props.value), Rt && Pt && (jt = sn.props.children);
    return /* @__PURE__ */ reactExports.cloneElement(sn, {
      "aria-selected": Rt ? "true" : "false",
      onClick: en(sn),
      onKeyUp: ($t) => {
        $t.key === " " && $t.preventDefault(), sn.props.onKeyUp && sn.props.onKeyUp($t);
      },
      role: "option",
      selected: Rt,
      value: void 0,
      // The value is most likely not a valid HTML attribute.
      "data-value": sn.props.value
      // Instead, we provide it as a data attribute.
    });
  });
  Pt && (Z ? _t.length === 0 ? zt = null : zt = _t.reduce((sn, Rt, $t) => (sn.push(Rt), $t < _t.length - 1 && sn.push(", "), sn), []) : zt = jt);
  let Tn = st;
  !p && _e && Ge && (Tn = xt.clientWidth);
  let hn;
  typeof be < "u" ? hn = be : hn = R ? null : 0;
  const Nt = Te.id || (te ? `mui-component-select-${te}` : void 0), Qn = Me({}, t, {
    variant: de,
    value: nt,
    open: wn,
    error: P
  }), hr = RTe(Qn), Wt = Me({}, X.PaperProps, (r = X.slotProps) == null ? void 0 : r.paper), ir = Lg();
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
    children: [/* @__PURE__ */ jsxRuntimeExports.jsx(CTe, Me({
      ref: gt,
      tabIndex: hn,
      role: "combobox",
      "aria-controls": ir,
      "aria-disabled": R ? "true" : void 0,
      "aria-expanded": wn ? "true" : "false",
      "aria-haspopup": "listbox",
      "aria-label": i,
      "aria-labelledby": [B, Nt].filter(Boolean).join(" ") || void 0,
      "aria-describedby": o,
      onKeyDown: Vt,
      onMouseDown: R || Ve ? null : yt,
      onBlur: dn,
      onFocus: ne
    }, Te, {
      ownerState: Qn,
      className: On(Te.className, hr.select, y),
      id: Nt,
      children: PTe(zt) ? (
        // notranslate needed while Google Translate will not fix zero-width space issue
        K5 || (K5 = /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
          className: "notranslate",
          children: "​"
        }))
      ) : zt
    })), /* @__PURE__ */ jsxRuntimeExports.jsx(ATe, Me({
      "aria-invalid": P,
      value: Array.isArray(nt) ? nt.join(",") : nt,
      name: te,
      ref: Ue,
      "aria-hidden": true,
      onChange: wt,
      tabIndex: -1,
      disabled: R,
      className: hr.nativeInput,
      autoFocus: u,
      ownerState: Qn
    }, ze)), /* @__PURE__ */ jsxRuntimeExports.jsx(STe, {
      as: S,
      className: hr.icon,
      ownerState: Qn
    }), /* @__PURE__ */ jsxRuntimeExports.jsx(p6, Me({
      id: `menu-${te || ""}`,
      anchorEl: xt,
      open: wn,
      onClose: Ot,
      anchorOrigin: {
        vertical: "bottom",
        horizontal: "center"
      },
      transformOrigin: {
        vertical: "top",
        horizontal: "center"
      }
    }, X, {
      MenuListProps: Me({
        "aria-labelledby": B,
        role: "listbox",
        "aria-multiselectable": Z ? "true" : void 0,
        disableListWrap: true,
        id: ir
      }, X.MenuListProps),
      slotProps: Me({}, X.slotProps, {
        paper: Me({}, Wt, {
          style: Me({
            minWidth: Tn
          }, Wt != null ? Wt.style : null)
        })
      }),
      children: kn
    }))]
  });
});
const ITe = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"], MTe = ["root"], OTe = (e10) => {
  const {
    classes: t
  } = e10;
  return t;
}, d3 = {
  name: "MuiSelect",
  overridesResolver: (e10, t) => t.root,
  shouldForwardProp: (e10) => Wd(e10) && e10 !== "variant",
  slot: "Root"
}, DTe = xn(em, d3)(""), FTe = xn(tm, d3)(""), NTe = xn(qg, d3)(""), nm = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    name: "MuiSelect",
    props: t
  }), {
    autoWidth: o = false,
    children: i,
    classes: u = {},
    className: p,
    defaultOpen: v = false,
    displayEmpty: y = false,
    IconComponent: k = e6,
    id: T,
    input: R,
    inputProps: I,
    label: P,
    labelId: S,
    MenuProps: U,
    multiple: B = false,
    native: X = false,
    onClose: Z,
    onOpen: te,
    open: Q,
    renderValue: q,
    SelectDisplayProps: F,
    variant: ne = "outlined"
  } = r, ae = Pn(r, ITe), pe = X ? m6 : y6, Ve = rp(), we = d0({
    props: r,
    muiFormControl: Ve,
    states: ["variant", "error"]
  }), Te = we.variant || ne, be = Me({}, r, {
    variant: Te,
    classes: u
  }), ie = OTe(be), de = Pn(ie, MTe), ze = R || {
    standard: /* @__PURE__ */ jsxRuntimeExports.jsx(DTe, {
      ownerState: be
    }),
    outlined: /* @__PURE__ */ jsxRuntimeExports.jsx(FTe, {
      label: P,
      ownerState: be
    }),
    filled: /* @__PURE__ */ jsxRuntimeExports.jsx(NTe, {
      ownerState: be
    })
  }[Te], nt = Ma(n, s0(ze));
  return /* @__PURE__ */ jsxRuntimeExports.jsx(reactExports.Fragment, {
    children: /* @__PURE__ */ reactExports.cloneElement(ze, Me({
      // Most of the logic is implemented in `SelectInput`.
      // The `Select` component is a simple API wrapper to expose something better to play with.
      inputComponent: pe,
      inputProps: Me({
        children: i,
        error: we.error,
        IconComponent: k,
        variant: Te,
        type: void 0,
        // We render a select. We can ignore the type provided by the `Input`.
        multiple: B
      }, X ? {
        id: T
      } : {
        autoWidth: o,
        defaultOpen: v,
        displayEmpty: y,
        labelId: S,
        MenuProps: U,
        onClose: Z,
        onOpen: te,
        open: Q,
        renderValue: q,
        SelectDisplayProps: Me({
          id: T
        }, F)
      }, I, {
        classes: I ? vc(de, I.classes) : de
      }, R ? R.props.inputProps : {})
    }, (B && X || y) && Te === "outlined" ? {
      notched: true
    } : {}, {
      ref: nt,
      className: On(ze.props.className, p, ie.root)
    }, !R && {
      variant: Te
    }, ae))
  });
});
nm.muiName = "Select";
function LTe(e10) {
  return Qr("MuiSkeleton", e10);
}
Dr("MuiSkeleton", ["root", "text", "rectangular", "rounded", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
const BTe = ["animation", "className", "component", "height", "style", "variant", "width"];
let ig = (e10) => e10, Q5, j5, q5, ew;
const zTe = (e10) => {
  const {
    classes: t,
    variant: n,
    animation: r,
    hasChildren: o,
    width: i,
    height: u
  } = e10;
  return ao({
    root: ["root", n, r, o && "withChildren", o && !i && "fitContent", o && !u && "heightAuto"]
  }, LTe, t);
}, WTe = i0(Q5 || (Q5 = ig`
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
`)), UTe = i0(j5 || (j5 = ig`
  0% {
    transform: translateX(-100%);
  }

  50% {
    /* +0.5s of delay between each loop */
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
`)), HTe = xn("span", {
  name: "MuiSkeleton",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, t[n.variant], n.animation !== false && t[n.animation], n.hasChildren && t.withChildren, n.hasChildren && !n.width && t.fitContent, n.hasChildren && !n.height && t.heightAuto];
  }
})(({
  theme: e10,
  ownerState: t
}) => {
  const n = r3e(e10.shape.borderRadius) || "px", r = o3e(e10.shape.borderRadius);
  return Me({
    display: "block",
    // Create a "on paper" color with sufficient contrast retaining the color
    backgroundColor: e10.vars ? e10.vars.palette.Skeleton.bg : Nge(e10.palette.text.primary, e10.palette.mode === "light" ? 0.11 : 0.13),
    height: "1.2em"
  }, t.variant === "text" && {
    marginTop: 0,
    marginBottom: 0,
    height: "auto",
    transformOrigin: "0 55%",
    transform: "scale(1, 0.60)",
    borderRadius: `${r}${n}/${Math.round(r / 0.6 * 10) / 10}${n}`,
    "&:empty:before": {
      content: '"\\00a0"'
    }
  }, t.variant === "circular" && {
    borderRadius: "50%"
  }, t.variant === "rounded" && {
    borderRadius: (e10.vars || e10).shape.borderRadius
  }, t.hasChildren && {
    "& > *": {
      visibility: "hidden"
    }
  }, t.hasChildren && !t.width && {
    maxWidth: "fit-content"
  }, t.hasChildren && !t.height && {
    height: "auto"
  });
}, ({
  ownerState: e10
}) => e10.animation === "pulse" && H1(q5 || (q5 = ig`
      animation: ${0} 2s ease-in-out 0.5s infinite;
    `), WTe), ({
  ownerState: e10,
  theme: t
}) => e10.animation === "wave" && H1(ew || (ew = ig`
      position: relative;
      overflow: hidden;

      /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
      -webkit-mask-image: -webkit-radial-gradient(white, black);

      &::after {
        animation: ${0} 2s linear 0.5s infinite;
        background: linear-gradient(
          90deg,
          transparent,
          ${0},
          transparent
        );
        content: '';
        position: absolute;
        transform: translateX(-100%); /* Avoid flash during server-side hydration */
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
      }
    `), UTe, (t.vars || t).palette.action.hover)), P1 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiSkeleton"
  }), {
    animation: o = "pulse",
    className: i,
    component: u = "span",
    height: p,
    style: v,
    variant: y = "text",
    width: k
  } = r, T = Pn(r, BTe), R = Me({}, r, {
    animation: o,
    component: u,
    variant: y,
    hasChildren: !!T.children
  }), I = zTe(R);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(HTe, Me({
    as: u,
    ref: n,
    className: On(I.root, i),
    ownerState: R
  }, T, {
    style: Me({
      width: k,
      height: p
    }, v)
  }));
});
function $Te(e10) {
  return Qr("MuiTooltip", e10);
}
const hh = Dr("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]), VTe = ["arrow", "children", "classes", "components", "componentsProps", "describeChild", "disableFocusListener", "disableHoverListener", "disableInteractive", "disableTouchListener", "enterDelay", "enterNextDelay", "enterTouchDelay", "followCursor", "id", "leaveDelay", "leaveTouchDelay", "onClose", "onOpen", "open", "placement", "PopperComponent", "PopperProps", "slotProps", "slots", "title", "TransitionComponent", "TransitionProps"];
function GTe(e10) {
  return Math.round(e10 * 1e5) / 1e5;
}
const YTe = (e10) => {
  const {
    classes: t,
    disableInteractive: n,
    arrow: r,
    touch: o,
    placement: i
  } = e10, u = {
    popper: ["popper", !n && "popperInteractive", r && "popperArrow"],
    tooltip: ["tooltip", r && "tooltipArrow", o && "touch", `tooltipPlacement${An(i.split("-")[0])}`],
    arrow: ["arrow"]
  };
  return ao(u, $Te, t);
}, XTe = xn(c0, {
  name: "MuiTooltip",
  slot: "Popper",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.popper, !n.disableInteractive && t.popperInteractive, n.arrow && t.popperArrow, !n.open && t.popperClose];
  }
})(({
  theme: e10,
  ownerState: t,
  open: n
}) => Me({
  zIndex: (e10.vars || e10).zIndex.tooltip,
  pointerEvents: "none"
}, !t.disableInteractive && {
  pointerEvents: "auto"
}, !n && {
  pointerEvents: "none"
}, t.arrow && {
  [`&[data-popper-placement*="bottom"] .${hh.arrow}`]: {
    top: 0,
    marginTop: "-0.71em",
    "&::before": {
      transformOrigin: "0 100%"
    }
  },
  [`&[data-popper-placement*="top"] .${hh.arrow}`]: {
    bottom: 0,
    marginBottom: "-0.71em",
    "&::before": {
      transformOrigin: "100% 0"
    }
  },
  [`&[data-popper-placement*="right"] .${hh.arrow}`]: Me({}, t.isRtl ? {
    right: 0,
    marginRight: "-0.71em"
  } : {
    left: 0,
    marginLeft: "-0.71em"
  }, {
    height: "1em",
    width: "0.71em",
    "&::before": {
      transformOrigin: "100% 100%"
    }
  }),
  [`&[data-popper-placement*="left"] .${hh.arrow}`]: Me({}, t.isRtl ? {
    left: 0,
    marginLeft: "-0.71em"
  } : {
    right: 0,
    marginRight: "-0.71em"
  }, {
    height: "1em",
    width: "0.71em",
    "&::before": {
      transformOrigin: "0 0"
    }
  })
})), ZTe = xn("div", {
  name: "MuiTooltip",
  slot: "Tooltip",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.tooltip, n.touch && t.touch, n.arrow && t.tooltipArrow, t[`tooltipPlacement${An(n.placement.split("-")[0])}`]];
  }
})(({
  theme: e10,
  ownerState: t
}) => Me({
  backgroundColor: e10.vars ? e10.vars.palette.Tooltip.bg : Ti.alpha(e10.palette.grey[700], 0.92),
  borderRadius: (e10.vars || e10).shape.borderRadius,
  color: (e10.vars || e10).palette.common.white,
  fontFamily: e10.typography.fontFamily,
  padding: "4px 8px",
  fontSize: e10.typography.pxToRem(11),
  maxWidth: 300,
  margin: 2,
  wordWrap: "break-word",
  fontWeight: e10.typography.fontWeightMedium
}, t.arrow && {
  position: "relative",
  margin: 0
}, t.touch && {
  padding: "8px 16px",
  fontSize: e10.typography.pxToRem(14),
  lineHeight: `${GTe(16 / 14)}em`,
  fontWeight: e10.typography.fontWeightRegular
}, {
  [`.${hh.popper}[data-popper-placement*="left"] &`]: Me({
    transformOrigin: "right center"
  }, t.isRtl ? Me({
    marginLeft: "14px"
  }, t.touch && {
    marginLeft: "24px"
  }) : Me({
    marginRight: "14px"
  }, t.touch && {
    marginRight: "24px"
  })),
  [`.${hh.popper}[data-popper-placement*="right"] &`]: Me({
    transformOrigin: "left center"
  }, t.isRtl ? Me({
    marginRight: "14px"
  }, t.touch && {
    marginRight: "24px"
  }) : Me({
    marginLeft: "14px"
  }, t.touch && {
    marginLeft: "24px"
  })),
  [`.${hh.popper}[data-popper-placement*="top"] &`]: Me({
    transformOrigin: "center bottom",
    marginBottom: "14px"
  }, t.touch && {
    marginBottom: "24px"
  }),
  [`.${hh.popper}[data-popper-placement*="bottom"] &`]: Me({
    transformOrigin: "center top",
    marginTop: "14px"
  }, t.touch && {
    marginTop: "24px"
  })
})), KTe = xn("span", {
  name: "MuiTooltip",
  slot: "Arrow",
  overridesResolver: (e10, t) => t.arrow
})(({
  theme: e10
}) => ({
  overflow: "hidden",
  position: "absolute",
  width: "1em",
  height: "0.71em",
  boxSizing: "border-box",
  color: e10.vars ? e10.vars.palette.Tooltip.bg : Ti.alpha(e10.palette.grey[700], 0.9),
  "&::before": {
    content: '""',
    margin: "auto",
    display: "block",
    width: "100%",
    height: "100%",
    backgroundColor: "currentColor",
    transform: "rotate(45deg)"
  }
}));
let s1 = false;
const tw = new Mb();
let M0 = {
  x: 0,
  y: 0
};
function l1(e10, t) {
  return (n, ...r) => {
    t && t(n, ...r), e10(n, ...r);
  };
}
const x6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o, i, u, p, v, y, k, T, R, I, P, S, U, B, X, Z, te, Q;
  const q = so({
    props: t,
    name: "MuiTooltip"
  }), {
    arrow: F = false,
    children: ne,
    components: ae = {},
    componentsProps: pe = {},
    describeChild: Ve = false,
    disableFocusListener: we = false,
    disableHoverListener: Te = false,
    disableInteractive: be = false,
    disableTouchListener: ie = false,
    enterDelay: de = 100,
    enterNextDelay: ze = 0,
    enterTouchDelay: nt = 700,
    followCursor: ut = false,
    id: Le,
    leaveDelay: oe = 0,
    leaveTouchDelay: Ue = 1500,
    onClose: We,
    onOpen: Ge,
    open: Ze,
    placement: _e = "bottom",
    PopperComponent: st,
    PopperProps: Ke = {},
    slotProps: ht = {},
    slots: gt = {},
    title: xt,
    TransitionComponent: ct = zf,
    TransitionProps: yt
  } = q, Ot = Pn(q, VTe), qe = /* @__PURE__ */ reactExports.isValidElement(ne) ? ne : /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
    children: ne
  }), wt = u0(), en = zg(), [Vt, wn] = reactExports.useState(), [dn, zt] = reactExports.useState(null), jt = reactExports.useRef(false), _t = be || ut, Pt = Zh(), Ht = Zh(), kn = Zh(), Tn = Zh(), [hn, Nt] = Qh({
    controlled: Ze,
    default: false,
    name: "Tooltip",
    state: "open"
  });
  let Qn = hn;
  const hr = Lg(Le), Wt = reactExports.useRef(), ir = au(() => {
    Wt.current !== void 0 && (document.body.style.WebkitUserSelect = Wt.current, Wt.current = void 0), Tn.clear();
  });
  reactExports.useEffect(() => ir, [ir]);
  const sn = (kt) => {
    tw.clear(), s1 = true, Nt(true), Ge && !Qn && Ge(kt);
  }, Rt = au(
    /**
     * @param {React.SyntheticEvent | Event} event
     */
    (kt) => {
      tw.start(800 + oe, () => {
        s1 = false;
      }), Nt(false), We && Qn && We(kt), Pt.start(wt.transitions.duration.shortest, () => {
        jt.current = false;
      });
    }
  ), $t = (kt) => {
    jt.current && kt.type !== "touchstart" || (Vt && Vt.removeAttribute("title"), Ht.clear(), kn.clear(), de || s1 && ze ? Ht.start(s1 ? ze : de, () => {
      sn(kt);
    }) : sn(kt));
  }, En = (kt) => {
    Ht.clear(), kn.start(oe, () => {
      Rt(kt);
    });
  }, {
    isFocusVisibleRef: In,
    onBlur: _n,
    onFocus: bn,
    ref: Sr
  } = QE(), [, Mn] = reactExports.useState(false), gr = (kt) => {
    _n(kt), In.current === false && (Mn(false), En(kt));
  }, mi = (kt) => {
    Vt || wn(kt.currentTarget), bn(kt), In.current === true && (Mn(true), $t(kt));
  }, Co = (kt) => {
    jt.current = true;
    const pn = qe.props;
    pn.onTouchStart && pn.onTouchStart(kt);
  }, No = (kt) => {
    Co(kt), kn.clear(), Pt.clear(), ir(), Wt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Tn.start(nt, () => {
      document.body.style.WebkitUserSelect = Wt.current, $t(kt);
    });
  }, ls = (kt) => {
    qe.props.onTouchEnd && qe.props.onTouchEnd(kt), ir(), kn.start(Ue, () => {
      Rt(kt);
    });
  };
  reactExports.useEffect(() => {
    if (!Qn)
      return;
    function kt(pn) {
      (pn.key === "Escape" || pn.key === "Esc") && Rt(pn);
    }
    return document.addEventListener("keydown", kt), () => {
      document.removeEventListener("keydown", kt);
    };
  }, [Rt, Qn]);
  const Qi = Ma(s0(qe), Sr, wn, n);
  !xt && xt !== 0 && (Qn = false);
  const Fr = reactExports.useRef(), Yr = (kt) => {
    const pn = qe.props;
    pn.onMouseMove && pn.onMouseMove(kt), M0 = {
      x: kt.clientX,
      y: kt.clientY
    }, Fr.current && Fr.current.update();
  }, yr = {}, uo = typeof xt == "string";
  Ve ? (yr.title = !Qn && uo && !Te ? xt : null, yr["aria-describedby"] = Qn ? hr : null) : (yr["aria-label"] = uo ? xt : null, yr["aria-labelledby"] = Qn && !uo ? hr : null);
  const xr = Me({}, yr, Ot, qe.props, {
    className: On(Ot.className, qe.props.className),
    onTouchStart: Co,
    ref: Qi
  }, ut ? {
    onMouseMove: Yr
  } : {});
  const to = {};
  ie || (xr.onTouchStart = No, xr.onTouchEnd = ls), Te || (xr.onMouseOver = l1($t, xr.onMouseOver), xr.onMouseLeave = l1(En, xr.onMouseLeave), _t || (to.onMouseOver = $t, to.onMouseLeave = En)), we || (xr.onFocus = l1(mi, xr.onFocus), xr.onBlur = l1(gr, xr.onBlur), _t || (to.onFocus = mi, to.onBlur = gr));
  const ur = reactExports.useMemo(() => {
    var kt;
    let pn = [{
      name: "arrow",
      enabled: !!dn,
      options: {
        element: dn,
        padding: 4
      }
    }];
    return (kt = Ke.popperOptions) != null && kt.modifiers && (pn = pn.concat(Ke.popperOptions.modifiers)), Me({}, Ke.popperOptions, {
      modifiers: pn
    });
  }, [dn, Ke]), ki = Me({}, q, {
    isRtl: en,
    arrow: F,
    disableInteractive: _t,
    placement: _e,
    PopperComponentProp: st,
    touch: jt.current
  }), Nr = YTe(ki), Gn = (r = (o = gt.popper) != null ? o : ae.Popper) != null ? r : XTe, qo = (i = (u = (p = gt.transition) != null ? p : ae.Transition) != null ? u : ct) != null ? i : zf, Dn = (v = (y = gt.tooltip) != null ? y : ae.Tooltip) != null ? v : ZTe, At = (k = (T = gt.arrow) != null ? T : ae.Arrow) != null ? k : KTe, it = Pp(Gn, Me({}, Ke, (R = ht.popper) != null ? R : pe.popper, {
    className: On(Nr.popper, Ke == null ? void 0 : Ke.className, (I = (P = ht.popper) != null ? P : pe.popper) == null ? void 0 : I.className)
  }), ki), Zt = Pp(qo, Me({}, yt, (S = ht.transition) != null ? S : pe.transition), ki), un = Pp(Dn, Me({}, (U = ht.tooltip) != null ? U : pe.tooltip, {
    className: On(Nr.tooltip, (B = (X = ht.tooltip) != null ? X : pe.tooltip) == null ? void 0 : B.className)
  }), ki), dt = Pp(At, Me({}, (Z = ht.arrow) != null ? Z : pe.arrow, {
    className: On(Nr.arrow, (te = (Q = ht.arrow) != null ? Q : pe.arrow) == null ? void 0 : te.className)
  }), ki);
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
    children: [/* @__PURE__ */ reactExports.cloneElement(qe, xr), /* @__PURE__ */ jsxRuntimeExports.jsx(Gn, Me({
      as: st ?? c0,
      placement: _e,
      anchorEl: ut ? {
        getBoundingClientRect: () => ({
          top: M0.y,
          left: M0.x,
          right: M0.x,
          bottom: M0.y,
          width: 0,
          height: 0
        })
      } : Vt,
      popperRef: Fr,
      open: Vt ? Qn : false,
      id: hr,
      transition: true
    }, to, it, {
      popperOptions: ur,
      children: ({
        TransitionProps: kt
      }) => /* @__PURE__ */ jsxRuntimeExports.jsx(qo, Me({
        timeout: wt.transitions.duration.shorter
      }, kt, Zt, {
        children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Dn, Me({}, un, {
          children: [xt, F ? /* @__PURE__ */ jsxRuntimeExports.jsx(At, Me({}, dt, {
            ref: zt
          })) : null]
        }))
      }))
    }))]
  });
});
function JTe(e10) {
  return Qr("MuiTab", e10);
}
const ah = Dr("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper"]), QTe = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"], jTe = (e10) => {
  const {
    classes: t,
    textColor: n,
    fullWidth: r,
    wrapped: o,
    icon: i,
    label: u,
    selected: p,
    disabled: v
  } = e10, y = {
    root: ["root", i && u && "labelIcon", `textColor${An(n)}`, r && "fullWidth", o && "wrapped", p && "selected", v && "disabled"],
    iconWrapper: ["iconWrapper"]
  };
  return ao(y, JTe, t);
}, qTe = xn(xh, {
  name: "MuiTab",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, n.label && n.icon && t.labelIcon, t[`textColor${An(n.textColor)}`], n.fullWidth && t.fullWidth, n.wrapped && t.wrapped, {
      [`& .${ah.iconWrapper}`]: t.iconWrapper
    }];
  }
})(({
  theme: e10,
  ownerState: t
}) => Me({}, e10.typography.button, {
  maxWidth: 360,
  minWidth: 90,
  position: "relative",
  minHeight: 48,
  flexShrink: 0,
  padding: "12px 16px",
  overflow: "hidden",
  whiteSpace: "normal",
  textAlign: "center"
}, t.label && {
  flexDirection: t.iconPosition === "top" || t.iconPosition === "bottom" ? "column" : "row"
}, {
  lineHeight: 1.25
}, t.icon && t.label && {
  minHeight: 72,
  paddingTop: 9,
  paddingBottom: 9,
  [`& > .${ah.iconWrapper}`]: Me({}, t.iconPosition === "top" && {
    marginBottom: 6
  }, t.iconPosition === "bottom" && {
    marginTop: 6
  }, t.iconPosition === "start" && {
    marginRight: e10.spacing(1)
  }, t.iconPosition === "end" && {
    marginLeft: e10.spacing(1)
  })
}, t.textColor === "inherit" && {
  color: "inherit",
  opacity: 0.6,
  // same opacity as theme.palette.text.secondary
  [`&.${ah.selected}`]: {
    opacity: 1
  },
  [`&.${ah.disabled}`]: {
    opacity: (e10.vars || e10).palette.action.disabledOpacity
  }
}, t.textColor === "primary" && {
  color: (e10.vars || e10).palette.text.secondary,
  [`&.${ah.selected}`]: {
    color: (e10.vars || e10).palette.primary.main
  },
  [`&.${ah.disabled}`]: {
    color: (e10.vars || e10).palette.text.disabled
  }
}, t.textColor === "secondary" && {
  color: (e10.vars || e10).palette.text.secondary,
  [`&.${ah.selected}`]: {
    color: (e10.vars || e10).palette.secondary.main
  },
  [`&.${ah.disabled}`]: {
    color: (e10.vars || e10).palette.text.disabled
  }
}, t.fullWidth && {
  flexShrink: 1,
  flexGrow: 1,
  flexBasis: 0,
  maxWidth: "none"
}, t.wrapped && {
  fontSize: e10.typography.pxToRem(12)
})), _6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiTab"
  }), {
    className: o,
    disabled: i = false,
    disableFocusRipple: u = false,
    // eslint-disable-next-line react/prop-types
    fullWidth: p,
    icon: v,
    iconPosition: y = "top",
    // eslint-disable-next-line react/prop-types
    indicator: k,
    label: T,
    onChange: R,
    onClick: I,
    onFocus: P,
    // eslint-disable-next-line react/prop-types
    selected: S,
    // eslint-disable-next-line react/prop-types
    selectionFollowsFocus: U,
    // eslint-disable-next-line react/prop-types
    textColor: B = "inherit",
    value: X,
    wrapped: Z = false
  } = r, te = Pn(r, QTe), Q = Me({}, r, {
    disabled: i,
    disableFocusRipple: u,
    selected: S,
    icon: !!v,
    iconPosition: y,
    label: !!T,
    fullWidth: p,
    textColor: B,
    wrapped: Z
  }), q = jTe(Q), F = v && T && /* @__PURE__ */ reactExports.isValidElement(v) ? /* @__PURE__ */ reactExports.cloneElement(v, {
    className: On(q.iconWrapper, v.props.className)
  }) : v, ne = (pe) => {
    !S && R && R(pe, X), I && I(pe);
  }, ae = (pe) => {
    U && !S && R && R(pe, X), P && P(pe);
  };
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(qTe, Me({
    focusRipple: !u,
    className: On(q.root, o),
    ref: n,
    role: "tab",
    "aria-selected": S,
    disabled: i,
    onClick: ne,
    onFocus: ae,
    ownerState: Q,
    tabIndex: S ? 0 : -1
  }, te, {
    children: [y === "top" || y === "start" ? /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
      children: [F, T]
    }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, {
      children: [T, F]
    }), k]
  }));
});
const eke = Ob(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
  d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
}), "KeyboardArrowLeft"), tke = Ob(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
  d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
}), "KeyboardArrowRight");
function nke(e10) {
  return (1 + Math.sin(Math.PI * e10 - Math.PI / 2)) / 2;
}
function rke(e10, t, n, r = {}, o = () => {
}) {
  const {
    ease: i = nke,
    duration: u = 300
    // standard
  } = r;
  let p = null;
  const v = t[e10];
  let y = false;
  const k = () => {
    y = true;
  }, T = (R) => {
    if (y) {
      o(new Error("Animation cancelled"));
      return;
    }
    p === null && (p = R);
    const I = Math.min(1, (R - p) / u);
    if (t[e10] = i(I) * (n - v) + v, I >= 1) {
      requestAnimationFrame(() => {
        o(null);
      });
      return;
    }
    requestAnimationFrame(T);
  };
  return v === n ? (o(new Error("Element already at target position")), k) : (requestAnimationFrame(T), k);
}
const oke = ["onChange"], ike = {
  width: 99,
  height: 99,
  position: "absolute",
  top: -9999,
  overflow: "scroll"
};
function w6(e10) {
  const {
    onChange: t
  } = e10, n = Pn(e10, oke), r = reactExports.useRef(), o = reactExports.useRef(null), i = () => {
    r.current = o.current.offsetHeight - o.current.clientHeight;
  };
  return Nd(() => {
    const u = Ng(() => {
      const v = r.current;
      i(), v !== r.current && t(r.current);
    }), p = Gf(o.current);
    return p.addEventListener("resize", u), () => {
      u.clear(), p.removeEventListener("resize", u);
    };
  }, [t]), reactExports.useEffect(() => {
    i(), t(r.current);
  }, [t]), /* @__PURE__ */ jsxRuntimeExports.jsx("div", Me({
    style: ike
  }, n, {
    ref: o
  }));
}
function ake(e10) {
  return Qr("MuiTabScrollButton", e10);
}
const ske = Dr("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), lke = ["className", "slots", "slotProps", "direction", "orientation", "disabled"], uke = (e10) => {
  const {
    classes: t,
    orientation: n,
    disabled: r
  } = e10;
  return ao({
    root: ["root", n, r && "disabled"]
  }, ake, t);
}, cke = xn(xh, {
  name: "MuiTabScrollButton",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.root, n.orientation && t[n.orientation]];
  }
})(({
  ownerState: e10
}) => Me({
  width: 40,
  flexShrink: 0,
  opacity: 0.8,
  [`&.${ske.disabled}`]: {
    opacity: 0
  }
}, e10.orientation === "vertical" && {
  width: "100%",
  height: 40,
  "& svg": {
    transform: `rotate(${e10.isRtl ? -90 : 90}deg)`
  }
})), T6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  var r, o;
  const i = so({
    props: t,
    name: "MuiTabScrollButton"
  }), {
    className: u,
    slots: p = {},
    slotProps: v = {},
    direction: y
  } = i, k = Pn(i, lke), T = zg(), R = Me({
    isRtl: T
  }, i), I = uke(R), P = (r = p.StartScrollButtonIcon) != null ? r : eke, S = (o = p.EndScrollButtonIcon) != null ? o : tke, U = Ld({
    elementType: P,
    externalSlotProps: v.startScrollButtonIcon,
    additionalProps: {
      fontSize: "small"
    },
    ownerState: R
  }), B = Ld({
    elementType: S,
    externalSlotProps: v.endScrollButtonIcon,
    additionalProps: {
      fontSize: "small"
    },
    ownerState: R
  });
  return /* @__PURE__ */ jsxRuntimeExports.jsx(cke, Me({
    component: "div",
    className: On(I.root, u),
    ref: n,
    role: null,
    ownerState: R,
    tabIndex: null
  }, k, {
    children: y === "left" ? /* @__PURE__ */ jsxRuntimeExports.jsx(P, Me({}, U)) : /* @__PURE__ */ jsxRuntimeExports.jsx(S, Me({}, B))
  }));
});
function dke(e10) {
  return Qr("MuiTabs", e10);
}
const av = Dr("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), fke = ["aria-label", "aria-labelledby", "action", "centered", "children", "className", "component", "allowScrollButtonsMobile", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "slots", "slotProps", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant", "visibleScrollbar"], nw = (e10, t) => e10 === t ? e10.firstChild : t && t.nextElementSibling ? t.nextElementSibling : e10.firstChild, rw = (e10, t) => e10 === t ? e10.lastChild : t && t.previousElementSibling ? t.previousElementSibling : e10.lastChild, u1 = (e10, t, n) => {
  let r = false, o = n(e10, t);
  for (; o; ) {
    if (o === e10.firstChild) {
      if (r)
        return;
      r = true;
    }
    const i = o.disabled || o.getAttribute("aria-disabled") === "true";
    if (!o.hasAttribute("tabindex") || i)
      o = n(e10, o);
    else {
      o.focus();
      return;
    }
  }
}, hke = (e10) => {
  const {
    vertical: t,
    fixed: n,
    hideScrollbar: r,
    scrollableX: o,
    scrollableY: i,
    centered: u,
    scrollButtonsHideMobile: p,
    classes: v
  } = e10;
  return ao({
    root: ["root", t && "vertical"],
    scroller: ["scroller", n && "fixed", r && "hideScrollbar", o && "scrollableX", i && "scrollableY"],
    flexContainer: ["flexContainer", t && "flexContainerVertical", u && "centered"],
    indicator: ["indicator"],
    scrollButtons: ["scrollButtons", p && "scrollButtonsHideMobile"],
    scrollableX: [o && "scrollableX"],
    hideScrollbar: [r && "hideScrollbar"]
  }, dke, v);
}, pke = xn("div", {
  name: "MuiTabs",
  slot: "Root",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [{
      [`& .${av.scrollButtons}`]: t.scrollButtons
    }, {
      [`& .${av.scrollButtons}`]: n.scrollButtonsHideMobile && t.scrollButtonsHideMobile
    }, t.root, n.vertical && t.vertical];
  }
})(({
  ownerState: e10,
  theme: t
}) => Me({
  overflow: "hidden",
  minHeight: 48,
  // Add iOS momentum scrolling for iOS < 13.0
  WebkitOverflowScrolling: "touch",
  display: "flex"
}, e10.vertical && {
  flexDirection: "column"
}, e10.scrollButtonsHideMobile && {
  [`& .${av.scrollButtons}`]: {
    [t.breakpoints.down("sm")]: {
      display: "none"
    }
  }
})), bke = xn("div", {
  name: "MuiTabs",
  slot: "Scroller",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.scroller, n.fixed && t.fixed, n.hideScrollbar && t.hideScrollbar, n.scrollableX && t.scrollableX, n.scrollableY && t.scrollableY];
  }
})(({
  ownerState: e10
}) => Me({
  position: "relative",
  display: "inline-block",
  flex: "1 1 auto",
  whiteSpace: "nowrap"
}, e10.fixed && {
  overflowX: "hidden",
  width: "100%"
}, e10.hideScrollbar && {
  // Hide dimensionless scrollbar on macOS
  scrollbarWidth: "none",
  // Firefox
  "&::-webkit-scrollbar": {
    display: "none"
    // Safari + Chrome
  }
}, e10.scrollableX && {
  overflowX: "auto",
  overflowY: "hidden"
}, e10.scrollableY && {
  overflowY: "auto",
  overflowX: "hidden"
})), gke = xn("div", {
  name: "MuiTabs",
  slot: "FlexContainer",
  overridesResolver: (e10, t) => {
    const {
      ownerState: n
    } = e10;
    return [t.flexContainer, n.vertical && t.flexContainerVertical, n.centered && t.centered];
  }
})(({
  ownerState: e10
}) => Me({
  display: "flex"
}, e10.vertical && {
  flexDirection: "column"
}, e10.centered && {
  justifyContent: "center"
})), mke = xn("span", {
  name: "MuiTabs",
  slot: "Indicator",
  overridesResolver: (e10, t) => t.indicator
})(({
  ownerState: e10,
  theme: t
}) => Me({
  position: "absolute",
  height: 2,
  bottom: 0,
  width: "100%",
  transition: t.transitions.create()
}, e10.indicatorColor === "primary" && {
  backgroundColor: (t.vars || t).palette.primary.main
}, e10.indicatorColor === "secondary" && {
  backgroundColor: (t.vars || t).palette.secondary.main
}, e10.vertical && {
  height: "100%",
  width: 2,
  right: 0
})), vke = xn(w6)({
  overflowX: "auto",
  overflowY: "hidden",
  // Hide dimensionless scrollbar on macOS
  scrollbarWidth: "none",
  // Firefox
  "&::-webkit-scrollbar": {
    display: "none"
    // Safari + Chrome
  }
}), ow = {};
const k6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiTabs"
  }), o = u0(), i = zg(), {
    "aria-label": u,
    "aria-labelledby": p,
    action: v,
    centered: y = false,
    children: k,
    className: T,
    component: R = "div",
    allowScrollButtonsMobile: I = false,
    indicatorColor: P = "primary",
    onChange: S,
    orientation: U = "horizontal",
    ScrollButtonComponent: B = T6,
    scrollButtons: X = "auto",
    selectionFollowsFocus: Z,
    slots: te = {},
    slotProps: Q = {},
    TabIndicatorProps: q = {},
    TabScrollButtonProps: F = {},
    textColor: ne = "primary",
    value: ae,
    variant: pe = "standard",
    visibleScrollbar: Ve = false
  } = r, we = Pn(r, fke), Te = pe === "scrollable", be = U === "vertical", ie = be ? "scrollTop" : "scrollLeft", de = be ? "top" : "left", ze = be ? "bottom" : "right", nt = be ? "clientHeight" : "clientWidth", ut = be ? "height" : "width", Le = Me({}, r, {
    component: R,
    allowScrollButtonsMobile: I,
    indicatorColor: P,
    orientation: U,
    vertical: be,
    scrollButtons: X,
    textColor: ne,
    variant: pe,
    visibleScrollbar: Ve,
    fixed: !Te,
    hideScrollbar: Te && !Ve,
    scrollableX: Te && !be,
    scrollableY: Te && be,
    centered: y && !Te,
    scrollButtonsHideMobile: !I
  }), oe = hke(Le), Ue = Ld({
    elementType: te.StartScrollButtonIcon,
    externalSlotProps: Q.startScrollButtonIcon,
    ownerState: Le
  }), We = Ld({
    elementType: te.EndScrollButtonIcon,
    externalSlotProps: Q.endScrollButtonIcon,
    ownerState: Le
  });
  const [Ge, Ze] = reactExports.useState(false), [_e, st] = reactExports.useState(ow), [Ke, ht] = reactExports.useState(false), [gt, xt] = reactExports.useState(false), [ct, yt] = reactExports.useState(false), [Ot, qe] = reactExports.useState({
    overflow: "hidden",
    scrollbarWidth: 0
  }), wt = /* @__PURE__ */ new Map(), en = reactExports.useRef(null), Vt = reactExports.useRef(null), wn = () => {
    const Rt = en.current;
    let $t;
    if (Rt) {
      const In = Rt.getBoundingClientRect();
      $t = {
        clientWidth: Rt.clientWidth,
        scrollLeft: Rt.scrollLeft,
        scrollTop: Rt.scrollTop,
        scrollLeftNormalized: jge(Rt, i ? "rtl" : "ltr"),
        scrollWidth: Rt.scrollWidth,
        top: In.top,
        bottom: In.bottom,
        left: In.left,
        right: In.right
      };
    }
    let En;
    if (Rt && ae !== false) {
      const In = Vt.current.children;
      if (In.length > 0) {
        const _n = In[wt.get(ae)];
        En = _n ? _n.getBoundingClientRect() : null;
      }
    }
    return {
      tabsMeta: $t,
      tabMeta: En
    };
  }, dn = au(() => {
    const {
      tabsMeta: Rt,
      tabMeta: $t
    } = wn();
    let En = 0, In;
    if (be)
      In = "top", $t && Rt && (En = $t.top - Rt.top + Rt.scrollTop);
    else if (In = i ? "right" : "left", $t && Rt) {
      const bn = i ? Rt.scrollLeftNormalized + Rt.clientWidth - Rt.scrollWidth : Rt.scrollLeft;
      En = (i ? -1 : 1) * ($t[In] - Rt[In] + bn);
    }
    const _n = {
      [In]: En,
      // May be wrong until the font is loaded.
      [ut]: $t ? $t[ut] : 0
    };
    if (isNaN(_e[In]) || isNaN(_e[ut]))
      st(_n);
    else {
      const bn = Math.abs(_e[In] - _n[In]), Sr = Math.abs(_e[ut] - _n[ut]);
      (bn >= 1 || Sr >= 1) && st(_n);
    }
  }), zt = (Rt, {
    animation: $t = true
  } = {}) => {
    $t ? rke(ie, en.current, Rt, {
      duration: o.transitions.duration.standard
    }) : en.current[ie] = Rt;
  }, jt = (Rt) => {
    let $t = en.current[ie];
    be ? $t += Rt : ($t += Rt * (i ? -1 : 1), $t *= i && qE() === "reverse" ? -1 : 1), zt($t);
  }, _t = () => {
    const Rt = en.current[nt];
    let $t = 0;
    const En = Array.from(Vt.current.children);
    for (let In = 0; In < En.length; In += 1) {
      const _n = En[In];
      if ($t + _n[nt] > Rt) {
        In === 0 && ($t = Rt);
        break;
      }
      $t += _n[nt];
    }
    return $t;
  }, Pt = () => {
    jt(-1 * _t());
  }, Ht = () => {
    jt(_t());
  }, kn = reactExports.useCallback((Rt) => {
    qe({
      overflow: null,
      scrollbarWidth: Rt
    });
  }, []), Tn = () => {
    const Rt = {};
    Rt.scrollbarSizeListener = Te ? /* @__PURE__ */ jsxRuntimeExports.jsx(vke, {
      onChange: kn,
      className: On(oe.scrollableX, oe.hideScrollbar)
    }) : null;
    const En = Te && (X === "auto" && (Ke || gt) || X === true);
    return Rt.scrollButtonStart = En ? /* @__PURE__ */ jsxRuntimeExports.jsx(B, Me({
      slots: {
        StartScrollButtonIcon: te.StartScrollButtonIcon
      },
      slotProps: {
        startScrollButtonIcon: Ue
      },
      orientation: U,
      direction: i ? "right" : "left",
      onClick: Pt,
      disabled: !Ke
    }, F, {
      className: On(oe.scrollButtons, F.className)
    })) : null, Rt.scrollButtonEnd = En ? /* @__PURE__ */ jsxRuntimeExports.jsx(B, Me({
      slots: {
        EndScrollButtonIcon: te.EndScrollButtonIcon
      },
      slotProps: {
        endScrollButtonIcon: We
      },
      orientation: U,
      direction: i ? "left" : "right",
      onClick: Ht,
      disabled: !gt
    }, F, {
      className: On(oe.scrollButtons, F.className)
    })) : null, Rt;
  }, hn = au((Rt) => {
    const {
      tabsMeta: $t,
      tabMeta: En
    } = wn();
    if (!(!En || !$t)) {
      if (En[de] < $t[de]) {
        const In = $t[ie] + (En[de] - $t[de]);
        zt(In, {
          animation: Rt
        });
      } else if (En[ze] > $t[ze]) {
        const In = $t[ie] + (En[ze] - $t[ze]);
        zt(In, {
          animation: Rt
        });
      }
    }
  }), Nt = au(() => {
    Te && X !== false && yt(!ct);
  });
  reactExports.useEffect(() => {
    const Rt = Ng(() => {
      en.current && dn();
    });
    let $t;
    const En = (bn) => {
      bn.forEach((Sr) => {
        Sr.removedNodes.forEach((Mn) => {
          var gr;
          (gr = $t) == null || gr.unobserve(Mn);
        }), Sr.addedNodes.forEach((Mn) => {
          var gr;
          (gr = $t) == null || gr.observe(Mn);
        });
      }), Rt(), Nt();
    }, In = Gf(en.current);
    In.addEventListener("resize", Rt);
    let _n;
    return typeof ResizeObserver < "u" && ($t = new ResizeObserver(Rt), Array.from(Vt.current.children).forEach((bn) => {
      $t.observe(bn);
    })), typeof MutationObserver < "u" && (_n = new MutationObserver(En), _n.observe(Vt.current, {
      childList: true
    })), () => {
      var bn, Sr;
      Rt.clear(), In.removeEventListener("resize", Rt), (bn = _n) == null || bn.disconnect(), (Sr = $t) == null || Sr.disconnect();
    };
  }, [dn, Nt]), reactExports.useEffect(() => {
    const Rt = Array.from(Vt.current.children), $t = Rt.length;
    if (typeof IntersectionObserver < "u" && $t > 0 && Te && X !== false) {
      const En = Rt[0], In = Rt[$t - 1], _n = {
        root: en.current,
        threshold: 0.99
      }, bn = (mi) => {
        ht(!mi[0].isIntersecting);
      }, Sr = new IntersectionObserver(bn, _n);
      Sr.observe(En);
      const Mn = (mi) => {
        xt(!mi[0].isIntersecting);
      }, gr = new IntersectionObserver(Mn, _n);
      return gr.observe(In), () => {
        Sr.disconnect(), gr.disconnect();
      };
    }
  }, [Te, X, ct, k == null ? void 0 : k.length]), reactExports.useEffect(() => {
    Ze(true);
  }, []), reactExports.useEffect(() => {
    dn();
  }), reactExports.useEffect(() => {
    hn(ow !== _e);
  }, [hn, _e]), reactExports.useImperativeHandle(v, () => ({
    updateIndicator: dn,
    updateScrollButtons: Nt
  }), [dn, Nt]);
  const Qn = /* @__PURE__ */ jsxRuntimeExports.jsx(mke, Me({}, q, {
    className: On(oe.indicator, q.className),
    ownerState: Le,
    style: Me({}, _e, q.style)
  }));
  let hr = 0;
  const Wt = reactExports.Children.map(k, (Rt) => {
    if (!/* @__PURE__ */ reactExports.isValidElement(Rt))
      return null;
    const $t = Rt.props.value === void 0 ? hr : Rt.props.value;
    wt.set($t, hr);
    const En = $t === ae;
    return hr += 1, /* @__PURE__ */ reactExports.cloneElement(Rt, Me({
      fullWidth: pe === "fullWidth",
      indicator: En && !Ge && Qn,
      selected: En,
      selectionFollowsFocus: Z,
      onChange: S,
      textColor: ne,
      value: $t
    }, hr === 1 && ae === false && !Rt.props.tabIndex ? {
      tabIndex: 0
    } : {}));
  }), ir = (Rt) => {
    const $t = Vt.current, En = zl($t).activeElement;
    if (En.getAttribute("role") !== "tab")
      return;
    let _n = U === "horizontal" ? "ArrowLeft" : "ArrowUp", bn = U === "horizontal" ? "ArrowRight" : "ArrowDown";
    switch (U === "horizontal" && i && (_n = "ArrowRight", bn = "ArrowLeft"), Rt.key) {
      case _n:
        Rt.preventDefault(), u1($t, En, rw);
        break;
      case bn:
        Rt.preventDefault(), u1($t, En, nw);
        break;
      case "Home":
        Rt.preventDefault(), u1($t, null, nw);
        break;
      case "End":
        Rt.preventDefault(), u1($t, null, rw);
        break;
    }
  }, sn = Tn();
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(pke, Me({
    className: On(oe.root, T),
    ownerState: Le,
    ref: n,
    as: R
  }, we, {
    children: [sn.scrollButtonStart, sn.scrollbarSizeListener, /* @__PURE__ */ jsxRuntimeExports.jsxs(bke, {
      className: oe.scroller,
      ownerState: Le,
      style: {
        overflow: Ot.overflow,
        [be ? `margin${i ? "Left" : "Right"}` : "marginBottom"]: Ve ? void 0 : -Ot.scrollbarWidth
      },
      ref: en,
      children: [/* @__PURE__ */ jsxRuntimeExports.jsx(gke, {
        "aria-label": u,
        "aria-labelledby": p,
        "aria-orientation": U === "vertical" ? "vertical" : null,
        className: oe.flexContainer,
        ownerState: Le,
        onKeyDown: ir,
        ref: Vt,
        role: "tablist",
        children: Wt
      }), Ge && Qn]
    }), sn.scrollButtonEnd]
  }));
});
function yke(e10) {
  return Qr("MuiTextField", e10);
}
Dr("MuiTextField", ["root"]);
const xke = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], _ke = {
  standard: em,
  filled: qg,
  outlined: tm
}, wke = (e10) => {
  const {
    classes: t
  } = e10;
  return ao({
    root: ["root"]
  }, yke, t);
}, Tke = xn(l3, {
  name: "MuiTextField",
  slot: "Root",
  overridesResolver: (e10, t) => t.root
})({}), E6 = /* @__PURE__ */ reactExports.forwardRef(function(t, n) {
  const r = so({
    props: t,
    name: "MuiTextField"
  }), {
    autoComplete: o,
    autoFocus: i = false,
    children: u,
    className: p,
    color: v = "primary",
    defaultValue: y,
    disabled: k = false,
    error: T = false,
    FormHelperTextProps: R,
    fullWidth: I = false,
    helperText: P,
    id: S,
    InputLabelProps: U,
    inputProps: B,
    InputProps: X,
    inputRef: Z,
    label: te,
    maxRows: Q,
    minRows: q,
    multiline: F = false,
    name: ne,
    onBlur: ae,
    onChange: pe,
    onFocus: Ve,
    placeholder: we,
    required: Te = false,
    rows: be,
    select: ie = false,
    SelectProps: de,
    type: ze,
    value: nt,
    variant: ut = "outlined"
  } = r, Le = Pn(r, xke), oe = Me({}, r, {
    autoFocus: i,
    color: v,
    disabled: k,
    error: T,
    fullWidth: I,
    multiline: F,
    required: Te,
    select: ie,
    variant: ut
  }), Ue = wke(oe);
  const We = {};
  ut === "outlined" && (U && typeof U.shrink < "u" && (We.notched = U.shrink), We.label = te), ie && ((!de || !de.native) && (We.id = void 0), We["aria-describedby"] = void 0);
  const Ge = Lg(S), Ze = P && Ge ? `${Ge}-helper-text` : void 0, _e = te && Ge ? `${Ge}-label` : void 0, st = _ke[ut], Ke = /* @__PURE__ */ jsxRuntimeExports.jsx(st, Me({
    "aria-describedby": Ze,
    autoComplete: o,
    autoFocus: i,
    defaultValue: y,
    fullWidth: I,
    multiline: F,
    name: ne,
    rows: be,
    maxRows: Q,
    minRows: q,
    type: ze,
    value: nt,
    id: Ge,
    inputRef: Z,
    onBlur: ae,
    onChange: pe,
    onFocus: Ve,
    placeholder: we,
    inputProps: B
  }, We, X));
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Tke, Me({
    className: On(Ue.root, p),
    disabled: k,
    error: T,
    fullWidth: I,
    ref: n,
    required: Te,
    color: v,
    variant: ut,
    ownerState: oe
  }, Le, {
    children: [te != null && te !== "" && /* @__PURE__ */ jsxRuntimeExports.jsx(l6, Me({
      htmlFor: Ge,
      id: _e
    }, U, {
      children: te
    })), ie ? /* @__PURE__ */ jsxRuntimeExports.jsx(nm, Me({
      "aria-describedby": Ze,
      id: Ge,
      labelId: _e,
      value: nt,
      input: Ke
    }, de, {
      children: u
    })) : Ke, P && /* @__PURE__ */ jsxRuntimeExports.jsx(a6, Me({
      id: Ze
    }, R, {
      children: P
    }))]
  }));
});
var Ln;
(function(e10) {
  e10.hamburgerMenu = "hamburger-menu", e10.search = "search", e10.location = "location", e10.calendar = "calendar", e10.language = "language", e10.check = "check", e10.close = "close", e10.warning = "warning", e10.info = "info", e10.help = "help", e10.add = "add", e10.save = "save", e10.saveActive = "save-active", e10.login = "login", e10.user = "user", e10.userActive = "user-active", e10.settings = "settings", e10.settingsActive = "settings-active", e10.link = "link", e10.mail = "mail", e10.phone = "phone", e10.message = "message", e10.attachment = "attachment", e10.download = "download", e10.upload = "upload", e10.refresh = "refresh", e10.filter = "filter", e10.home = "home", e10.homeActive = "home-active", e10.business = "business", e10.businessActive = "business-active", e10.searchEngines = "search-engines", e10.searchEnginesActive = "search-engines-active", e10.google = "google", e10.maps = "maps", e10.prize = "prize", e10.bulletList = "bullet-list", e10.list = "list", e10.listActive = "list-active", e10.socialMedia = "social-media", e10.socialMediaActive = "social-media-active", e10.gAds = "g-ads", e10.gAdsActive = "g-ads-active", e10.budget = "budget", e10.lineChart = "line-chart", e10.tools = "tools", e10.barChart = "bar-chart", e10.tasks = "tasks", e10.news = "news", e10.share = "share", e10.edit = "edit", e10.mobile = "mobile", e10.browser = "browser", e10.browserActive = "browser-active", e10.manageProjects = "manage-projects", e10.manageProjectsActive = "manage-projects-active", e10.lock = "lock", e10.lockOpen = "lock-open", e10.notification = "notification", e10.media = "media", e10.trafic = "trafic", e10.photo = "photo", e10.clock = "clock", e10.caretLeft = "caret-left", e10.caretRight = "caret-right", e10.caretUp = "caret-up", e10.caretDown = "caret-down", e10.end = "end", e10.start = "start", e10.arrowLeft = "arrow-left", e10.arrowRight = "arrow-right", e10.arrowUp = "arrow-up", e10.arrowDown = "arrow-down", e10.wizard = "wizard", e10.document = "document", e10.documentActive = "document-active", e10.api = "api", e10.visibility = "visibility", e10.card = "card", e10.visibilityOff = "visibility-off", e10.kebabMenu = "kebab-menu", e10.meatballsMenu = "meatballs-menu", e10.remove = "remove", e10.bing = "bing", e10.instagram = "instagram", e10.facebook = "facebook", e10.twitter = "twitter", e10.trash = "trash", e10.exclamation = "exclamation", e10.play = "play", e10.tag = "tag", e10.linkedin = "linkedin", e10.youtube = "youtube", e10.whatsapp = "whatsapp", e10.bank = "bank", e10.newTab = "new-tab", e10.sepa = "sepa", e10.sepaActive = "sepa-active", e10.pause = "pause", e10.details = "details", e10.qAnalysis = "q-analysis", e10.duplicate = "duplicate", e10.region = "region", e10.connect = "connect", e10.category = "category", e10.slideV = "slide-v", e10.slideH = "slide-h", e10.image = "image", e10.gmb = "gmb", e10.star = "star", e10.starActive = "star-active", e10.text = "text", e10.pinFilled = "pin-filled", e10.cursor = "cursor", e10.desktop = "desktop", e10.directions = "directions", e10.queriesBrand = "queries-brand", e10.queriesDiscovery = "queries-discovery", e10.queriesTarget = "queries-target", e10.tablet = "tablet", e10.question = "question", e10.send = "send", e10.emailAt = "email-at", e10.shield = "shield", e10.shieldActive = "shield-active", e10.dash = "dash", e10.low = "low", e10.medium = "medium", e10.high = "high", e10.ai = "ai", e10.aiReviews = "ai-reviews", e10.audioMicrophone = "audio-microphone", e10.audioSettings = "audio-settings", e10.callTracking = "call-tracking", e10.email = "email", e10.fax = "fax", e10.generate = "generate", e10.minimize = "minimize", e10.maximize = "maximize", e10.messageBad = "message-bad", e10.messageGood = "message-good", e10.messageNeutral = "message-neutral", e10.rewrite = "rewrite", e10.sorting = "sorting", e10.userRound = "user-round", e10.rec = "rec", e10.boost = "boost", e10.post = "post", e10.postsSeries = "posts-series", e10.event = "event", e10.like = "like";
})(Ln || (Ln = {}));
Object.values(Ln);
const kke = "link_Ul", Eke = "icon_ia", Cke = "disabled_kX", c1 = {
  link: kke,
  icon: Eke,
  disabled: Cke
}, Ske = (e10) => {
  const {
    href: t,
    newTabIcon: n,
    iconLeft: r,
    onClick: o,
    target: i = "_self",
    color: u = "--p500",
    iconName: p = Ln.newTab,
    disabled: v,
    ...y
  } = e10, k = () => v ? "--n300" : u || "--p500";
  return jsxRuntimeExports.jsxs("a", {
    href: t,
    target: i,
    className: Kt(c1.link, v ? c1.disabled : ""),
    rel: "noreferrer",
    role: "link",
    onClick: (T) => {
      o && !v && o();
    },
    children: [r && jsxRuntimeExports.jsx(li, {
      color: k(),
      className: c1.icon,
      children: p
    }), jsxRuntimeExports.jsx(nr, {
      color: k(),
      ...y
    }), n && jsxRuntimeExports.jsx(li, {
      color: k(),
      className: c1.icon,
      children: p
    })]
  });
}, Ake = (e10) => {
  const {
    className: t,
    ...n
  } = e10;
  return jsxRuntimeExports.jsx(c0, {
    ...n,
    className: `vanguard-popover ${t || ""}`.trim()
  });
}, Va = (e10) => {
  const {
    children: t,
    keepInDom: n = false,
    className: r
  } = e10;
  return n ? jsxRuntimeExports.jsx("div", {
    style: {
      display: e10.if ? void 0 : "none"
    },
    className: e10.className,
    children: t
  }) : e10.if && e10.className ? jsxRuntimeExports.jsx("span", {
    className: e10.className,
    children: t
  }) : e10.if ? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
    children: t
  }) : null;
}, jp = (e10) => {
  const {
    children: t,
    message: n,
    title: r,
    position: o = "top",
    arrow: i = true,
    wrapChildren: u = true,
    maxWidth: p,
    interactive: v = false,
    replacements: y,
    theme: k = "dark",
    hideUnderBreakpoint: T,
    className: R
  } = e10, I = H2(), [P, S] = reactExports.useState(false);
  if (reactExports.useEffect(() => {
    T && I < T && S(false);
  }, []), !n)
    return t;
  function U() {
    return typeof n == "string" ? jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
      children: [jsxRuntimeExports.jsx(Va, {
        if: !!r && typeof r == "string",
        children: jsxRuntimeExports.jsx(nr, {
          replacements: y,
          fontWeight: si.bold,
          children: r
        })
      }), jsxRuntimeExports.jsx(nr, {
        type: Er.textHelp,
        replacements: y,
        children: n
      })]
    }) : n ?? "";
  }
  function B() {
    return u ? jsxRuntimeExports.jsx("span", {
      children: t
    }, 1) : t;
  }
  return jsxRuntimeExports.jsx(x6, {
    title: U(),
    arrow: i,
    placement: o,
    PopperComponent: Ake,
    open: P,
    classes: R,
    PopperProps: {
      style: {
        maxWidth: p
      },
      className: k === "dark" ? "MuiTooltip-popper-dark" : "",
      placement: o
    },
    disableInteractive: !v,
    componentsProps: {
      tooltip: {
        style: {
          maxWidth: p
        }
      }
    },
    onMouseEnter: () => {
      if (T && I < T) {
        S(false);
        return;
      }
      S(true);
    },
    onMouseLeave: () => {
      S(false);
    },
    children: B()
  });
}, Bb = (e10) => {
  var At, it, Zt, un;
  const {
    id: t,
    className: n,
    formFieldType: r = "InputBase",
    type: o = "Text",
    roundedNumericCTAType: i = false,
    value: u,
    defaultValue: p,
    valueAsDefaultValue: v,
    placeholder: y,
    disabled: k,
    label: T,
    labelType: R = "floating",
    infoText: I,
    popoverMessage: P,
    popoverPosition: S = "top",
    multiline: U,
    rows: B,
    minRows: X = 3,
    maxRows: Z = 6,
    allowBreakLines: te,
    highlightUrl: Q,
    highlightWords: q,
    prohibitedWords: F,
    highlightLengthExceeded: ne,
    counter: ae,
    select: pe = false,
    selectRenderValue: Ve,
    selectDisplayEmpty: we,
    menuItemHeight: Te = 36,
    maxMenuItemsUntilScroll: be = 7,
    formconfig: ie,
    children: de,
    onFocus: ze,
    onBlur: nt,
    onKeyUp: ut,
    onKeyDown: Le,
    onInput: oe,
    onClick: Ue,
    onChange: We,
    onStepUpNumericClick: Ge,
    onStepDownNumericClick: Ze,
    testId: _e,
    isLoading: st,
    adornment: Ke,
    endAdornment: ht,
    textFieldProps: gt = {},
    replacements: xt,
    onProhibitedWordFound: ct,
    onHighlightWordFound: yt,
    triggerChangeOnStateFieldChange: Ot,
    theme: qe = "default",
    autoFocus: wt,
    highlightUrlType: en = "negative",
    popoverHighlight: Vt,
    helperLinkText: wn,
    onHelperLinkClick: dn,
    helperLinkDisabled: zt,
    helperLinkHref: jt,
    labelStyle: _t
  } = e10;
  let {
    maxLength: Pt
  } = e10;
  const Ht = H2(100);
  ie && (ie.fieldType = r);
  let {
    inputRef: kn
  } = e10;
  ie ? kn = ie._inputRef : kn || (kn = reactExports.useRef(null));
  const [Tn, hn] = reactExports.useState((u && typeof u == "string" && u.length) ?? 0), Nt = () => {
    Mn && gr && gr.current && kn && kn.current && (gr.current.style.height = `${kn.current.getBoundingClientRect().height.toString()}px`, gr.current.style.width = `${kn.current.getBoundingClientRect().width.toString()}px`, gr.current.scrollTop = kn.current.scrollTop, gr.current.scrollLeft = kn.current.scrollLeft);
  }, Qn = React.useMemo(() => _ve(Nt, 100), [Nt]);
  reactExports.useEffect(() => {
    hn(typeof u == "string" ? u.length : 0);
  }, [u]), reactExports.useEffect(() => {
    Qn();
  }, [Ht, Qn]), ie && ie != null && ie.validation && "maxLength" in (ie == null ? void 0 : ie.validation) && (Pt = (At = ie == null ? void 0 : ie.validation) == null ? void 0 : At.maxLength);
  let {
    required: hr
  } = e10;
  (((it = ie == null ? void 0 : ie.validation) == null ? void 0 : it.required) === true || ((Zt = ie == null ? void 0 : ie.validation) == null ? void 0 : Zt.required) === false) && (hr = (un = ie == null ? void 0 : ie.validation) == null ? void 0 : un.required);
  let [Wt, ir] = reactExports.useState((ie == null ? void 0 : ie.hasError) ?? false);
  ie && (Wt = !!ie.hasError), ie != null && ie.setHasError && (ir = ie.setHasError), reactExports.useEffect(() => {
    ie && (ie.hasError = Wt);
  }, [Wt]), reactExports.useEffect(() => {
    var dt;
    if (ie) {
      ie.hasError = Wt;
      const kt = (dt = ie._inputRef) == null ? void 0 : dt.current;
      r !== "Autocomplete" && ie.stateValue && kt && (kt.value = ie == null ? void 0 : ie.stateValue, Ot && We && We({
        target: {
          value: ie == null ? void 0 : ie.stateValue
        }
      })), ie.stateValue && hn(ie.stateValue.length);
    }
  }, [ie == null ? void 0 : ie.stateValue]), reactExports.useEffect(() => {
    No(ie == null ? void 0 : ie.stateValue);
  }, [ie == null ? void 0 : ie.stateValue, F]), reactExports.useEffect(() => {
    u && Q && typeof u == "string" && No(u);
  }, [Q, u, en]);
  const sn = () => T ? R === "static" ? {
    shrink: true,
    style: _t
  } : R === "outer" ? {
    shrink: true,
    style: _t
  } : null : {
    shrink: true,
    style: _t
  }, Rt = () => !T || R === "hidden" ? "vanguard-label-hidden" : R === "outer" ? "vanguard-label-outer" : "", $t = () => !T || R === "hidden" ? null : jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
    children: [Lf.get(T, xt).value, !hr && jsxRuntimeExports.jsx("span", {
      className: "vanguard-input-label-optional",
      style: {
        color: _t != null && _t.color ? `rgb(from ${_t.color} r g b / 0.7)` : void 0
      },
      children: Lf.get("Optional", void 0).value
    })]
  }), En = jsxRuntimeExports.jsxs("div", {
    style: {
      marginRight: "20px",
      display: "flex",
      flexDirection: "row",
      gap: "8px",
      cursor: "pointer"
    },
    children: [jsxRuntimeExports.jsx(li, {
      role: "button",
      testId: "button-step-down",
      onClick: (dt) => {
        Ze && Ze(dt);
      },
      color: "var(--n500)",
      fillColor: "var(--n100)",
      hasCircle: true,
      children: Ln.remove
    }), jsxRuntimeExports.jsx(li, {
      role: "button",
      testId: "button-step-up",
      onClick: (dt) => {
        Ge && Ge(dt);
      },
      color: "var(--n500)",
      fillColor: "var(--n100)",
      hasCircle: true,
      children: Ln.add
    })]
  }), In = (dt) => dt || null, _n = () => In(Ke), bn = () => In(ht);
  Ke && (gt.InputProps = {
    ...gt.InputProps,
    startAdornment: _n()
  }), ht && (gt.InputProps = {
    ...gt.InputProps,
    endAdornment: bn()
  }), r == "InputNumber" && i && (gt.InputProps = {
    ...gt.InputProps,
    endAdornment: En
  });
  const Sr = () => {
    var vi;
    const dt = {
      field_name: T,
      length: Tn || "0",
      ...ie == null ? void 0 : ie.validation,
      ...(vi = ie == null ? void 0 : ie.validation) == null ? void 0 : vi.replacements,
      ...xt
      // Info Text translation variables
    };
    let kt = "";
    Wt ? kt = jsxRuntimeExports.jsx(nr, {
      className: "vanguard-input-error-text",
      testId: "vanguard-input-error-text",
      fontWeight: si.regular,
      color: "--e500",
      replacements: dt,
      "aria-live": "polite",
      "aria-atomic": "true",
      children: ie != null && ie.errors ? ie == null ? void 0 : ie.errors[0] : null
    }) : I && (kt = jsxRuntimeExports.jsx(nr, {
      className: "vanguard-input-info-text",
      fontWeight: si.regular,
      replacements: dt,
      children: I
    }));
    let pn;
    ae && (pn = jsxRuntimeExports.jsxs(nr, {
      className: "vanguard-input-counter",
      fontWeight: si.regular,
      color: Wt ? "--e500" : "",
      translate: false,
      children: [Tn || "0", Pt && `/${Pt}`]
    }));
    let ar;
    return wn && dn && (ar = jsxRuntimeExports.jsx(Ske, {
      onClick: () => {
        dn(u ?? "");
      },
      className: "vanguard-input-helper-link-button",
      disabled: zt,
      href: jt,
      children: wn
    })), !kt && !pn && !ar ? null : jsxRuntimeExports.jsxs("span", {
      className: "vanguard-input-bottom-container",
      children: [jsxRuntimeExports.jsx(Va, {
        if: !!kt || !!pn,
        children: jsxRuntimeExports.jsxs("span", {
          className: "vanguard-input-bottom-container-line",
          children: [kt, pn]
        })
      }), ar]
    });
  }, Mn = ne || q || Q || F, gr = reactExports.useRef(null), [mi, Co] = reactExports.useState({
    __html: ""
  }), No = (dt) => {
    if (Mn || Co({
      __html: ""
    }), ne && Pt && (dt == null ? void 0 : dt.length) > Pt && (dt = kve(dt, Pt, "vanguard-input-mark-red")), q && q.length && q.forEach((pn) => {
      dt = dt == null ? void 0 : dt.replace(pn, `<span class="vanguard-input-mark-green">${pn}</span>`), dt != null && dt.includes(pn) && yt && yt(pn, ie);
    }), F && F.length && F.forEach((pn) => {
      dt = dt == null ? void 0 : dt.replace(pn, `<span class="vanguard-input-mark-red">${pn}</span>`), dt != null && dt.includes(pn) && ct && ct(pn, ie);
    }), Q && dt && dt.search(qs.url) >= 0) {
      let pn = "";
      switch (en) {
        case "negative":
          pn = "vanguard-input-mark-red";
          break;
        case "positive":
          pn = "vanguard-input-mark-green";
          break;
        case "info":
          pn = "vanguard-input-mark-blue";
          break;
      }
      dt = dt.replace(qs.url, `<span class="${pn}">$&</span>`);
    }
    const kt = npe(dt, {
      allowedAttributes: {
        span: ["class"]
      },
      allowedClasses: ["vanguard-input-mark-red", "vanguard-input-mark-green", "vanguard-input-mark-blue"]
    });
    Co({
      __html: kt
    });
  }, ls = () => {
    if (y)
      return Lf.get(y, xt).value;
  }, Qi = (dt) => P ? jsxRuntimeExports.jsx(jp, {
    position: S,
    message: P,
    wrapChildren: false,
    children: dt
  }) : dt, Fr = () => U ? {
    multiline: U,
    rows: B,
    minRows: X,
    maxRows: Z
  } : null, Yr = () => pe ? {
    select: pe,
    SelectProps: {
      renderValue: Ve,
      MenuProps: {
        PaperProps: {
          style: {
            maxHeight: Te * be
          }
        }
      }
    }
  } : null, yr = (dt) => {
    ze && ze(dt);
  }, uo = (dt) => {
    nt && nt(dt);
  }, xr = (dt) => {
    ut && ut(dt);
  }, to = (dt) => {
    Le && Le(dt), dt.code === "Enter" && !te && dt.preventDefault(), wve(dt, ie, u);
  }, ur = (dt) => {
    oe && oe(dt);
  }, ki = (dt) => {
    Ue && Ue(dt);
  }, Nr = Wg(), Gn = (dt) => {
    var pn, ar, vi, Sn, ui, lu, ci, jn;
    We && We(dt);
    let kt;
    if (ie) {
      if (ie.setStateValue) {
        if (r == "InputBase" || r == "Input" || r == "InputNumber" || r == "ColorPicker")
          if (kt = dt.currentTarget.value, (pn = ie.valueMappers) != null && pn.toObject && (kt = ie.valueMappers.toObject(kt)), ie.arrayPosition !== void 0 && ie.setStateValueArray)
            Nr(ie.setStateValueArray({
              el: kt,
              idx: ie.arrayPosition
            }));
          else {
            let Pr = kt;
            r == "InputNumber" && (Pr = parseInt(Pr)), r == "ColorPicker" ? x4(Pr) && Nr(ie.setStateValue(Pr)) : Nr(ie.setStateValue(Pr));
          }
        r == "Textarea" && (kt = dt.currentTarget.value, te || (kt = dt.currentTarget.value.replace(/(\r\n|\n|\r)/gm, " ")), (ar = ie.valueMappers) != null && ar.toObject && (kt = ie.valueMappers.toObject(kt)), ie.arrayPosition !== void 0 && ie.setStateValueArray ? Nr(ie.setStateValueArray({
          el: kt,
          idx: ie.arrayPosition
        })) : Nr(ie.setStateValue(kt))), r == "Select" && (kt = ((vi = dt.currentTarget) == null ? void 0 : vi.value) || ((Sn = dt.target) == null ? void 0 : Sn.value), (ui = ie.valueMappers) != null && ui.toObject && (kt = ie.valueMappers.toObject(kt)), ie.arrayPosition !== void 0 && ie.setStateValueArray ? Nr(ie.setStateValueArray({
          el: kt,
          idx: ie.arrayPosition
        })) : Nr(ie.setStateValue(kt)));
      }
      r === "Select" && ((lu = ie._inputRef) != null && lu.current) && (ie._inputRef.current.value = ((ci = dt.target) == null ? void 0 : ci.value) ?? ""), ie != null && ie._onChange && (ie == null || ie._onChange());
    } else
      kt = ((jn = dt.currentTarget) == null ? void 0 : jn.value) ?? "";
    hn(kt && typeof kt == "string" ? kt.length : 0), Mn && gr && gr.current && kn && kn.current && (gr.current.style.height = `${kn.current.getBoundingClientRect().height.toString()}px`, gr.current.style.width = `${kn.current.getBoundingClientRect().width.toString()}px`, No(te ? dt.currentTarget.value : dt.currentTarget.value.replace(/(\r\n|\n|\r)/gm, " ")));
  }, qo = () => {
    setTimeout(() => {
      Nt();
    }, 0);
  }, Dn = () => {
    Nt();
  };
  return Qi(jsxRuntimeExports.jsxs("div", {
    className: Kt("vanguard-input", n, Rt(), qe === "grey" ? "vanguard-input-grey" : "", st ? "vanguard-input-loading" : "", i ? "vanguard-input-type-number-rounded" : "", r === "ColorPicker" ? "vanguard-input-type-colorpicker" : ""),
    onClick: (dt) => ki(dt),
    children: [jsxRuntimeExports.jsx("div", {
      className: "vanguard-input-backdrop",
      ref: gr,
      children: jsxRuntimeExports.jsx("div", {
        className: "vanguard-input-highlights",
        dangerouslySetInnerHTML: mi
      })
    }), jsxRuntimeExports.jsx(Va, {
      if: st && r == "Textarea",
      children: jsxRuntimeExports.jsxs("div", {
        className: "vanguard-input-skeleton",
        ref: gr,
        children: [[...Array(Math.min(X, Z))].map((dt, kt) => jsxRuntimeExports.jsx(P1, {
          height: 16,
          width: "100%"
        }, kt)), jsxRuntimeExports.jsx(P1, {
          height: 16,
          width: "80%"
        })]
      })
    }), jsxRuntimeExports.jsx(Va, {
      if: st && (r == "Input" || r == "InputBase" || r == "InputNumber" || r == "Autocomplete"),
      children: jsxRuntimeExports.jsx("div", {
        className: "vanguard-input-skeleton",
        ref: gr,
        children: jsxRuntimeExports.jsx(P1, {
          height: 42,
          width: "100%"
        })
      })
    }), jsxRuntimeExports.jsx(E6, {
      autoFocus: wt,
      variant: "outlined",
      id: t,
      "data-testid": _e,
      fullWidth: true,
      label: $t(),
      InputLabelProps: sn() ?? void 0,
      type: o,
      value: v ? void 0 : u,
      defaultValue: v ? u : p,
      placeholder: ls(),
      helperText: jsxRuntimeExports.jsx(Sr, {}),
      error: Wt,
      required: hr,
      disabled: k,
      role: "textbox",
      ...Fr(),
      ...Yr(),
      onFocus: (dt) => yr(dt),
      onBlur: (dt) => uo(dt),
      onKeyUp: (dt) => xr(dt),
      onKeyDown: (dt) => to(dt),
      onInput: (dt) => ur(dt),
      onChange: (dt) => Gn(dt),
      onPaste: () => qo(),
      inputRef: kn,
      ...gt,
      inputProps: {
        ...gt.inputProps ?? {},
        onScroll: () => {
          Dn();
        }
      },
      children: de
    })]
  }));
}, D8e = (e10) => {
  const {
    className: t,
    counter: n = true,
    allowBreakLines: r = false,
    highlightUrl: o = true,
    highlightWords: i,
    highlightLengthExceeded: u = true,
    minRows: p,
    maxRows: v,
    popoverHighlight: y,
    testId: k,
    labelType: T = "static"
  } = e10;
  return jsxRuntimeExports.jsx(Li, {
    style: {
      width: "100%"
    },
    className: t,
    children: jsxRuntimeExports.jsx(Bb, {
      testId: k,
      formFieldType: "Textarea",
      counter: n,
      multiline: true,
      popoverHighlight: y,
      allowBreakLines: r,
      highlightUrl: o,
      highlightWords: i,
      highlightLengthExceeded: u,
      labelType: T,
      minRows: p,
      maxRows: v,
      ...e10
    })
  });
};
function C6(e10, t = 0) {
  const [n, r] = reactExports.useState(false);
  let o = null;
  const i = () => {
    t > 0 ? o = setTimeout(() => r(true), t) : r(true);
  }, u = () => {
    o && (clearTimeout(o), o = null), r(false);
  };
  return reactExports.useEffect(() => {
    const p = e10.current;
    if (p)
      return p.addEventListener ? (p.addEventListener("mouseover", i), p.addEventListener("mouseout", u)) : p.addListener ? (p.addListener("mouseover", i), p.addListener("mouseout", u)) : p.marker && (p.marker.addListener("mouseover", i), p.marker.addListener("mouseout", u)), () => {
        p.removeEventListener ? (p.removeEventListener("mouseover", i), p.removeEventListener("mouseout", u)) : p.marker && p.marker.removeListener && (p.marker.removeListener("mouseover", i), p.marker.removeListener("mouseout", u));
      };
  }, [e10.current, t]), n;
}
const Pke = "button-container-full-width_J7", Rke = "button_Kb", Ike = "button-inner-container_Ns", Mke = "button-icon-container_fL", Oke = "button-text_AL", Dke = "button-icon_KX", Fke = "loader-spinner_V5", Nke = "button-default_Gn", Lke = "button-primary_6G", Bke = "button-secondary_0L", zke = "button-shimmer_UR", Wke = "button-muted_-l", Uke = "inverted_hR", Hke = "blurred_Oe", $ke = "size-small_LU", Vke = "size-medium_i8", Gke = "size-large_aK", Yke = "size-extra-large_Fb", Xke = "has-icon-left_ag", Zke = "shape-round_-B", Kke = "button-label-hidden_CN", Jke = "has-icon-right_iS", Qke = "icon-on-hover-container_nW", jke = "icon-small-on-hover_jO", qke = "icon-large-on-hover_1I", Uo = {
  buttonContainerFullWidth: Pke,
  button: Rke,
  buttonInnerContainer: Ike,
  buttonIconContainer: Mke,
  buttonText: Oke,
  buttonIcon: Dke,
  loaderSpinner: Fke,
  buttonDefault: Nke,
  buttonPrimary: Lke,
  buttonSecondary: Bke,
  buttonShimmer: zke,
  buttonMuted: Wke,
  inverted: Uke,
  blurred: Hke,
  sizeSmall: $ke,
  sizeMedium: Vke,
  sizeLarge: Gke,
  sizeExtraLarge: Yke,
  hasIconLeft: Xke,
  shapeRound: Zke,
  buttonLabelHidden: Kke,
  hasIconRight: Jke,
  iconOnHoverContainer: Qke,
  iconSmallOnHover: jke,
  iconLargeOnHover: qke
};
var uf;
(function(e10) {
  e10.small = "small", e10.medium = "medium", e10.large = "large", e10.extraLarge = "extra-large";
})(uf || (uf = {}));
var Vo;
(function(e10) {
  e10.default = "default", e10.secondary = "secondary", e10.primary = "primary", e10.shimmer = "shimmer", e10.muted = "muted";
})(Vo || (Vo = {}));
const gh = (e10) => {
  const {
    iconLeft: t,
    iconRight: n,
    children: r,
    disabled: o,
    debounce: i,
    textWrap: u,
    fontWeight: p,
    textType: v,
    className: y,
    visible: k,
    iconSize: T,
    iconFillColor: R,
    iconHasCircle: I,
    iconLargeOnHover: P,
    color: S,
    hoverColor: U,
    isLoading: B,
    testId: X,
    replacements: Z,
    type: te = Vo.primary,
    size: Q = uf.medium,
    onClick: q,
    onMouseDown: F,
    uppercase: ne,
    w100: ae,
    shape: pe = "default"
  } = e10;
  let {
    icon: Ve,
    iconPosition: we = "left",
    rounded: Te = false,
    iconColor: be,
    targetRef: ie,
    iconHoverColor: de
  } = e10;
  const ze = "blurred" in e10 ? e10.blurred : false, nt = "inverted" in e10 ? e10.inverted : false;
  Ve || (t && (Ve = t, we = "left"), n && (Ve = n, we = "right")), Te = Te || pe === "round";
  const [ut, Le] = reactExports.useState(0), oe = reactExports.useRef(null);
  ie || (ie = oe);
  const Ue = reactExports.useRef(null), We = C6(ie);
  if (B && !Ve && !be && (Ve = Ln.save), !be)
    if (S)
      be = S;
    else
      switch (te) {
        case Vo.default:
          be = "--button-default-text-color";
          break;
        case Vo.secondary:
          be = "--button-secondary-text-color";
          break;
        case Vo.primary:
          be = "--button-primary-text-color";
          break;
        case Vo.shimmer:
          be = "--button-shimmer-text-color";
          break;
        case Vo.muted:
          be = nt ? "--button-muted-inverted-text-color" : "--button-muted-text-color";
          break;
      }
  if (de)
    switch (te) {
      case Vo.default:
        de = "--button-default-hover-text-color";
        break;
      case Vo.secondary:
        de = "--button-default-text-color";
        break;
      case Vo.primary:
        de = "--button-primary-text-color";
        break;
      case Vo.shimmer:
        de = "--button-shimmer-text-color";
        break;
      case Vo.muted:
        be = nt ? "--button-muted-inverted-text-color" : "--button-muted-text-color";
        break;
    }
  else if (U)
    de = U;
  else
    switch (te) {
      case Vo.default:
        de = "--button-default-hover-text-color";
        break;
      case Vo.secondary:
        de = "--button-secondary-hover-text-color";
        break;
      case Vo.primary:
        de = "--button-primary-hover-text-color";
        break;
      case Vo.shimmer:
        de = "--button-shimmer-hover-text-color";
        break;
      case Vo.muted:
        be = nt ? "--button-muted-inverted-text-color" : "--button-muted-text-color";
        break;
    }
  const Ge = reactExports.useCallback(() => {
    if (!o)
      return U && We ? U : S;
  }, [o, We, U, S]), Ze = reactExports.useCallback(() => {
    if (!o)
      return de && We ? de : be;
  }, [o, We, de, be]), _e = () => T || ai.small, st = () => T === "large" ? false : P, Ke = () => {
    switch (te) {
      case Vo.default:
        return Uo.buttonDefault;
      case Vo.primary:
        return Uo.buttonPrimary;
      case Vo.secondary:
        return Uo.buttonSecondary;
      case Vo.shimmer:
        return Uo.buttonShimmer;
      case Vo.muted:
        return Uo.buttonMuted;
      default:
        return Uo.buttonPrimary;
    }
  }, ht = () => {
    switch (Q) {
      case uf.small:
        return Uo.sizeSmall;
      case uf.medium:
        return Uo.sizeMedium;
      case uf.large:
        return Uo.sizeLarge;
      case uf.extraLarge:
        return Uo.sizeExtraLarge;
      default:
        return Uo.sizeMedium;
    }
  }, gt = (yt, Ot = false, qe = false) => yt ? jsxRuntimeExports.jsx("span", {
    className: Ot || qe ? Uo.buttonIconContainer : "",
    children: jsxRuntimeExports.jsx(li, {
      type: qe ? ai.large : _e(),
      className: Kt(Uo.buttonIcon, B ? Uo.loaderSpinner : ""),
      color: Ze(),
      fillColor: R,
      hasCircle: o || B ? false : I,
      testId: X ? `${X}_icon` : "",
      children: yt
    })
  }) : null, xt = (yt) => {
    var Ot;
    if (i) {
      const qe = Date.now();
      if (qe - ut < i)
        return;
      Le(qe);
    }
    o || B || (Ue && Ue.current && ((Ot = Ue == null ? void 0 : Ue.current) == null || Ot.blur()), q && q(yt));
  }, ct = (yt) => {
    o || B || F && F(yt);
  };
  return k === false ? null : jsxRuntimeExports.jsx("span", {
    "data-testid": X,
    ref: ie,
    className: Kt(Uo.buttonContainer, ae ? Uo.buttonContainerFullWidth : ""),
    onClick: xt,
    onMouseDown: ct,
    children: jsxRuntimeExports.jsx("button", {
      ref: Ue,
      "data-testid": `${X ? `${X}_` : ""}button`,
      disabled: !!o,
      className: Kt("material-ripple", Uo.button, Ke(), ht(), y || "", r && (r != null && r.length) ? "" : Uo.buttonLabelHidden, Ve && we === "left" ? Uo.hasIconLeft : "", Ve && we === "right" ? Uo.hasIconRight : "", Te ? Uo.shapeRound : "", ze ? Uo.blurred : "", nt ? Uo.inverted : ""),
      children: jsxRuntimeExports.jsxs("div", {
        className: Uo.buttonInnerContainer,
        children: [Ve && we === "left" ? st() && !B && !o ? jsxRuntimeExports.jsxs("div", {
          className: Uo.iconOnHoverContainer,
          children: [jsxRuntimeExports.jsx("div", {
            className: Uo.iconSmallOnHover,
            children: jsxRuntimeExports.jsx(zf, {
              in: !We,
              children: gt(Ve, true) ?? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {})
            })
          }), jsxRuntimeExports.jsx("div", {
            className: Uo.iconLargeOnHover,
            children: jsxRuntimeExports.jsx(zf, {
              in: We,
              children: gt(Ve, false, true) ?? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {})
            })
          })]
        }) : gt(Ve) : null, r && jsxRuntimeExports.jsx(nr, {
          replacements: Z,
          textWrap: u,
          type: v || void 0,
          fontWeight: p || si.medium,
          className: Uo.buttonText,
          color: Ge(),
          uppercase: ne,
          children: r
        }), Ve && we === "right" ? st() && !B && !o ? jsxRuntimeExports.jsxs("div", {
          className: Uo.iconOnHoverContainer,
          children: [jsxRuntimeExports.jsx("div", {
            className: Uo.iconSmallOnHover,
            children: jsxRuntimeExports.jsx(zf, {
              in: !We,
              children: gt(Ve, true) ?? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {})
            })
          }), jsxRuntimeExports.jsx("div", {
            className: Uo.iconLargeOnHover,
            children: jsxRuntimeExports.jsx(zf, {
              in: We,
              children: gt(Ve, false, true) ?? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {})
            })
          })]
        }) : gt(Ve) : null]
      })
    })
  });
}, eEe = (e10) => {
  const {
    children: t,
    childConfig: n,
    formConfig: r,
    idx: o,
    onChange: i,
    onBlur: u,
    childAdded: p,
    childRemoved: v,
    formConfigKey: y = "formconfig"
  } = e10, k = reactExports.useRef(null), [T, R] = reactExports.useState([]), [I, P] = reactExports.useState(false), [S, U] = reactExports.useState(false), [B, X] = reactExports.useState("");
  reactExports.useEffect(() => {
    q(n);
  }, [n]), reactExports.useEffect(() => {
    const F = n.stateFieldName;
    if (F && B) {
      const ne = {
        name: F,
        isValid: K0(n),
        hasChanges: te(n),
        childFormConfig: n
      };
      i && i(ne);
    }
  }, [B]), reactExports.useEffect(() => () => {
    v && v(n);
  }, []), reactExports.useEffect(() => {
    p && p(n);
  }, [n]);
  const Z = (F) => {
    var ae;
    const ne = F.stateFieldName;
    if (F && ne) {
      F._inputRef = k, F.errors = T, F.setErrors = R, F.hasError = I, F.setHasError = P, F.isDirty = S, F.setIsDirty = U;
      const pe = `set${A_(ne)}`, Ve = `set${A_(ne)}inArray`, we = r && r[ne], Te = we && r[ne].reducer ? r[ne].reducer : {}, be = (we && r[ne].slice) ?? {}, ie = be[pe], de = be[Ve];
      let ze = Te[ne];
      o !== void 0 && (ze = ze[o], F.arrayPosition = o), F && (ae = F.valueMappers) != null && ae.toPrimitive && (ze = F.valueMappers.toPrimitive(ze)), F.stateValue = ze, F.setStateValue = ie, F.setStateValueArray = de, F.setStateValue && F.setStateValue(ze);
    }
  }, te = (F) => {
    let ne = false;
    return F && F.getValue && F.getInitialValue && F.setIsDirty && (F.getValue() != F.getInitialValue() ? (ne = true, F.setIsDirty(true)) : (ne = false, F.setIsDirty(false))), ne;
  }, Q = (F) => {
    const ne = F._onChange, ae = F._onBlur, pe = F.stateFieldName;
    F && pe && (F._onChange = (Ve) => {
      Ve && ne && ne(Ve);
      const we = {
        name: pe,
        isValid: K0(F, F.validateOn === "blur"),
        hasChanges: te(F),
        childFormConfig: F
      };
      i && i(we);
    }, F._onBlur = (Ve) => {
      if (F.validateOn !== "blur")
        return;
      Ve && ae && ae(Ve);
      const we = {
        name: pe,
        isValid: K0(F),
        hasChanges: te(F),
        childFormConfig: F
      };
      u && u(we);
    });
  }, q = (F) => {
    const ne = _4(F);
    X(ne || "");
  };
  if (Z(n), Q(n), React.isValidElement(t)) {
    const F = {};
    return F[y] = n, React.cloneElement(t, F);
  }
  return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
    children: t
  });
}, S6 = reactExports.createContext(null), tEe = ({
  children: e10,
  formConfig: t,
  parentOnChange: n
}) => jsxRuntimeExports.jsx(S6.Provider, {
  value: {
    formConfig: t,
    parentOnChange: n
  },
  children: e10
}), nEe = () => reactExports.useContext(S6), N8e = (e10) => {
  const {
    className: t,
    children: n,
    config: r,
    onChange: o
  } = e10, i = {}, u = nEe(), p = (u == null ? void 0 : u.parentOnChange) || o, [v, y] = reactExports.useState({
    hasChanges: false,
    isValid: true,
    inputsChanges: {},
    inputsStatus: {},
    currentConfig: null
  });
  reactExports.useEffect(() => {
    p && p(v);
  }, [v]);
  const k = (B) => {
    let X = null;
    if (typeof B != "string" && typeof B != "number" && typeof B != "boolean") {
      const Z = B == null ? void 0 : B.props;
      X = Z.formconfig || Z.formConfig;
    }
    return Object.assign({}, X);
  }, T = (B) => {
    let X = null;
    return typeof B != "string" && typeof B != "number" && typeof B != "boolean" && (X = (B == null ? void 0 : B.props).formconfig ? "formconfig" : "formConfig"), X;
  }, R = () => {
    let B = false;
    if (r && r._internalInputs)
      for (const X in r._internalInputs.current)
        K0(r._internalInputs.current[X].config) || (B = true);
    return {
      hasError: B
    };
  }, I = (B) => {
    r && r._removeInternalInput && r._removeInternalInput(B);
    const {
      hasError: X
    } = R();
    y((Z) => ({
      isValid: !X,
      hasChanges: Z.hasChanges,
      inputsChanges: Z.inputsChanges,
      inputsStatus: Z.inputsStatus,
      currentConfig: Z.currentConfig
    }));
  }, P = (B) => {
    const X = String(B.childFormConfig.arrayPosition ?? ""), Z = {};
    Z[B.name] = B.isValid, Z[B.name + X] = B.isValid;
    const te = {};
    te[B.name] = B.hasChanges, te[B.name + X] = B.hasChanges, y((Q) => {
      const q = {
        ...Q.inputsStatus,
        ...Z
      }, ne = Object.entries(q).filter(([we, Te]) => Te === false), ae = {
        ...Q.inputsChanges,
        ...te
      };
      return {
        hasChanges: Object.entries(ae).filter(([we, Te]) => Te === true).length !== 0,
        inputsChanges: ae,
        isValid: ne.length === 0,
        inputsStatus: q,
        currentConfig: B.childFormConfig
      };
    });
  }, S = (B) => {
    P(B);
  }, U = (B) => React.Children.map(B, (X) => {
    if (React.isValidElement(X)) {
      let Z;
      const te = k(X), Q = T(X), q = te.stateFieldName, F = X == null ? void 0 : X.props;
      return !te || !te.stateFieldName || !Q ? F.children ? React.cloneElement(X, {}, U(F.children)) : X : (te.isArray && q && (i[q] !== void 0 ? i[q]++ : i[q] = 0, Z = i[q]), jsxRuntimeExports.jsx(eEe, {
        onChange: P,
        onBlur: S,
        childConfig: te,
        formConfigKey: Q,
        formConfig: r,
        idx: Z,
        childAdded: (ne) => {
          r && r._addInternalInput && r._addInternalInput(ne);
        },
        childRemoved: I,
        children: X
      }));
    }
    return X;
  });
  return jsxRuntimeExports.jsx(tEe, {
    formConfig: r || null,
    parentOnChange: o,
    children: jsxRuntimeExports.jsx(Li, {
      className: `Form-container ${t}`,
      children: U(n)
    })
  });
}, L8e = (e10) => {
  const {
    className: t,
    inputClassName: n,
    type: r = "text",
    testId: o
  } = e10, i = reactExports.useMemo(() => r === "number" ? "InputNumber" : "Input", [r]);
  return jsxRuntimeExports.jsx(Li, {
    className: t,
    children: jsxRuntimeExports.jsx(Bb, {
      testId: o,
      formFieldType: i,
      type: r,
      multiline: false,
      ...e10,
      className: n
    })
  });
}, rEe = "desc-under-title_Qy", oEe = {
  descUnderTitle: rEe
}, B8e = (e10) => {
  const {
    className: t,
    options: n,
    customOptionsRenderer: r,
    value: o = "",
    adornment: i,
    testId: u,
    translateOptions: p = true,
    valueAsDefaultValue: v = true,
    descriptionUnderTitle: y = false,
    ellipsis: k = false,
    containToSelectWidth: T = false,
    freeSolo: R = false,
    customInputRenderer: I
  } = e10, [P, S] = reactExports.useState(o), [U, B] = reactExports.useState(null), [X, Z] = reactExports.useState(0), [te, Q] = reactExports.useState(0), q = reactExports.useRef(null), F = (ae) => i ? i[ae] : null;
  reactExports.useEffect(() => {
    if (q.current) {
      const ae = q.current.clientWidth;
      Z(ae);
    }
  }, [q]), reactExports.useEffect(() => {
    S(o);
  }, [o]), reactExports.useEffect(() => {
    const ae = n == null ? void 0 : n.find((pe) => pe.value === P);
    Q(Number(ae == null ? void 0 : ae.key)), B(ae || null);
  }, [P, n]);
  const ne = (ae) => {
    const pe = ae.target.value;
    S(pe);
    const Ve = n == null ? void 0 : n.find((we) => we.value === pe);
    Ve && (e10.onChange && e10.onChange(ae, Ve), Q(Number(Ve == null ? void 0 : Ve.key)), B(Ve));
  };
  return jsxRuntimeExports.jsx(Li, {
    className: Kt(t),
    testId: u,
    innerRef: q,
    children: jsxRuntimeExports.jsx(Bb, {
      ...e10,
      formFieldType: "Select",
      value: P,
      valueAsDefaultValue: v,
      select: true,
      multiline: false,
      adornment: F(te),
      triggerChangeOnStateFieldChange: true,
      selectRenderValue: (ae) => {
        if (!n)
          return "";
        const pe = n.find((Ve) => Ve.value === ae);
        if (I && typeof I == "function") {
          const Ve = pe ?? {
            className: "",
            description: "",
            disabled: false,
            key: "",
            leftImageUrl: "",
            title: "",
            value: ""
          };
          return React.createElement(I, {
            ...Ve,
            selectedItem: U ?? null
          });
        }
        return !pe && !R ? null : p && pe ? Lf.get(`${pe.title}`).value : pe ? pe.title : ae;
      },
      onChange: ne,
      children: n && n.map((ae, pe) => jsxRuntimeExports.jsxs(u3, {
        value: ae.value,
        disabled: ae.disabled,
        className: Kt(vh, zp),
        style: T ? {
          maxWidth: X
        } : void 0,
        children: [jsxRuntimeExports.jsxs(Va, {
          if: !r,
          children: [F(pe), ae.leftImageUrl && jsxRuntimeExports.jsx("img", {
            src: ae.leftImageUrl,
            alt: "",
            width: "32",
            height: "24"
          }), jsxRuntimeExports.jsxs("div", {
            className: Kt(y ? oEe.descUnderTitle : "", vh, zp),
            children: [jsxRuntimeExports.jsx(nr, {
              type: Er.text,
              translate: p,
              children: ae.title
            }), ae.description && jsxRuntimeExports.jsx(nr, {
              type: Er.textHelp,
              translate: p,
              ellipsis: k,
              children: ae.description
            })]
          })]
        }), jsxRuntimeExports.jsx(Va, {
          if: !!r,
          children: typeof r == "function" && React.createElement(r, {
            ...ae,
            selectedItem: U ?? null
          })
        })]
      }, ae.key ?? pe))
    })
  });
};
var sv = {}, lv = {}, aw;
function A6() {
  return aw || (aw = 1, (function(e10) {
    e10.__esModule = true, e10.default = o;
    var t = /[\u0300-\u036f]/g, n = /ł/g, r = /ñ/g;
    function o(i) {
      return i.toLowerCase().normalize("NFD").replace(t, "").replace(n, "l").replace(r, "n").trim();
    }
  })(lv)), lv;
}
var zh = {}, sw;
function lw() {
  if (sw) return zh;
  sw = 1, zh.__esModule = true, zh.aggressiveFuzzyMatch = v, zh.createFuzzySearchImpl = R, zh.experimentalSmartFuzzyMatch = y, zh.fuzzyMatchImpl = T;
  var e10 = t(A6());
  function t(I) {
    return I && I.__esModule ? I : { default: I };
  }
  var n = Number.MAX_SAFE_INTEGER, r = function(P, S) {
    return (
      /*: number*/
      P.score - S.score
    );
  }, o = function(P, S) {
    return (
      /*: number*/
      P[0] - S[0]
    );
  }, i = new Set(`  []()-–—'"“”`.split(""));
  function u(I) {
    return i.has(I);
  }
  function p(I, P, S, U, B, X, Z) {
    if (I === U)
      return [0, [[0, I.length - 1]]];
    var te = U.length, Q = P.length, q = B.length;
    if (P === B)
      return [0.1, [[0, Q - 1]]];
    if (P.startsWith(B))
      return [0.5, [[0, q - 1]]];
    var F = I.indexOf(U);
    if (F > -1 && u(I[F - 1]))
      return [0.9, [[F, F + te - 1]]];
    var ne = P.indexOf(B);
    if (ne > -1 && u(P[ne - 1]))
      return [1, [[ne, ne + te - 1]]];
    var ae = X.length;
    if (ae > 1 && X.every(function(Ve) {
      return S.has(Ve);
    })) {
      var pe = 1.5 + ae * 0.2;
      return [pe, X.map(function(Ve) {
        var we = P.indexOf(Ve);
        return [we, we + Ve.length - 1];
      }).sort(o)];
    }
    return ne > -1 ? [2, [[ne, ne + te - 1]]] : Z === "aggressive" ? v(P, B) : Z === "smart" ? y(P, B) : null;
  }
  function v(I, P) {
    for (var S = I.length, U = P.length, B = 0, X = P[B], Z = [], te = -1, Q = -2, q = 0; q < S; q += 1)
      if (I[q] === X) {
        if (q !== Q + 1 && (te >= 0 && Z.push([te, Q]), te = q), Q = q, B += 1, B === U)
          return Z.push([te, Q]), k(Z, I);
        X = P[B];
      }
    return null;
  }
  function y(I, P) {
    for (var S = I.length, U = [], B = 0, X = P[B], Z = -1, te = -2; ; ) {
      var Q = I.indexOf(X, te + 1);
      if (Q === -1)
        break;
      if (Q === 0 || u(I[Q - 1]))
        Z = Q;
      else {
        var q = P.length - B, F = I.length - Q, ne = Math.min(3, q, F), ae = P.slice(B, B + ne);
        if (I.slice(Q, Q + ne) === ae)
          Z = Q;
        else {
          te += 1;
          continue;
        }
      }
      for (te = Z; te < S && I[te] === X; te += 1)
        B += 1, X = P[B];
      if (te -= 1, U.push([Z, te]), B === P.length)
        return k(U, I);
    }
    return null;
  }
  function k(I, P) {
    var S = 2;
    return I.forEach(function(U) {
      var B = U[0], X = U[1], Z = X - B + 1, te = B === 0 || P[B] === " " || P[B - 1] === " ", Q = X === P.length - 1 || P[X] === " " || P[X + 1] === " ", q = te && Q;
      q ? S += 0.2 : te ? S += 0.4 : Z >= 3 ? S += 0.8 : S += 1.6;
    }), [S, I];
  }
  function T(I, P) {
    var S = (0, e10.default)(P), U = S.split(" "), B = (0, e10.default)(I), X = new Set(B.split(" ")), Z = p(I, B, X, P, S, U, "smart");
    return Z ? {
      item: I,
      score: Z[0],
      matches: [Z[1]]
    } : null;
  }
  function R(I, P) {
    var S = P.strategy, U = S === void 0 ? "aggressive" : S, B = P.getText, X = I.map(function(Z) {
      var te;
      if (B)
        te = B(Z);
      else {
        var Q = P.key ? Z[P.key] : Z;
        te = [Q];
      }
      var q = te.map(function(F) {
        var ne = F || "", ae = (0, e10.default)(ne), pe = new Set(ae.split(" "));
        return [ne, ae, pe];
      });
      return [Z, q];
    });
    return function(Z) {
      var te = [], Q = (0, e10.default)(Z), q = Q.split(" ");
      return Q.length ? (X.forEach(function(F) {
        for (var ne = F[0], ae = F[1], pe = n, Ve = [], we = 0, Te = ae.length; we < Te; we += 1) {
          var be = ae[we], ie = be[0], de = be[1], ze = be[2], nt = p(ie, de, ze, Z, Q, q, U);
          nt ? (pe = Math.min(pe, nt[0]), Ve.push(nt[1])) : Ve.push(null);
        }
        pe < n && te.push({
          item: ne,
          score: pe,
          matches: Ve
        });
      }), te.sort(r), te) : [];
    };
  }
  return zh;
}
var uw;
function iEe() {
  return uw || (uw = 1, (function(e10) {
    e10.__esModule = true, e10.default = r, e10.fuzzyMatch = o;
    var t = n(A6());
    e10.normalizeText = t.default;
    function n(i) {
      return i && i.__esModule ? i : { default: i };
    }
    function r(i, u) {
      return u === void 0 && (u = {}), lw().createFuzzySearchImpl(i, u);
    }
    function o(i, u) {
      return lw().fuzzyMatchImpl(i, u);
    }
  })(sv)), sv;
}
iEe();
const uEe = () => {
  var e10, t;
  return ((e10 = wi.react_app) == null ? void 0 : e10.is_auth) || ((t = wi.reputation_widget_env_config) == null ? void 0 : t.is_auth);
}, P6 = (e10) => {
  if (!e10 || e10.startsWith("http:") || e10.startsWith("https:") || e10.startsWith("data:image") || uEe())
    return e10;
  const t = wi.__ENDPOINT_ENV__;
  return `${t ? `https://${t}.rankingcoach.com` : "https://rankingcoach.com"}/${e10}`;
}, cEe = {
  "": "",
  192: "192",
  11870: "11870",
  11880: "11880",
  11888: "11888",
  11890: "11890",
  "2findlocal": "_2findlocal",
  abclocal: "abclocal",
  "acompio-uk": "acompiocouk",
  acompio_co_uk: "acompiocouk",
  aiyellow: "aiyellow",
  al_dia: "al_dia",
  allebedrijvenin: "allebedrijvenin",
  annuaire118712: "annuaire118712",
  annuaireprofrance: "annuaireprofrance",
  apontador: "apontador",
  apple_maps: "apple-maps",
  "apple-maps": "apple-maps",
  amex: "amex",
  aolca: "aolca",
  azet: "azet",
  bazafirm: "bazafirm",
  bell: "bell",
  bing: "bing",
  biznesfinder: "biznesfinder",
  blauebranchen: "blauebranchen",
  brabys: "brabys",
  branchenbuch: "branchenbuch",
  branchenbuchschweiz: "branchenbuch_schweiz",
  branchenbuchdeutschland: "branchenbuchdeutschland",
  branchenmorgen: "branchenmorgen",
  "brownbook-net": "brownbook",
  brownbook: "brownbook",
  bundestelefonbuch: "bundestelefonbuch",
  bundes_telefonbuch: "bundestelefonbuch",
  busquedalocal: "busquedalocal",
  canada411: "canada411",
  canpages: "canpages",
  centralindex: "centralindex",
  chamber_of_commerce: "chamber_of_commerce",
  citipages: "citipages",
  citylocal: "citylocal",
  citysquares: "citysquares",
  cityvisitor: "cityvisitor",
  compnet: "compnet",
  couverts: "couverts",
  cylex: "cylex",
  dasbranchenbuch: "das_branchenbuch",
  dasoertliche: "dasoertliche",
  default: "default",
  detelefoongids: "detelefoongids",
  dialo: "dialo",
  diana: "diana",
  dlook: "dlook",
  e118000: "e118000",
  "118000fr": "e118000",
  el_tiempo_latino: "el_tiempo_latino",
  elocal: "elocal",
  entrei: "entrei",
  europages: "europages",
  ezlocal: "ezlocal",
  facebook: "facebook",
  factual: "factual",
  "find-open": "findopen",
  firmenwissen: "firmen_wissen",
  firmenabc: "firmenabc",
  firmy: "firmy",
  firmycz: "firmycz",
  focus: "focus",
  fonecta: "fonecta",
  foursquare: "foursquare",
  freieauskunft: "freieauskunft",
  fyple: "fyple",
  garmin: "garmin",
  gelbeseiten: "gelbeseiten",
  gmx: "gmx",
  goldenpages: "goldenpages",
  golocal: "golocal",
  goyellow: "goyellow",
  guiamais: "guiamais",
  guidelocal: "guidelocal",
  nokia: "here_wego",
  herold: "herold",
  holidaycheck: "holidaycheck",
  hoodspot: "hoodspot",
  hotfrog: "hotfrog",
  houston_chronicles: "houston_chronicles",
  iglobal: "iglobal",
  ilocal: "ilocal",
  indotrading: "indotrading",
  infobel: "infobel",
  infoisinfo: "infoisinfo",
  insiderpages: "insiderpages",
  instagram: "instagram",
  jelloo: "jelloo",
  judysbook: "judysbook",
  justacote: "justacote",
  justdial: "justdial",
  klicktel: "klicktel",
  kompass: "kompass",
  koomio: "koomio",
  la_voz: "la_voz",
  listaamarela: "listaamarela",
  liverpoolecho: "liverpoolecho",
  local: "local",
  localdatasearch: "local_data_search",
  localdatabase: "local_database",
  localdirectory: "local_directory",
  lokaleauskunft: "lokaleauskunft",
  loocal: "loocal",
  looklocal: "looklocal",
  manta: "manta",
  mapquest: "mapquest",
  meinestadt: "meinestadt",
  meinungsmeister: "meinungsmeister",
  merchantcircle: "merchantcircle",
  microsoftcortana: "microsoft_cortana",
  misterwhat: "mister_what",
  mm: "mm",
  moovility: "moovility",
  money: "money",
  mundohispanico: "mundohispanico",
  myhuckleberry: "my_huckleberry",
  my_local_services: "my_local_services",
  n49: "n49",
  navmii: "navmii",
  offnungszeitenbuch: "offnungszeitenbuch",
  oneandone: "one_and_one",
  openAI: "openAI",
  opendi: "opendi",
  opendiit: "opendit",
  opendit: "opendit",
  opendi_ch: "opendi_ch",
  "opendi-ch": "opendi_ch",
  "opendi-uk": "opendi",
  "opendi-es": "opendi",
  "opendi-nl": "opendi",
  page24: "pages_24",
  "pages24-nl": "pages_24",
  "pages24-ch": "pages_24",
  pagesdor: "pagesdor",
  pagesjaunes: "pagesjaunes",
  pagesjaunesfr: "pagesjaunesfr",
  paginasamarillas: "paginasamarillas",
  pagineaziende: "pagineaziende",
  paginegialle: "paginegialle",
  paginemail: "paginemail",
  palm_beach_post: "palm_beach_post",
  panoramafirm: "panorama_firm",
  phonepages: "phonepages",
  pj_ca: "pj.ca",
  pratique: "pratique",
  prontoimprese: "prontoimprese",
  qdq: "qdq",
  rekomendowanefirmy: "rekomendowanefirmy",
  reteimprese: "reteimprese",
  ricercare_imprese: "ricercare_imprese",
  scoot: "scoot",
  showmelocal: "showmelocal",
  siri: "siri",
  snupit: "snupit",
  stadtbranchenbuch: "stadtbranchenbuch",
  "stadtbranchenbuch-ch": "stadtbranchenbuch",
  stadtplan: "stadtplan",
  startlocal: "startlocal",
  startlocalin: "startlocalin",
  statesman: "statesman",
  streetdirectory: "streetdirectory",
  suchech: "suchech",
  superpages: "superpages",
  swissguide: "swissguide",
  switchboard: "switchboard",
  targeo: "targeo",
  telaustria: "telaustria",
  telefoonboek: "telefoonboek",
  telelistas: "telelistas",
  thedailyrecord: "thedailyrecord",
  theeveningstandard: "theeveningstandard",
  theindependent: "theindependent",
  themirror: "themirror",
  thescotsman: "thescotsman",
  thesun: "thesun",
  thomsonlocal: "thomsonlocal",
  tipped: "tipped",
  tiktok: "tiktok",
  tomtom: "tomtom",
  touchlocal: "touchlocal",
  tripadvisor: "tripadvisor",
  trivago: "trivago",
  trovaziende: "trovaziende",
  truelocal: "truelocal",
  tupalo: "tupalo",
  tuugo: "tuugo",
  twitter: "twitter",
  x: "twitter",
  uber: "uber",
  univision: "univision",
  unternehmensauskunft_com: "unternehmensauskunft_com",
  us_info_com: "us_info_com",
  uscity: "uscity",
  virgilio: "virgilio",
  vresgr: "vres_gr",
  vriskogr: "vrisko_gr",
  wand: "wand",
  waze: "waze",
  webde: "webde",
  weblocal: "weblocal",
  whatswhat: "whatswhat",
  wheresbest: "wheresbest",
  whereto: "whereto",
  "where-to-": "whereto",
  wogibtswas: "wogibtswas",
  "wogibtswas-at": "wogibtswas",
  yalwa: "yalwa",
  yandex: "yandex",
  yasabe: "yasabe",
  yell: "yell",
  yellbo: "yellbo",
  yellosa: "yellosa",
  yellow_pages_singapore: "yellow_pages_singapore",
  yellowbook: "yellowbook",
  yellowbot: "yellowbot",
  yellowmap: "yellowmap",
  yellowpages: "yellowpages",
  yellowpages_canada: "yellowpages_canada",
  yellowpagesid: "yellowpagesid",
  yellowpagesza: "yellowpagesza",
  yelp: "yelp",
  yourlocal: "yourlocal",
  zlatestranky: "zlatestranky",
  zoznam: "zoznam",
  zumi: "zumi",
  gmb: "gmb",
  google: "google",
  "google-business-profile": "google",
  googlesearch: "google_search",
  googlemaps: "googleplaces",
  googleplaces: "googleplaces",
  googleassistant: "google_assistant",
  facebookfilled: "facebook_filled",
  businessdirectories: "business_directories",
  hubspot: "hubspot",
  linkedin: "linkedin",
  notificationbell: "notification_bell",
  businessbranchenbuch: "businessbranchenbuch",
  alfa_romeo: "alfa_romeo",
  "alfa-romeo": "alfa_romeo",
  localstack: "localstack",
  renault: "renault",
  psa_groupe: "psa_groupe",
  "psa-groupe": "psa_groupe",
  vw: "vw",
  bosch: "bosch",
  mercedes: "mercedes",
  "mercedes-benz": "mercedes",
  google_analytics: "google_analytics",
  local_ch: "local.ch",
  toyota: "toyota",
  mapbox: "mapbox",
  ypcom: "yp.com",
  bmw: "bmw",
  snap: "snap",
  ssang_yong_motor: "ssang_yong_motor",
  "ssangyong-motor": "ssang_yong_motor",
  samsung: "samsung",
  hyundai: "hyundai",
  fiat: "fiat",
  mazda: "mazda",
  google_business_profile: "google_business_profile",
  subaru: "subaru",
  chrysler: "chrysler",
  audi: "audi",
  google_ads: "google_ads",
  google_ads_circled: "google_ads_circled",
  chillwall: "chillwall",
  better_business_bureau: "better_business_bureau",
  "better-business-bureau": "better_business_bureau",
  brave: "brave",
  doordash: "doordash",
  all_events_in_city: "all_events_in_city",
  brunch_lunch_dinner: "brunch_lunch_dinner",
  "brunch-lunch-dinner": "brunch_lunch_dinner",
  amazon_alexa: "amazon_alexa",
  alexa: "amazon_alexa",
  aroundme: "aroundme",
  banks_com: "banks_com",
  "dun-bradstreet": "dun-bradstreet",
  eventbrite: "eventbrite",
  evensi: "evensi",
  data_axle: "data_axle",
  eventseeker: "eventseeker",
  dealer_rater: "dealer_rater",
  carfax: "carfax",
  eniro: "eniro",
  apple: "apple",
  acompio: "acompio",
  acompiofr: "acompio",
  aussie_web: "aussie_web",
  cityspark: "cityspark",
  "8coupons": "8coupons",
  americantowns: "americantowns",
  cured: "cured",
  docspot: "docspot",
  citysearch: "citysearch",
  allmenus: "allmenus",
  ablocal: "ablocal",
  askunft_de: "askunft_de",
  ezdoctor: "ezdoctor",
  finder: "finder",
  finderr: "finderr",
  golocal247: "golocal247",
  goudengids_be: "goudengids_be",
  goudengids_nl: "goudengids_nl",
  gulesider: "gulesider",
  horairesdouverture24: "horairesdouverture24",
  hostme: "hostme",
  instacart: "instacart",
  ibegin: "ibegin",
  hitta: "hitta",
  kaufda: "kaufda",
  krankenhaus: "krankenhaus",
  lendingtree: "lendingtree",
  local_com: "local_com",
  locanto: "locanto",
  mapstr: "mapstr",
  menupix: "menupix",
  mytown_ie: "mytown_ie",
  ndrive: "ndrive",
  neustar_localeze: "neustar_localeze",
  nextdoor: "nextdoor",
  nochoffen: "nochoffen",
  oeffnungszeiten: "oeffnungszeiten",
  "oeffnungszeiten-com": "oeffnungszeiten",
  oeffnungszeitenbuch: "oeffnungszeitenbuch",
  openingstijden_nl: "openingstijden_nl",
  "openingstijden-nl": "openingstijden_nl",
  opentable: "opentable",
  oraridapertura24: "oraridapertura24",
  ortsdienst_de: "ortsdienst_de",
  "ortsdienst-de": "ortsdienst_de",
  ourbis_ca: "ourbis_ca",
  petit_fute: "petit_fute",
  petitfute: "petit_fute",
  phonebook_ie: "phonebook_ie",
  pinkpages: "pinkpages",
  pitney_bowes: "pitney_bowes",
  "pitney-bowes": "pitney_bowes",
  pointcom: "pointcom",
  profile_canada: "profile_canada",
  property_capsule: "property_capsule",
  retirementplanning_net: "retirementplanning_net",
  safegraph: "safegraph",
  seccion_amarilla: "seccion_amarilla",
  soleo: "soleo",
  "t-online_branchen": "t-online_branchen",
  t_online: "t-online_branchen",
  "t-online": "t-online_branchen",
  tandarts_nl: "tandarts_nl",
  telephone_city: "telephone_city",
  tellows: "tellows",
  tiendeo: "tiendeo",
  top_rated_local: "top_rated_local",
  trustpilot: "trustpilot",
  uber_eats: "uber_eats",
  vitals: "vitals",
  we_shop_local: "we_shop_local",
  webmd: "webmd",
  wellness: "wellness",
  "yahoo-": "yahoo-",
  wemap: "wemap",
  yellow_pages_city: "yellow_pages_city",
  yellow_pages_directory: "yellow_pages_directory",
  yellowmoxie: "yellowmoxie",
  yp_ca: "yp_ca",
  zenchef: "zenchef",
  zenrin: "zenrin",
  zillow: "zillow",
  auskunft: "auskunft",
  laposte: "laposte",
  leshoraires: "leshoraires",
  snapchat: "snapchat",
  aranyoldalak: "aranyoldalak",
  horaire: "horaire",
  najisto: "najisto",
  hours: "hours",
  openingtimes: "hours",
  openuren: "hours",
  thepinkpagesdirectory: "thepinkpagesdirectory",
  torget: "torget",
  twisper: "twisper",
  all_directories_icon: "placeholder_directories",
  placeholder_directories: "placeholder_directories",
  // Newly added to cover missing files:
  barcoo_de: "barcoo.de",
  acompio_1: "acompio-1",
  default_icon: "Default icon",
  propertycapsule: "propertycapsule",
  here_wego: "here_wego",
  here: "here_wego",
  //Newly added for reviews project
  avvo: "avvo",
  booking: "booking",
  hotels: "hotels",
  rate_mds: "rate_mds",
  weedmaps: "weedmaps",
  zocdoc: "zocdoc",
  review_collector: "review_collector",
  "review-collector": "review_collector",
  expedia: "expedia",
  // Social media networks
  youtube: "youtube",
  pinterest: "pinterest",
  // Generic icons
  user: "user"
}, dEe = "rc-avatar_5X", fEe = "rc-avatar-image_nG", hEe = "rc-avatar-name_-P", pEe = "grey-scale_zR", bEe = "no-hover_J7", gEe = "rc-avatar-notification_7G", mEe = "avatarSvg_Uz", Du = {
  rcAvatar: dEe,
  rcAvatarImage: fEe,
  rcAvatarName: hEe,
  greyScale: pEe,
  noHover: bEe,
  rcAvatarNotification: gEe,
  avatarSvg: mEe
}, cw = (e10) => {
  const {
    size: t = "medium",
    hasNotifications: n = false,
    name: r,
    fullName: o,
    bgColor: i,
    noHover: u,
    translate: p = false,
    greyScale: v = false,
    clearIcon: y
  } = e10, {
    icon: k = "",
    image: T
  } = e10, R = `${cEe[k]}`, I = n && t !== "small";
  let {
    SvgIcon: P,
    loading: S,
    error: U
  } = Eb(`avatarIcons/listings/${R}.svg`, {
    shouldRequest: !!R
  });
  y && (P = "");
  let B = 0;
  switch (t) {
    case "large":
      B = 56;
      break;
    case "medium-large":
      B = 48;
      break;
    case "medium-40":
      B = 40;
      break;
    case "medium":
      B = 32;
      break;
    case "small":
      B = 24;
      break;
    case "xs":
      B = 16;
      break;
  }
  const X = () => {
    if (r)
      return Tve(r);
  }, Z = () => {
    var ne;
    let F = "";
    return (ne = X()) == null || ne.forEach((ae) => {
      F += ae;
    }), F;
  };
  if (T)
    return jsxRuntimeExports.jsx("div", {
      "data-testid": "avatar-image-test-id",
      className: Kt(Du.rcAvatar, Du.rcAvatarImage, u ? Du.noHover : null, v ? Du.greyScale : void 0),
      style: {
        backgroundImage: `url(${P6(T)})`,
        width: B,
        height: B
      },
      children: I && jsxRuntimeExports.jsx("div", {
        "data-testid": "avatar-notifications-test-id",
        className: Kt(Du.rcAvatarNotification)
      })
    });
  if (k && P)
    return jsxRuntimeExports.jsxs("div", {
      "data-testid": "avatar-icon-test-id",
      className: Kt(Du.rcAvatar, v ? Du.greyScale : void 0),
      children: [I && jsxRuntimeExports.jsx("div", {
        "data-testid": "avatar-notifications-test-id",
        className: Kt(Du.rcAvatarNotification)
      }), jsxRuntimeExports.jsx(y4, {
        width: B,
        height: B,
        src: P,
        className: Du.avatarSvg
      })]
    });
  const te = i || cme(X() ?? []), Q = o || Z(), q = 2 * Math.log1p(Q.length);
  return jsxRuntimeExports.jsxs("div", {
    "data-testid": "avatar-name-test-id",
    className: Kt(Du.rcAvatar, Du.rcAvatarName, u ? Du.noHover : null, v ? Du.greyScale : void 0),
    style: {
      backgroundColor: `var(${te})`,
      width: B,
      height: B,
      borderRadius: "50%"
    },
    children: [I && jsxRuntimeExports.jsx("div", {
      "data-testid": "avatar-notifications-test-id",
      className: Kt(Du.rcAvatarNotification)
    }), jsxRuntimeExports.jsx(nr, {
      type: Er.textHelp,
      fontSize: q ? B / q : B,
      fontWeight: si.bold,
      color: "--n000",
      translate: p,
      children: Q
    })]
  });
}, vEe = "tab_eo", yEe = "highlight_PI", xEe = "selected_gQ", _Ee = "underline_Gq", wEe = "tab-label_um", TEe = "tabs-directory-icons_xX", kEe = "tabs-directory-icon_aa", kp = {
  tab: vEe,
  highlight: yEe,
  selected: xEe,
  underline: _Ee,
  "tab-label": "tab-label_um",
  tabLabel: wEe,
  "tabs-directory-icons": "tabs-directory-icons_xX",
  tabsDirectoryIcons: TEe,
  "tabs-directory-icon": "tabs-directory-icon_aa",
  tabsDirectoryIcon: kEe
}, EEe = (e10) => {
  const {
    hasError: t = false,
    tabIcons: n,
    hasBorderBottom: r,
    showBackgroundColor: o = true,
    simple: i = false,
    testId: u,
    disabled: p = false,
    tabConfig: v,
    ...y
  } = e10, {
    selected: k,
    label: T,
    value: R
  } = y, {
    theme: I = "highlight",
    iconSize: P = "default",
    tabTextTransform: S = "none"
  } = v || {}, U = () => {
    if (!n)
      return typeof T == "string" ? jsxRuntimeExports.jsx(nr, {
        testId: u,
        className: Kt(kp.tabLabel),
        color: k ? "var(--fn-bg-cta)" : "var(--n700)",
        fontWeight: k ? si.bold : si.regular,
        children: T
      }) : T;
    if (n.length > 1)
      return jsxRuntimeExports.jsxs("div", {
        "data-testid": u,
        className: Kt(vh, Bp, kp.tabsDirectoryIcons),
        children: [n.map((B, X) => jsxRuntimeExports.jsx("div", {
          className: Kt(kp.tabsDirectoryIcon),
          children: jsxRuntimeExports.jsx(cw, {
            noHover: true,
            size: P === "small" ? "xs" : "small",
            icon: B,
            name: B
          })
        }, X)), typeof T == "string" ? jsxRuntimeExports.jsxs("div", {
          children: [jsxRuntimeExports.jsx(nr, {
            className: Kt(WT),
            color: k ? "var(--p500)" : "var(--n700)",
            children: T
          }), jsxRuntimeExports.jsx(Va, {
            if: t,
            children: jsxRuntimeExports.jsx(li, {
              fillColor: "var(--e100)",
              hasCircle: true,
              color: "var(--e500)",
              type: P === "small" ? ai.small : ai.large,
              children: Ln.exclamation
            })
          })]
        }) : T]
      });
    if (n.length === 1)
      return jsxRuntimeExports.jsxs("div", {
        className: Kt(Kt(vh, Bp, zp)),
        children: [jsxRuntimeExports.jsx(cw, {
          noHover: true,
          size: P === "small" ? "xs" : "small",
          icon: n[0]
        }), typeof T == "string" ? jsxRuntimeExports.jsx(nr, {
          color: k ? "var(--p500)" : "var(--n700)",
          children: T
        }) : T, jsxRuntimeExports.jsx(Va, {
          if: t,
          children: jsxRuntimeExports.jsx(li, {
            fillColor: "var(--e100)",
            hasCircle: true,
            color: "var(--e500)",
            children: Ln.exclamation
          })
        })]
      });
  };
  return jsxRuntimeExports.jsx(_6, {
    ...y,
    sx: {
      ...k && {
        ...t && {
          border: "1px solid var(--e500)",
          borderRadius: "8px",
          color: "var(--e500)"
        }
      },
      textTransform: S
    },
    className: Kt(kp.tab, kp[I], k ? kp.selected : ""),
    label: U()
  });
}, CEe = (e10) => {
  const {
    currentTab: t,
    value: n,
    children: r,
    keepInDom: o
  } = e10;
  return jsxRuntimeExports.jsx(Va, {
    if: t === n,
    keepInDom: o,
    children: jsxRuntimeExports.jsx("div", {
      role: "tabpanel",
      children: r
    })
  });
}, SEe = "custom-scroll-button-wrapper_Ib", AEe = "right_IN", PEe = "hidden_Np", REe = "left_Je", d1 = {
  customScrollButtonWrapper: SEe,
  right: AEe,
  hidden: PEe,
  left: REe
}, IEe = (e10) => {
  const {
    direction: t,
    onClick: n,
    disabled: r,
    testId: o
  } = e10;
  return jsxRuntimeExports.jsx("div", {
    onClick: r ? void 0 : n,
    className: Kt(d1.customScrollButtonWrapper, t === "right" ? d1.right : d1.left, r && d1.hidden),
    "data-testid": o,
    children: jsxRuntimeExports.jsx(li, {
      color: "var(--n400)",
      type: ai.small,
      children: Ln.caretLeft
    })
  });
}, MEe = "tabs-container_Td", OEe = {
  tabsContainer: MEe
}, W8e = (e10) => {
  const {
    tabs: t,
    value: n,
    onChange: r,
    className: o,
    keepInactiveTabsInDom: i,
    testId: u,
    tabConfig: p
  } = e10, [v, y] = reactExports.useState(n ?? 0), k = (R, I) => {
    y(I), r && r(R, I);
  }, T = {
    ...(p == null ? void 0 : p.tabHeight) === "small" && {
      minHeight: "36px",
      height: "36px"
    },
    ...(p == null ? void 0 : p.tabNoMinWidth) === true && {
      minWidth: "0"
    },
    ...(p == null ? void 0 : p.padding) === "small" && {
      padding: "8px"
    },
    ...(p == null ? void 0 : p.tabGrow) === false && {
      flexGrow: "0"
    }
  };
  return jsxRuntimeExports.jsxs(Li, {
    children: [jsxRuntimeExports.jsx(k6, {
      className: Kt(OEe.tabsContainer, o),
      scrollButtons: "auto",
      ScrollButtonComponent: IEe,
      variant: "scrollable",
      style: {
        ...(p == null ? void 0 : p.alignCenter) && {
          display: "flex",
          alignItems: "center"
        }
      },
      allowScrollButtonsMobile: true,
      value: n ?? v,
      TabIndicatorProps: {
        style: {
          display: "none"
        }
      },
      children: t.map((R, I) => R.disabled ? null : jsxRuntimeExports.jsx(EEe, {
        testId: `${u}-${I}`,
        style: T,
        label: R.label,
        value: R.value ?? I,
        onClick: (P) => k(P, R.value ?? I),
        selected: I === (n ?? v),
        tabIcons: R.tabIcons,
        hasError: R.hasError,
        tabConfig: p,
        showBackgroundColor: R.showBackgroundColor,
        hasBorderBottom: R.hasBorderBottom,
        simple: R.simple
      }, I))
    }), t.map((R, I) => jsxRuntimeExports.jsx(CEe, {
      currentTab: n ?? v,
      value: R.value ?? I,
      keepInDom: i,
      children: R.component
    }, I))]
  });
}, DEe = "aiPill_OP", FEe = {
  aiPill: DEe
}, NEe = (e10) => {
  const {
    text: t,
    testId: n
  } = e10;
  return jsxRuntimeExports.jsxs(Li, {
    testId: n,
    className: FEe.aiPill,
    children: [jsxRuntimeExports.jsx(li, {
      color: "var(--a1-500)",
      children: Ln.ai
    }), jsxRuntimeExports.jsx(nr, {
      type: Er.textHelp,
      color: "var(--a1-500)",
      children: t ?? "Found by us"
    })]
  });
}, LEe = 500, BEe = (e10, t) => np({
  to: {
    opacity: e10 ? 1 : 0
  },
  config: {
    duration: LEe
  },
  onStart: () => {
    e10 && t(e10);
  },
  onResolve: () => {
    e10 || setTimeout(() => {
      t(e10);
    }, 0);
  }
}), zEe = (e10, t, n) => np({
  width: e10 ? `${t}px` : `${n}px`,
  config: {
    duration: 150
  }
}), WEe = (e10, t, n) => np({
  height: e10 ? `${t}px` : `${n}px`,
  opacity: e10 ? "1" : "0",
  visibility: e10 ? "visible" : "hidden",
  config: {
    duration: 150
  }
}), mh = (e10) => {
  const {
    children: t,
    condition: n,
    animation: r = void 0,
    className: o,
    testId: i
  } = e10, {
    fromWidth: u,
    toWidth: p
  } = e10, {
    fromHeight: v,
    toHeight: y
  } = e10, [k, T] = reactExports.useState(true), R = (S) => {
    T(S);
  }, I = () => {
    switch (r) {
      case "none":
        return {};
      case "growWidth":
        return zEe(n ?? false, u, p);
      case "growHeight":
        return WEe(n ?? false, v, y);
      default:
        return BEe(n ?? false, R);
    }
  };
  if (r && r === "none")
    return n ? jsxRuntimeExports.jsx(React.Fragment, {
      children: t
    }) : jsxRuntimeExports.jsx(React.Fragment, {
      children: null
    });
  const P = I();
  return k ? jsxRuntimeExports.jsx(yh.div, {
    "data-testid": i,
    className: o,
    style: P,
    children: t
  }) : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
    children: null
  });
};
var uv = { exports: {} }, fw;
function QEe() {
  return fw || (fw = 1, (function(e10) {
    (function(t, n) {
      e10.exports ? e10.exports = n() : this[t] = n();
    })("Diacritics", function() {
      for (var t = {
        map: {}
      }, n = [
        { base: " ", letters: " " },
        { base: "A", letters: "AⒶＡÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ" },
        { base: "AA", letters: "Ꜳ" },
        { base: "AE", letters: "ÆǼǢ" },
        { base: "AO", letters: "Ꜵ" },
        { base: "AU", letters: "Ꜷ" },
        { base: "AV", letters: "ꜸꜺ" },
        { base: "AY", letters: "Ꜽ" },
        { base: "B", letters: "BⒷＢḂḄḆɃƂƁ" },
        { base: "C", letters: "CⒸＣĆĈĊČÇḈƇȻꜾ" },
        { base: "D", letters: "DⒹＤḊĎḌḐḒḎĐƋƊƉꝹ" },
        { base: "DZ", letters: "ǱǄ" },
        { base: "Dz", letters: "ǲǅ" },
        { base: "E", letters: "EⒺＥÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ" },
        { base: "F", letters: "FⒻＦḞƑꝻ" },
        { base: "G", letters: "GⒼＧǴĜḠĞĠǦĢǤƓꞠꝽꝾ" },
        { base: "H", letters: "HⒽＨĤḢḦȞḤḨḪĦⱧⱵꞍ" },
        { base: "I", letters: "IⒾＩÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ" },
        { base: "J", letters: "JⒿＪĴɈ" },
        { base: "K", letters: "KⓀＫḰǨḲĶḴƘⱩꝀꝂꝄꞢ" },
        { base: "L", letters: "LⓁＬĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ" },
        { base: "LJ", letters: "Ǉ" },
        { base: "Lj", letters: "ǈ" },
        { base: "M", letters: "MⓂＭḾṀṂⱮƜ" },
        { base: "N", letters: "NⓃＮǸŃÑṄŇṆŅṊṈȠƝꞐꞤ" },
        { base: "NJ", letters: "Ǌ" },
        { base: "Nj", letters: "ǋ" },
        { base: "O", letters: "OⓄＯÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ" },
        { base: "OI", letters: "Ƣ" },
        { base: "OO", letters: "Ꝏ" },
        { base: "OU", letters: "Ȣ" },
        { base: "P", letters: "PⓅＰṔṖƤⱣꝐꝒꝔ" },
        { base: "Q", letters: "QⓆＱꝖꝘɊ" },
        { base: "R", letters: "RⓇＲŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ" },
        { base: "S", letters: "SⓈＳẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ" },
        { base: "T", letters: "TⓉＴṪŤṬȚŢṰṮŦƬƮȾꞆ" },
        { base: "Th", letters: "Þ" },
        { base: "TZ", letters: "Ꜩ" },
        { base: "U", letters: "UⓊＵÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ" },
        { base: "V", letters: "VⓋＶṼṾƲꝞɅ" },
        { base: "VY", letters: "Ꝡ" },
        { base: "W", letters: "WⓌＷẀẂŴẆẄẈⱲ" },
        { base: "X", letters: "XⓍＸẊẌ" },
        { base: "Y", letters: "YⓎＹỲÝŶỸȲẎŸỶỴƳɎỾ" },
        { base: "Z", letters: "ZⓏＺŹẐŻŽẒẔƵȤⱿⱫꝢ" },
        { base: "a", letters: "aⓐａẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑ" },
        { base: "aa", letters: "ꜳ" },
        { base: "ae", letters: "æǽǣ" },
        { base: "ao", letters: "ꜵ" },
        { base: "au", letters: "ꜷ" },
        { base: "av", letters: "ꜹꜻ" },
        { base: "ay", letters: "ꜽ" },
        { base: "b", letters: "bⓑｂḃḅḇƀƃɓ" },
        { base: "c", letters: "cⓒｃćĉċčçḉƈȼꜿↄ" },
        { base: "d", letters: "dⓓｄḋďḍḑḓḏđƌɖɗꝺ" },
        { base: "dz", letters: "ǳǆ" },
        { base: "e", letters: "eⓔｅèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ" },
        { base: "f", letters: "fⓕｆḟƒꝼ" },
        { base: "ff", letters: "ﬀ" },
        { base: "fi", letters: "ﬁ" },
        { base: "fl", letters: "ﬂ" },
        { base: "ffi", letters: "ﬃ" },
        { base: "ffl", letters: "ﬄ" },
        { base: "g", letters: "gⓖｇǵĝḡğġǧģǥɠꞡᵹꝿ" },
        { base: "h", letters: "hⓗｈĥḣḧȟḥḩḫẖħⱨⱶɥ" },
        { base: "hv", letters: "ƕ" },
        { base: "i", letters: "iⓘｉìíîĩīĭïḯỉǐȉȋịįḭɨı" },
        { base: "j", letters: "jⓙｊĵǰɉ" },
        { base: "k", letters: "kⓚｋḱǩḳķḵƙⱪꝁꝃꝅꞣ" },
        { base: "l", letters: "lⓛｌŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ" },
        { base: "lj", letters: "ǉ" },
        { base: "m", letters: "mⓜｍḿṁṃɱɯ" },
        { base: "n", letters: "nñnⓝｎǹńñṅňṇņṋṉƞɲŉꞑꞥлԉ" },
        { base: "nj", letters: "ǌ" },
        { base: "o", letters: "߀oⓞｏòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ" },
        { base: "oe", letters: "Œœ" },
        { base: "oi", letters: "ƣ" },
        { base: "ou", letters: "ȣ" },
        { base: "oo", letters: "ꝏ" },
        { base: "p", letters: "pⓟｐṕṗƥᵽꝑꝓꝕ" },
        { base: "q", letters: "qⓠｑɋꝗꝙ" },
        { base: "r", letters: "rⓡｒŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ" },
        { base: "s", letters: "sⓢｓßśṥŝṡšṧṣṩșşȿꞩꞅẛ" },
        { base: "ss", letters: "ß" },
        { base: "t", letters: "tⓣｔṫẗťṭțţṱṯŧƭʈⱦꞇ" },
        { base: "th", letters: "þ" },
        { base: "tz", letters: "ꜩ" },
        { base: "u", letters: "uⓤｕùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ" },
        { base: "v", letters: "vⓥｖṽṿʋꝟʌ" },
        { base: "vy", letters: "ꝡ" },
        { base: "w", letters: "wⓦｗẁẃŵẇẅẘẉⱳ" },
        { base: "x", letters: "xⓧｘẋẍ" },
        { base: "y", letters: "yⓨｙỳýŷỹȳẏÿỷẙỵƴɏỿ" },
        { base: "z", letters: "zⓩｚźẑżžẓẕƶȥɀⱬꝣ" }
      ], r = 0, o = n.length; r < o; r++)
        for (var i = n[r].letters.split(""), u = 0, p = i.length; u < p; u++)
          t.map[i[u]] = n[r].base;
      return t.clean = function(v) {
        if (!v || !v.length || v.length < 1)
          return "";
        for (var y = "", k = v.split(""), T = 0, R = k.length, I; T < R; T++)
          I = k[T], y += I in t.map ? t.map[I] : I;
        return y;
      }, t;
    });
  })(uv)), uv.exports;
}
var cv, hw;
function jEe() {
  if (hw) return cv;
  hw = 1;
  var e10 = QEe().clean, t = /[.*+?^${}()|[\]\\]/g, n = /[a-z0-9_]/i, r = /\s+/;
  function o(u) {
    return u.replace(t, "\\$&");
  }
  function i(u, p) {
    return u = u || {}, Object.keys(u).forEach(function(v) {
      p[v] = !!u[v];
    }), p;
  }
  return cv = function(p, v, y) {
    y = i(y, {
      insideWords: false,
      findAllOccurrences: false,
      requireMatchAll: false
    });
    var k = Array.from(p).map(function(R) {
      return e10(R);
    }), T = k.join("");
    return v = e10(v), v.trim().split(r).filter(function(R) {
      return R.length > 0;
    }).reduce(function(R, I) {
      var P = I.length, S = !y.insideWords && n.test(I[0]) ? "\\b" : "", U = new RegExp(S + o(I), "i"), B, X;
      if (B = U.exec(T), y.requireMatchAll && B === null)
        return T = "", [];
      for (; B; ) {
        X = B.index;
        var Z = k.slice(X, X + P).join("").length, te = P - Z, Q = X - k.slice(0, X).join("").length, q = te, F = [
          X + Q,
          X + P + Q + q
        ];
        if (F[0] !== F[1] && R.push(F), T = T.slice(0, X) + new Array(P + 1).join(" ") + T.slice(X + P), !y.findAllOccurrences)
          break;
        B = U.exec(T);
      }
      return R;
    }, []).sort(function(R, I) {
      return R[0] - I[0];
    });
  }, cv;
}
var qEe = jEe();
const e4e = /* @__PURE__ */ jc(qEe);
var dv, pw;
function t4e() {
  return pw || (pw = 1, dv = function(t, n) {
    var r = [];
    return n.length === 0 ? r.push({
      text: t,
      highlight: false
    }) : n[0][0] > 0 && r.push({
      text: t.slice(0, n[0][0]),
      highlight: false
    }), n.forEach(function(o, i) {
      var u = o[0], p = o[1];
      r.push({
        text: t.slice(u, p),
        highlight: true
      }), i === n.length - 1 ? p < t.length && r.push({
        text: t.slice(p, t.length),
        highlight: false
      }) : p < n[i + 1][0] && r.push({
        text: t.slice(p, n[i + 1][0]),
        highlight: false
      });
    }), r;
  }), dv;
}
var n4e = t4e();
const r4e = /* @__PURE__ */ jc(n4e), H8e = (e10) => {
  var Vt, wn, dn;
  const {
    className: t,
    id: n,
    value: r,
    infoText: o,
    label: i,
    labelType: u,
    placeholder: p,
    inputRef: v,
    formconfig: y,
    optionKey: k,
    options: T,
    noOptionsText: R = null,
    splitCommaTag: I = false,
    multiple: P = false,
    hideCaret: S = false,
    hideClearButton: U = false,
    restrictToOptions: B = true,
    highlightOptions: X = true,
    popoverPosition: Z,
    popoverMessage: te,
    onKeyUp: Q,
    onKeyDown: q,
    onChange: F,
    autoComplete: ne = true,
    testId: ae,
    replacements: pe,
    disabled: Ve,
    isLoading: we,
    autoSelect: Te = true,
    adornment: be,
    ...ie
  } = e10, de = Wg(), ze = reactExports.useRef(null), [nt, ut] = reactExports.useState(void 0);
  let Le = v;
  Le || (Le = reactExports.useRef(null));
  let oe = null;
  y && (oe = y._autocompleteRef ?? null, Le = y._inputRef);
  let {
    required: Ue
  } = e10;
  (((Vt = y == null ? void 0 : y.validation) == null ? void 0 : Vt.required) === true || ((wn = y == null ? void 0 : y.validation) == null ? void 0 : wn.required) === false) && (Ue = (dn = y == null ? void 0 : y.validation) == null ? void 0 : dn.required), reactExports.useEffect(() => {
    var jt, _t;
    const zt = (jt = y == null ? void 0 : y._autocompleteRef) == null ? void 0 : jt.current;
    zt && (zt.value = y == null ? void 0 : y.stateValue, ut(Number((_t = y == null ? void 0 : y.stateValue) == null ? void 0 : _t.key)));
  }, [y]);
  const [We, Ge] = reactExports.useState(r ?? P ? [] : null);
  reactExports.useEffect(() => {
    y && setTimeout(() => {
      var zt;
      Ge(y == null ? void 0 : y.stateValue), ut(Number((zt = y == null ? void 0 : y.stateValue) == null ? void 0 : zt.key));
    }, 0);
  }, [y == null ? void 0 : y.stateValue]);
  const Ze = (zt) => !be || zt === void 0 ? null : be[zt], _e = (zt, jt) => P ? jsxRuntimeExports.jsx("div", {
    className: "vanguard-input-tags",
    children: zt.map((_t, Pt) => reactExports.createElement(s3, {
      label: jsxRuntimeExports.jsx(nr, {
        children: k && _t ? _t[k] : _t
      }),
      ...jt({
        index: Pt
      }),
      key: Pt,
      style: {
        height: "100%"
      }
    }))
  }) : null, st = (zt, jt, _t, Pt) => {
    B && Le && Le.current && typeof jt == "string" && (Le.current.value = jt), jt && typeof jt == "object" && !Array.isArray(jt) && "key" in jt ? ut(Number(jt.key)) : ut(void 0), y && y && y.setStateValue && de(y.setStateValue(jt)), F && (_t || (_t = "blur"), F(zt, jt, _t, Pt));
  }, Ke = (zt) => {
    var jt;
    if (zt.key === "Enter" && !ze.current) {
      const _t = ((jt = Le == null ? void 0 : Le.current) == null ? void 0 : jt.value.split(",").filter((Ht) => !!Ht)) ?? [], Pt = (_t == null ? void 0 : _t.map(k ? (Ht) => ({
        [k]: Ht
      }) : (Ht) => Ht)) ?? [];
      Array.isArray(We) ? st(zt, [...We, ...Pt], "selectOption") : st(zt, [...Pt], "selectOption"), (_t == null ? void 0 : _t.length) > 0 && (zt.stopPropagation(), zt.preventDefault(), zt.nativeEvent.stopImmediatePropagation());
    }
  }, ht = () => {
    const zt = document.getElementsByClassName("MuiAutocomplete-option");
    if (ze.current) {
      ze.current = false;
      for (const jt of zt)
        jt.className.indexOf("Mui-focused") > -1 && (ze.current = true);
    }
  }, gt = (zt) => {
  }, xt = (zt) => {
    ht(), Q && Q(zt);
  }, ct = (zt) => {
    ht(), I && Ke(zt), q && q(zt);
  }, yt = (zt, jt, {
    inputValue: _t
  }) => {
    if (X) {
      const Ht = Ot(jt), kn = e4e(Ht, _t), Tn = r4e(Ht, kn);
      return reactExports.createElement("li", {
        ...zt,
        key: Ht
      }, jsxRuntimeExports.jsxs("div", {
        className: "option-style",
        children: [Ze(jt.key), jsxRuntimeExports.jsx("span", {
          children: Tn.map((hn, Nt) => jsxRuntimeExports.jsx("span", {
            style: {
              fontWeight: hn.highlight ? 700 : 400
            },
            children: hn.text
          }, Nt))
        })]
      }));
    }
    const Pt = Ot(jt);
    return reactExports.createElement("li", {
      ...zt,
      key: Pt
    }, jsxRuntimeExports.jsx("div", {
      children: Pt
    }));
  }, Ot = (zt) => {
    const jt = Object.keys(zt ?? {});
    return zt === [] || jt.length === 0 ? "" : typeof zt == "object" ? (!k || !zt.hasOwnProperty(k) && zt.hasOwnProperty("objectType"), zt && k ? zt[k] ?? "" : "") : zt;
  }, qe = (zt, jt) => {
    if (!jt)
      return false;
    let _t = zt;
    if (typeof zt == "object") {
      const Ht = zt;
      Ht && k && (Ht.hasOwnProperty(k), _t = Ht[k]);
    }
    const Pt = jt;
    if (typeof jt == "object") {
      const Ht = jt;
      Ht && k && (Ht.hasOwnProperty(k), _t = Ht[k]);
    }
    return _t === Pt;
  }, wt = () => {
    const zt = ["vanguard-autocomplete"];
    return t && zt.push(t), U && zt.push("vanguard-autocomplete-no-clear-btn"), (S || r !== null) && zt.push("vanguard-autocomplete-no-caret"), Kt(...zt);
  }, en = () => jsxRuntimeExports.jsx("div", {
    children: "No options available!!"
  });
  return jsxRuntimeExports.jsx(Li, {
    className: wt(),
    children: jsxRuntimeExports.jsx(t6, {
      ...ie,
      "data-testid": ae,
      id: n,
      ref: oe,
      value: We,
      freeSolo: !B,
      autoComplete: ne,
      autoSelect: Te,
      multiple: P,
      options: T,
      noOptionsText: R,
      renderTags: _e,
      renderOption: yt,
      ListboxComponent: T.length === 0 ? en : void 0,
      isOptionEqualToValue: qe,
      getOptionLabel: Ot,
      onChange: st,
      clearIcon: jsxRuntimeExports.jsx(li, {
        color: "--n400",
        children: Ln.close
      }),
      popupIcon: jsxRuntimeExports.jsx(li, {
        color: "--n400",
        children: Ln.caretDown
      }),
      disabled: Ve,
      renderInput: (zt) => jsxRuntimeExports.jsx(Bb, {
        formconfig: y,
        inputRef: Le,
        isLoading: we,
        testId: `${ae}-input`,
        textFieldProps: zt,
        required: Ue,
        infoText: o,
        label: i,
        labelType: u,
        placeholder: p,
        popoverMessage: te,
        popoverPosition: Z,
        onKeyDown: ct,
        onKeyUp: xt,
        onChange: gt,
        formFieldType: "Autocomplete",
        replacements: pe,
        adornment: Ze(nt)
      })
    })
  });
};
var W0 = { exports: {} }, o4e = W0.exports, bw;
function i4e() {
  return bw || (bw = 1, (function(e10, t) {
    typeof navigator < "u" && (function(n, r) {
      e10.exports = r();
    })(o4e, (function() {
      var n = "http://www.w3.org/2000/svg", r = "", o = false, i = -999999, u = function(x) {
        o = !!x;
      }, p = function() {
        return o;
      }, v = function(x) {
        r = x;
      }, y = function() {
        return r;
      };
      function k(f) {
        return document.createElement(f);
      }
      function T(f, x) {
        var E, D = f.length, W;
        for (E = 0; E < D; E += 1) {
          W = f[E].prototype;
          for (var V in W)
            Object.prototype.hasOwnProperty.call(W, V) && (x.prototype[V] = W[V]);
        }
      }
      function R(f, x) {
        return Object.getOwnPropertyDescriptor(f, x);
      }
      function I(f) {
        function x() {
        }
        return x.prototype = f, x;
      }
      var P = (function() {
        function f(x) {
          this.audios = [], this.audioFactory = x, this._volume = 1, this._isMuted = false;
        }
        return f.prototype = {
          addAudio: function(E) {
            this.audios.push(E);
          },
          pause: function() {
            var E, D = this.audios.length;
            for (E = 0; E < D; E += 1)
              this.audios[E].pause();
          },
          resume: function() {
            var E, D = this.audios.length;
            for (E = 0; E < D; E += 1)
              this.audios[E].resume();
          },
          setRate: function(E) {
            var D, W = this.audios.length;
            for (D = 0; D < W; D += 1)
              this.audios[D].setRate(E);
          },
          createAudio: function(E) {
            return this.audioFactory ? this.audioFactory(E) : window.Howl ? new window.Howl({
              src: [E]
            }) : {
              isPlaying: false,
              play: function() {
                this.isPlaying = true;
              },
              seek: function() {
                this.isPlaying = false;
              },
              playing: function() {
              },
              rate: function() {
              },
              setVolume: function() {
              }
            };
          },
          setAudioFactory: function(E) {
            this.audioFactory = E;
          },
          setVolume: function(E) {
            this._volume = E, this._updateVolume();
          },
          mute: function() {
            this._isMuted = true, this._updateVolume();
          },
          unmute: function() {
            this._isMuted = false, this._updateVolume();
          },
          getVolume: function() {
            return this._volume;
          },
          _updateVolume: function() {
            var E, D = this.audios.length;
            for (E = 0; E < D; E += 1)
              this.audios[E].volume(this._volume * (this._isMuted ? 0 : 1));
          }
        }, function() {
          return new f();
        };
      })(), S = /* @__PURE__ */ (function() {
        function f(E, D) {
          var W = 0, V = [], ge;
          switch (E) {
            case "int16":
            case "uint8c":
              ge = 1;
              break;
            default:
              ge = 1.1;
              break;
          }
          for (W = 0; W < D; W += 1)
            V.push(ge);
          return V;
        }
        function x(E, D) {
          return E === "float32" ? new Float32Array(D) : E === "int16" ? new Int16Array(D) : E === "uint8c" ? new Uint8ClampedArray(D) : f(E, D);
        }
        return typeof Uint8ClampedArray == "function" && typeof Float32Array == "function" ? x : f;
      })();
      function U(f) {
        return Array.apply(null, {
          length: f
        });
      }
      var B = true, X = null, Z = "", te = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), Q = Math.pow, q = Math.sqrt, F = Math.floor, ne = Math.min, ae = 150, pe = Math.PI / 180, Ve = 0.5519;
      function we(f, x, E, D) {
        this.type = f, this.currentTime = x, this.totalTime = E, this.direction = D < 0 ? -1 : 1;
      }
      function Te(f, x) {
        this.type = f, this.direction = x < 0 ? -1 : 1;
      }
      function be(f, x, E, D) {
        this.type = f, this.currentLoop = E, this.totalLoops = x, this.direction = D < 0 ? -1 : 1;
      }
      function ie(f, x, E) {
        this.type = f, this.firstFrame = x, this.totalFrames = E;
      }
      function de(f, x) {
        this.type = f, this.target = x;
      }
      function ze(f, x) {
        this.type = "renderFrameError", this.nativeError = f, this.currentTime = x;
      }
      function nt(f) {
        this.type = "configError", this.nativeError = f;
      }
      var ut = /* @__PURE__ */ (function() {
        var f = 0;
        return function() {
          return f += 1, Z + "__lottie_element_" + f;
        };
      })();
      function Le(f, x, E) {
        var D, W, V, ge, De, ve, Fe, He;
        switch (ge = Math.floor(f * 6), De = f * 6 - ge, ve = E * (1 - x), Fe = E * (1 - De * x), He = E * (1 - (1 - De) * x), ge % 6) {
          case 0:
            D = E, W = He, V = ve;
            break;
          case 1:
            D = Fe, W = E, V = ve;
            break;
          case 2:
            D = ve, W = E, V = He;
            break;
          case 3:
            D = ve, W = Fe, V = E;
            break;
          case 4:
            D = He, W = ve, V = E;
            break;
          case 5:
            D = E, W = ve, V = Fe;
            break;
        }
        return [D, W, V];
      }
      function oe(f, x, E) {
        var D = Math.max(f, x, E), W = Math.min(f, x, E), V = D - W, ge, De = D === 0 ? 0 : V / D, ve = D / 255;
        switch (D) {
          case W:
            ge = 0;
            break;
          case f:
            ge = x - E + V * (x < E ? 6 : 0), ge /= 6 * V;
            break;
          case x:
            ge = E - f + V * 2, ge /= 6 * V;
            break;
          case E:
            ge = f - x + V * 4, ge /= 6 * V;
            break;
        }
        return [ge, De, ve];
      }
      function Ue(f, x) {
        var E = oe(f[0] * 255, f[1] * 255, f[2] * 255);
        return E[1] += x, E[1] > 1 ? E[1] = 1 : E[1] <= 0 && (E[1] = 0), Le(E[0], E[1], E[2]);
      }
      function We(f, x) {
        var E = oe(f[0] * 255, f[1] * 255, f[2] * 255);
        return E[2] += x, E[2] > 1 ? E[2] = 1 : E[2] < 0 && (E[2] = 0), Le(E[0], E[1], E[2]);
      }
      function Ge(f, x) {
        var E = oe(f[0] * 255, f[1] * 255, f[2] * 255);
        return E[0] += x / 360, E[0] > 1 ? E[0] -= 1 : E[0] < 0 && (E[0] += 1), Le(E[0], E[1], E[2]);
      }
      (function() {
        var f = [], x, E;
        for (x = 0; x < 256; x += 1)
          E = x.toString(16), f[x] = E.length === 1 ? "0" + E : E;
        return function(D, W, V) {
          return D < 0 && (D = 0), W < 0 && (W = 0), V < 0 && (V = 0), "#" + f[D] + f[W] + f[V];
        };
      })();
      var Ze = function(x) {
        B = !!x;
      }, _e = function() {
        return B;
      }, st = function(x) {
        X = x;
      }, Ke = function() {
        return X;
      }, ht = function(x) {
        ae = x;
      }, gt = function() {
        return ae;
      }, xt = function(x) {
        Z = x;
      };
      function ct(f) {
        return document.createElementNS(n, f);
      }
      function yt(f) {
        "@babel/helpers - typeof";
        return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? yt = function(E) {
          return typeof E;
        } : yt = function(E) {
          return E && typeof Symbol == "function" && E.constructor === Symbol && E !== Symbol.prototype ? "symbol" : typeof E;
        }, yt(f);
      }
      var Ot = /* @__PURE__ */ (function() {
        var f = 1, x = [], E, D, W = {
          onmessage: function() {
          },
          postMessage: function(Oe) {
            E({
              data: Oe
            });
          }
        }, V = {
          postMessage: function(Oe) {
            W.onmessage({
              data: Oe
            });
          }
        };
        function ge(me) {
          if (window.Worker && window.Blob && p()) {
            var Oe = new Blob(["var _workerSelf = self; self.onmessage = ", me.toString()], {
              type: "text/javascript"
            }), ye = URL.createObjectURL(Oe);
            return new Worker(ye);
          }
          return E = me, W;
        }
        function De() {
          D || (D = ge(function(Oe) {
            function ye() {
              function Ne(Et, Ye) {
                var Pe, ue, Ie = Et.length, It, pt, yn, zn;
                for (ue = 0; ue < Ie; ue += 1)
                  if (Pe = Et[ue], "ks" in Pe && !Pe.completed) {
                    if (Pe.completed = true, Pe.tt && (Et[ue - 1].td = Pe.tt), Pe.hasMask) {
                      var Bn = Pe.masksProperties;
                      for (pt = Bn.length, It = 0; It < pt; It += 1)
                        if (Bn[It].pt.k.i)
                          se(Bn[It].pt.k);
                        else
                          for (zn = Bn[It].pt.k.length, yn = 0; yn < zn; yn += 1)
                            Bn[It].pt.k[yn].s && se(Bn[It].pt.k[yn].s[0]), Bn[It].pt.k[yn].e && se(Bn[It].pt.k[yn].e[0]);
                    }
                    Pe.ty === 0 ? (Pe.layers = K(Pe.refId, Ye), Ne(Pe.layers, Ye)) : Pe.ty === 4 ? J(Pe.shapes) : Pe.ty === 5 && vn(Pe);
                  }
              }
              function j(Et, Ye) {
                if (Et) {
                  var Pe = 0, ue = Et.length;
                  for (Pe = 0; Pe < ue; Pe += 1)
                    Et[Pe].t === 1 && (Et[Pe].data.layers = K(Et[Pe].data.refId, Ye), Ne(Et[Pe].data.layers, Ye));
                }
              }
              function ee(Et, Ye) {
                for (var Pe = 0, ue = Ye.length; Pe < ue; ) {
                  if (Ye[Pe].id === Et)
                    return Ye[Pe];
                  Pe += 1;
                }
                return null;
              }
              function K(Et, Ye) {
                var Pe = ee(Et, Ye);
                return Pe ? Pe.layers.__used ? JSON.parse(JSON.stringify(Pe.layers)) : (Pe.layers.__used = true, Pe.layers) : null;
              }
              function J(Et) {
                var Ye, Pe = Et.length, ue, Ie;
                for (Ye = Pe - 1; Ye >= 0; Ye -= 1)
                  if (Et[Ye].ty === "sh")
                    if (Et[Ye].ks.k.i)
                      se(Et[Ye].ks.k);
                    else
                      for (Ie = Et[Ye].ks.k.length, ue = 0; ue < Ie; ue += 1)
                        Et[Ye].ks.k[ue].s && se(Et[Ye].ks.k[ue].s[0]), Et[Ye].ks.k[ue].e && se(Et[Ye].ks.k[ue].e[0]);
                  else Et[Ye].ty === "gr" && J(Et[Ye].it);
              }
              function se(Et) {
                var Ye, Pe = Et.i.length;
                for (Ye = 0; Ye < Pe; Ye += 1)
                  Et.i[Ye][0] += Et.v[Ye][0], Et.i[Ye][1] += Et.v[Ye][1], Et.o[Ye][0] += Et.v[Ye][0], Et.o[Ye][1] += Et.v[Ye][1];
              }
              function fe(Et, Ye) {
                var Pe = Ye ? Ye.split(".") : [100, 100, 100];
                return Et[0] > Pe[0] ? true : Pe[0] > Et[0] ? false : Et[1] > Pe[1] ? true : Pe[1] > Et[1] ? false : Et[2] > Pe[2] ? true : Pe[2] > Et[2] ? false : null;
              }
              var Ce = /* @__PURE__ */ (function() {
                var Et = [4, 4, 14];
                function Ye(ue) {
                  var Ie = ue.t.d;
                  ue.t.d = {
                    k: [{
                      s: Ie,
                      t: 0
                    }]
                  };
                }
                function Pe(ue) {
                  var Ie, It = ue.length;
                  for (Ie = 0; Ie < It; Ie += 1)
                    ue[Ie].ty === 5 && Ye(ue[Ie]);
                }
                return function(ue) {
                  if (fe(Et, ue.v) && (Pe(ue.layers), ue.assets)) {
                    var Ie, It = ue.assets.length;
                    for (Ie = 0; Ie < It; Ie += 1)
                      ue.assets[Ie].layers && Pe(ue.assets[Ie].layers);
                  }
                };
              })(), Se = /* @__PURE__ */ (function() {
                var Et = [4, 7, 99];
                return function(Ye) {
                  if (Ye.chars && !fe(Et, Ye.v)) {
                    var Pe, ue = Ye.chars.length;
                    for (Pe = 0; Pe < ue; Pe += 1) {
                      var Ie = Ye.chars[Pe];
                      Ie.data && Ie.data.shapes && (J(Ie.data.shapes), Ie.data.ip = 0, Ie.data.op = 99999, Ie.data.st = 0, Ie.data.sr = 1, Ie.data.ks = {
                        p: {
                          k: [0, 0],
                          a: 0
                        },
                        s: {
                          k: [100, 100],
                          a: 0
                        },
                        a: {
                          k: [0, 0],
                          a: 0
                        },
                        r: {
                          k: 0,
                          a: 0
                        },
                        o: {
                          k: 100,
                          a: 0
                        }
                      }, Ye.chars[Pe].t || (Ie.data.shapes.push({
                        ty: "no"
                      }), Ie.data.shapes[0].it.push({
                        p: {
                          k: [0, 0],
                          a: 0
                        },
                        s: {
                          k: [100, 100],
                          a: 0
                        },
                        a: {
                          k: [0, 0],
                          a: 0
                        },
                        r: {
                          k: 0,
                          a: 0
                        },
                        o: {
                          k: 100,
                          a: 0
                        },
                        sk: {
                          k: 0,
                          a: 0
                        },
                        sa: {
                          k: 0,
                          a: 0
                        },
                        ty: "tr"
                      })));
                    }
                  }
                };
              })(), ft = /* @__PURE__ */ (function() {
                var Et = [5, 7, 15];
                function Ye(ue) {
                  var Ie = ue.t.p;
                  typeof Ie.a == "number" && (Ie.a = {
                    a: 0,
                    k: Ie.a
                  }), typeof Ie.p == "number" && (Ie.p = {
                    a: 0,
                    k: Ie.p
                  }), typeof Ie.r == "number" && (Ie.r = {
                    a: 0,
                    k: Ie.r
                  });
                }
                function Pe(ue) {
                  var Ie, It = ue.length;
                  for (Ie = 0; Ie < It; Ie += 1)
                    ue[Ie].ty === 5 && Ye(ue[Ie]);
                }
                return function(ue) {
                  if (fe(Et, ue.v) && (Pe(ue.layers), ue.assets)) {
                    var Ie, It = ue.assets.length;
                    for (Ie = 0; Ie < It; Ie += 1)
                      ue.assets[Ie].layers && Pe(ue.assets[Ie].layers);
                  }
                };
              })(), tn = /* @__PURE__ */ (function() {
                var Et = [4, 1, 9];
                function Ye(ue) {
                  var Ie, It = ue.length, pt, yn;
                  for (Ie = 0; Ie < It; Ie += 1)
                    if (ue[Ie].ty === "gr")
                      Ye(ue[Ie].it);
                    else if (ue[Ie].ty === "fl" || ue[Ie].ty === "st")
                      if (ue[Ie].c.k && ue[Ie].c.k[0].i)
                        for (yn = ue[Ie].c.k.length, pt = 0; pt < yn; pt += 1)
                          ue[Ie].c.k[pt].s && (ue[Ie].c.k[pt].s[0] /= 255, ue[Ie].c.k[pt].s[1] /= 255, ue[Ie].c.k[pt].s[2] /= 255, ue[Ie].c.k[pt].s[3] /= 255), ue[Ie].c.k[pt].e && (ue[Ie].c.k[pt].e[0] /= 255, ue[Ie].c.k[pt].e[1] /= 255, ue[Ie].c.k[pt].e[2] /= 255, ue[Ie].c.k[pt].e[3] /= 255);
                      else
                        ue[Ie].c.k[0] /= 255, ue[Ie].c.k[1] /= 255, ue[Ie].c.k[2] /= 255, ue[Ie].c.k[3] /= 255;
                }
                function Pe(ue) {
                  var Ie, It = ue.length;
                  for (Ie = 0; Ie < It; Ie += 1)
                    ue[Ie].ty === 4 && Ye(ue[Ie].shapes);
                }
                return function(ue) {
                  if (fe(Et, ue.v) && (Pe(ue.layers), ue.assets)) {
                    var Ie, It = ue.assets.length;
                    for (Ie = 0; Ie < It; Ie += 1)
                      ue.assets[Ie].layers && Pe(ue.assets[Ie].layers);
                  }
                };
              })(), qt = /* @__PURE__ */ (function() {
                var Et = [4, 4, 18];
                function Ye(ue) {
                  var Ie, It = ue.length, pt, yn;
                  for (Ie = It - 1; Ie >= 0; Ie -= 1)
                    if (ue[Ie].ty === "sh")
                      if (ue[Ie].ks.k.i)
                        ue[Ie].ks.k.c = ue[Ie].closed;
                      else
                        for (yn = ue[Ie].ks.k.length, pt = 0; pt < yn; pt += 1)
                          ue[Ie].ks.k[pt].s && (ue[Ie].ks.k[pt].s[0].c = ue[Ie].closed), ue[Ie].ks.k[pt].e && (ue[Ie].ks.k[pt].e[0].c = ue[Ie].closed);
                    else ue[Ie].ty === "gr" && Ye(ue[Ie].it);
                }
                function Pe(ue) {
                  var Ie, It, pt = ue.length, yn, zn, Bn, sr;
                  for (It = 0; It < pt; It += 1) {
                    if (Ie = ue[It], Ie.hasMask) {
                      var Vr = Ie.masksProperties;
                      for (zn = Vr.length, yn = 0; yn < zn; yn += 1)
                        if (Vr[yn].pt.k.i)
                          Vr[yn].pt.k.c = Vr[yn].cl;
                        else
                          for (sr = Vr[yn].pt.k.length, Bn = 0; Bn < sr; Bn += 1)
                            Vr[yn].pt.k[Bn].s && (Vr[yn].pt.k[Bn].s[0].c = Vr[yn].cl), Vr[yn].pt.k[Bn].e && (Vr[yn].pt.k[Bn].e[0].c = Vr[yn].cl);
                    }
                    Ie.ty === 4 && Ye(Ie.shapes);
                  }
                }
                return function(ue) {
                  if (fe(Et, ue.v) && (Pe(ue.layers), ue.assets)) {
                    var Ie, It = ue.assets.length;
                    for (Ie = 0; Ie < It; Ie += 1)
                      ue.assets[Ie].layers && Pe(ue.assets[Ie].layers);
                  }
                };
              })();
              function Gt(Et) {
                Et.__complete || (tn(Et), Ce(Et), Se(Et), ft(Et), qt(Et), Ne(Et.layers, Et.assets), j(Et.chars, Et.assets), Et.__complete = true);
              }
              function vn(Et) {
                Et.t.a.length === 0 && "m" in Et.t.p;
              }
              var gn = {};
              return gn.completeData = Gt, gn.checkColors = tn, gn.checkChars = Se, gn.checkPathProperties = ft, gn.checkShapes = qt, gn.completeLayers = Ne, gn;
            }
            if (V.dataManager || (V.dataManager = ye()), V.assetLoader || (V.assetLoader = /* @__PURE__ */ (function() {
              function Ne(ee) {
                var K = ee.getResponseHeader("content-type");
                return K && ee.responseType === "json" && K.indexOf("json") !== -1 || ee.response && yt(ee.response) === "object" ? ee.response : ee.response && typeof ee.response == "string" ? JSON.parse(ee.response) : ee.responseText ? JSON.parse(ee.responseText) : null;
              }
              function j(ee, K, J, se) {
                var fe, Ce = new XMLHttpRequest();
                try {
                  Ce.responseType = "json";
                } catch {
                }
                Ce.onreadystatechange = function() {
                  if (Ce.readyState === 4)
                    if (Ce.status === 200)
                      fe = Ne(Ce), J(fe);
                    else
                      try {
                        fe = Ne(Ce), J(fe);
                      } catch (Se) {
                        se && se(Se);
                      }
                };
                try {
                  Ce.open("GET", ee, true);
                } catch {
                  Ce.open("GET", K + "/" + ee, true);
                }
                Ce.send();
              }
              return {
                load: j
              };
            })()), Oe.data.type === "loadAnimation")
              V.assetLoader.load(Oe.data.path, Oe.data.fullPath, function(Ne) {
                V.dataManager.completeData(Ne), V.postMessage({
                  id: Oe.data.id,
                  payload: Ne,
                  status: "success"
                });
              }, function() {
                V.postMessage({
                  id: Oe.data.id,
                  status: "error"
                });
              });
            else if (Oe.data.type === "complete") {
              var Ee = Oe.data.animation;
              V.dataManager.completeData(Ee), V.postMessage({
                id: Oe.data.id,
                payload: Ee,
                status: "success"
              });
            } else Oe.data.type === "loadData" && V.assetLoader.load(Oe.data.path, Oe.data.fullPath, function(Ne) {
              V.postMessage({
                id: Oe.data.id,
                payload: Ne,
                status: "success"
              });
            }, function() {
              V.postMessage({
                id: Oe.data.id,
                status: "error"
              });
            });
          }), D.onmessage = function(me) {
            var Oe = me.data, ye = Oe.id, Ee = x[ye];
            x[ye] = null, Oe.status === "success" ? Ee.onComplete(Oe.payload) : Ee.onError && Ee.onError();
          });
        }
        function ve(me, Oe) {
          f += 1;
          var ye = "processId_" + f;
          return x[ye] = {
            onComplete: me,
            onError: Oe
          }, ye;
        }
        function Fe(me, Oe, ye) {
          De();
          var Ee = ve(Oe, ye);
          D.postMessage({
            type: "loadAnimation",
            path: me,
            fullPath: window.location.origin + window.location.pathname,
            id: Ee
          });
        }
        function He(me, Oe, ye) {
          De();
          var Ee = ve(Oe, ye);
          D.postMessage({
            type: "loadData",
            path: me,
            fullPath: window.location.origin + window.location.pathname,
            id: Ee
          });
        }
        function tt(me, Oe, ye) {
          De();
          var Ee = ve(Oe, ye);
          D.postMessage({
            type: "complete",
            animation: me,
            id: Ee
          });
        }
        return {
          loadAnimation: Fe,
          loadData: He,
          completeAnimation: tt
        };
      })(), qe = (function() {
        var f = (function() {
          var j = k("canvas");
          j.width = 1, j.height = 1;
          var ee = j.getContext("2d");
          return ee.fillStyle = "rgba(0,0,0,0)", ee.fillRect(0, 0, 1, 1), j;
        })();
        function x() {
          this.loadedAssets += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
        }
        function E() {
          this.loadedFootagesCount += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
        }
        function D(j, ee, K) {
          var J = "";
          if (j.e)
            J = j.p;
          else if (ee) {
            var se = j.p;
            se.indexOf("images/") !== -1 && (se = se.split("/")[1]), J = ee + se;
          } else
            J = K, J += j.u ? j.u : "", J += j.p;
          return J;
        }
        function W(j) {
          var ee = 0, K = setInterval((function() {
            var J = j.getBBox();
            (J.width || ee > 500) && (this._imageLoaded(), clearInterval(K)), ee += 1;
          }).bind(this), 50);
        }
        function V(j) {
          var ee = D(j, this.assetsPath, this.path), K = ct("image");
          te ? this.testImageLoaded(K) : K.addEventListener("load", this._imageLoaded, false), K.addEventListener("error", (function() {
            J.img = f, this._imageLoaded();
          }).bind(this), false), K.setAttributeNS("http://www.w3.org/1999/xlink", "href", ee), this._elementHelper.append ? this._elementHelper.append(K) : this._elementHelper.appendChild(K);
          var J = {
            img: K,
            assetData: j
          };
          return J;
        }
        function ge(j) {
          var ee = D(j, this.assetsPath, this.path), K = k("img");
          K.crossOrigin = "anonymous", K.addEventListener("load", this._imageLoaded, false), K.addEventListener("error", (function() {
            J.img = f, this._imageLoaded();
          }).bind(this), false), K.src = ee;
          var J = {
            img: K,
            assetData: j
          };
          return J;
        }
        function De(j) {
          var ee = {
            assetData: j
          }, K = D(j, this.assetsPath, this.path);
          return Ot.loadData(K, (function(J) {
            ee.img = J, this._footageLoaded();
          }).bind(this), (function() {
            ee.img = {}, this._footageLoaded();
          }).bind(this)), ee;
        }
        function ve(j, ee) {
          this.imagesLoadedCb = ee;
          var K, J = j.length;
          for (K = 0; K < J; K += 1)
            j[K].layers || (!j[K].t || j[K].t === "seq" ? (this.totalImages += 1, this.images.push(this._createImageData(j[K]))) : j[K].t === 3 && (this.totalFootages += 1, this.images.push(this.createFootageData(j[K]))));
        }
        function Fe(j) {
          this.path = j || "";
        }
        function He(j) {
          this.assetsPath = j || "";
        }
        function tt(j) {
          for (var ee = 0, K = this.images.length; ee < K; ) {
            if (this.images[ee].assetData === j)
              return this.images[ee].img;
            ee += 1;
          }
          return null;
        }
        function me() {
          this.imagesLoadedCb = null, this.images.length = 0;
        }
        function Oe() {
          return this.totalImages === this.loadedAssets;
        }
        function ye() {
          return this.totalFootages === this.loadedFootagesCount;
        }
        function Ee(j, ee) {
          j === "svg" ? (this._elementHelper = ee, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
        }
        function Ne() {
          this._imageLoaded = x.bind(this), this._footageLoaded = E.bind(this), this.testImageLoaded = W.bind(this), this.createFootageData = De.bind(this), this.assetsPath = "", this.path = "", this.totalImages = 0, this.totalFootages = 0, this.loadedAssets = 0, this.loadedFootagesCount = 0, this.imagesLoadedCb = null, this.images = [];
        }
        return Ne.prototype = {
          loadAssets: ve,
          setAssetsPath: He,
          setPath: Fe,
          loadedImages: Oe,
          loadedFootages: ye,
          destroy: me,
          getAsset: tt,
          createImgData: ge,
          createImageData: V,
          imageLoaded: x,
          footageLoaded: E,
          setCacheType: Ee
        }, Ne;
      })();
      function wt() {
      }
      wt.prototype = {
        triggerEvent: function(x, E) {
          if (this._cbs[x])
            for (var D = this._cbs[x], W = 0; W < D.length; W += 1)
              D[W](E);
        },
        addEventListener: function(x, E) {
          return this._cbs[x] || (this._cbs[x] = []), this._cbs[x].push(E), (function() {
            this.removeEventListener(x, E);
          }).bind(this);
        },
        removeEventListener: function(x, E) {
          if (!E)
            this._cbs[x] = null;
          else if (this._cbs[x]) {
            for (var D = 0, W = this._cbs[x].length; D < W; )
              this._cbs[x][D] === E && (this._cbs[x].splice(D, 1), D -= 1, W -= 1), D += 1;
            this._cbs[x].length || (this._cbs[x] = null);
          }
        }
      };
      var en = /* @__PURE__ */ (function() {
        function f(x) {
          for (var E = x.split(`\r
`), D = {}, W, V = 0, ge = 0; ge < E.length; ge += 1)
            W = E[ge].split(":"), W.length === 2 && (D[W[0]] = W[1].trim(), V += 1);
          if (V === 0)
            throw new Error();
          return D;
        }
        return function(x) {
          for (var E = [], D = 0; D < x.length; D += 1) {
            var W = x[D], V = {
              time: W.tm,
              duration: W.dr
            };
            try {
              V.payload = JSON.parse(x[D].cm);
            } catch {
              try {
                V.payload = f(x[D].cm);
              } catch {
                V.payload = {
                  name: x[D].cm
                };
              }
            }
            E.push(V);
          }
          return E;
        };
      })(), Vt = /* @__PURE__ */ (function() {
        function f(x) {
          this.compositions.push(x);
        }
        return function() {
          function x(E) {
            for (var D = 0, W = this.compositions.length; D < W; ) {
              if (this.compositions[D].data && this.compositions[D].data.nm === E)
                return this.compositions[D].prepareFrame && this.compositions[D].data.xt && this.compositions[D].prepareFrame(this.currentFrame), this.compositions[D].compInterface;
              D += 1;
            }
            return null;
          }
          return x.compositions = [], x.currentFrame = 0, x.registerComposition = f, x;
        };
      })(), wn = {}, dn = function(x, E) {
        wn[x] = E;
      };
      function zt(f) {
        return wn[f];
      }
      function jt(f) {
        "@babel/helpers - typeof";
        return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? jt = function(E) {
          return typeof E;
        } : jt = function(E) {
          return E && typeof Symbol == "function" && E.constructor === Symbol && E !== Symbol.prototype ? "symbol" : typeof E;
        }, jt(f);
      }
      var _t = function() {
        this._cbs = [], this.name = "", this.path = "", this.isLoaded = false, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = true, this.autoplay = false, this.loop = true, this.renderer = null, this.animationID = ut(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = _e(), this.segments = [], this._idle = true, this._completedLoop = false, this.projectInterface = Vt(), this.imagePreloader = new qe(), this.audioController = P(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new we("drawnFrame", 0, 0, 0);
      };
      T([wt], _t), _t.prototype.setParams = function(f) {
        (f.wrapper || f.container) && (this.wrapper = f.wrapper || f.container);
        var x = "svg";
        f.animType ? x = f.animType : f.renderer && (x = f.renderer);
        var E = zt(x);
        this.renderer = new E(this, f.rendererSettings), this.imagePreloader.setCacheType(x, this.renderer.globalData.defs), this.renderer.setProjectInterface(this.projectInterface), this.animType = x, f.loop === "" || f.loop === null || f.loop === void 0 || f.loop === true ? this.loop = true : f.loop === false ? this.loop = false : this.loop = parseInt(f.loop, 10), this.autoplay = "autoplay" in f ? f.autoplay : true, this.name = f.name ? f.name : "", this.autoloadSegments = Object.prototype.hasOwnProperty.call(f, "autoloadSegments") ? f.autoloadSegments : true, this.assetsPath = f.assetsPath, this.initialSegment = f.initialSegment, f.audioFactory && this.audioController.setAudioFactory(f.audioFactory), f.animationData ? this.setupAnimation(f.animationData) : f.path && (f.path.lastIndexOf("\\") !== -1 ? this.path = f.path.substr(0, f.path.lastIndexOf("\\") + 1) : this.path = f.path.substr(0, f.path.lastIndexOf("/") + 1), this.fileName = f.path.substr(f.path.lastIndexOf("/") + 1), this.fileName = this.fileName.substr(0, this.fileName.lastIndexOf(".json")), Ot.loadAnimation(f.path, this.configAnimation, this.onSetupError));
      }, _t.prototype.onSetupError = function() {
        this.trigger("data_failed");
      }, _t.prototype.setupAnimation = function(f) {
        Ot.completeAnimation(f, this.configAnimation);
      }, _t.prototype.setData = function(f, x) {
        x && jt(x) !== "object" && (x = JSON.parse(x));
        var E = {
          wrapper: f,
          animationData: x
        }, D = f.attributes;
        E.path = D.getNamedItem("data-animation-path") ? D.getNamedItem("data-animation-path").value : D.getNamedItem("data-bm-path") ? D.getNamedItem("data-bm-path").value : D.getNamedItem("bm-path") ? D.getNamedItem("bm-path").value : "", E.animType = D.getNamedItem("data-anim-type") ? D.getNamedItem("data-anim-type").value : D.getNamedItem("data-bm-type") ? D.getNamedItem("data-bm-type").value : D.getNamedItem("bm-type") ? D.getNamedItem("bm-type").value : D.getNamedItem("data-bm-renderer") ? D.getNamedItem("data-bm-renderer").value : D.getNamedItem("bm-renderer") ? D.getNamedItem("bm-renderer").value : "canvas";
        var W = D.getNamedItem("data-anim-loop") ? D.getNamedItem("data-anim-loop").value : D.getNamedItem("data-bm-loop") ? D.getNamedItem("data-bm-loop").value : D.getNamedItem("bm-loop") ? D.getNamedItem("bm-loop").value : "";
        W === "false" ? E.loop = false : W === "true" ? E.loop = true : W !== "" && (E.loop = parseInt(W, 10));
        var V = D.getNamedItem("data-anim-autoplay") ? D.getNamedItem("data-anim-autoplay").value : D.getNamedItem("data-bm-autoplay") ? D.getNamedItem("data-bm-autoplay").value : D.getNamedItem("bm-autoplay") ? D.getNamedItem("bm-autoplay").value : true;
        E.autoplay = V !== "false", E.name = D.getNamedItem("data-name") ? D.getNamedItem("data-name").value : D.getNamedItem("data-bm-name") ? D.getNamedItem("data-bm-name").value : D.getNamedItem("bm-name") ? D.getNamedItem("bm-name").value : "";
        var ge = D.getNamedItem("data-anim-prerender") ? D.getNamedItem("data-anim-prerender").value : D.getNamedItem("data-bm-prerender") ? D.getNamedItem("data-bm-prerender").value : D.getNamedItem("bm-prerender") ? D.getNamedItem("bm-prerender").value : "";
        ge === "false" && (E.prerender = false), this.setParams(E);
      }, _t.prototype.includeLayers = function(f) {
        f.op > this.animationData.op && (this.animationData.op = f.op, this.totalFrames = Math.floor(f.op - this.animationData.ip));
        var x = this.animationData.layers, E, D = x.length, W = f.layers, V, ge = W.length;
        for (V = 0; V < ge; V += 1)
          for (E = 0; E < D; ) {
            if (x[E].id === W[V].id) {
              x[E] = W[V];
              break;
            }
            E += 1;
          }
        if ((f.chars || f.fonts) && (this.renderer.globalData.fontManager.addChars(f.chars), this.renderer.globalData.fontManager.addFonts(f.fonts, this.renderer.globalData.defs)), f.assets)
          for (D = f.assets.length, E = 0; E < D; E += 1)
            this.animationData.assets.push(f.assets[E]);
        this.animationData.__complete = false, Ot.completeAnimation(this.animationData, this.onSegmentComplete);
      }, _t.prototype.onSegmentComplete = function(f) {
        this.animationData = f;
        var x = Ke();
        x && x.initExpressions(this), this.loadNextSegment();
      }, _t.prototype.loadNextSegment = function() {
        var f = this.animationData.segments;
        if (!f || f.length === 0 || !this.autoloadSegments) {
          this.trigger("data_ready"), this.timeCompleted = this.totalFrames;
          return;
        }
        var x = f.shift();
        this.timeCompleted = x.time * this.frameRate;
        var E = this.path + this.fileName + "_" + this.segmentPos + ".json";
        this.segmentPos += 1, Ot.loadData(E, this.includeLayers.bind(this), (function() {
          this.trigger("data_failed");
        }).bind(this));
      }, _t.prototype.loadSegments = function() {
        var f = this.animationData.segments;
        f || (this.timeCompleted = this.totalFrames), this.loadNextSegment();
      }, _t.prototype.imagesLoaded = function() {
        this.trigger("loaded_images"), this.checkLoaded();
      }, _t.prototype.preloadImages = function() {
        this.imagePreloader.setAssetsPath(this.assetsPath), this.imagePreloader.setPath(this.path), this.imagePreloader.loadAssets(this.animationData.assets, this.imagesLoaded.bind(this));
      }, _t.prototype.configAnimation = function(f) {
        if (this.renderer)
          try {
            this.animationData = f, this.initialSegment ? (this.totalFrames = Math.floor(this.initialSegment[1] - this.initialSegment[0]), this.firstFrame = Math.round(this.initialSegment[0])) : (this.totalFrames = Math.floor(this.animationData.op - this.animationData.ip), this.firstFrame = Math.round(this.animationData.ip)), this.renderer.configAnimation(f), f.assets || (f.assets = []), this.assets = this.animationData.assets, this.frameRate = this.animationData.fr, this.frameMult = this.animationData.fr / 1e3, this.renderer.searchExtraCompositions(f.assets), this.markers = en(f.markers || []), this.trigger("config_ready"), this.preloadImages(), this.loadSegments(), this.updaFrameModifier(), this.waitForFontsLoaded(), this.isPaused && this.audioController.pause();
          } catch (x) {
            this.triggerConfigError(x);
          }
      }, _t.prototype.waitForFontsLoaded = function() {
        this.renderer && (this.renderer.globalData.fontManager.isLoaded ? this.checkLoaded() : setTimeout(this.waitForFontsLoaded.bind(this), 20));
      }, _t.prototype.checkLoaded = function() {
        if (!this.isLoaded && this.renderer.globalData.fontManager.isLoaded && (this.imagePreloader.loadedImages() || this.renderer.rendererType !== "canvas") && this.imagePreloader.loadedFootages()) {
          this.isLoaded = true;
          var f = Ke();
          f && f.initExpressions(this), this.renderer.initItems(), setTimeout((function() {
            this.trigger("DOMLoaded");
          }).bind(this), 0), this.gotoFrame(), this.autoplay && this.play();
        }
      }, _t.prototype.resize = function() {
        this.renderer.updateContainerSize();
      }, _t.prototype.setSubframe = function(f) {
        this.isSubframeEnabled = !!f;
      }, _t.prototype.gotoFrame = function() {
        this.currentFrame = this.isSubframeEnabled ? this.currentRawFrame : ~~this.currentRawFrame, this.timeCompleted !== this.totalFrames && this.currentFrame > this.timeCompleted && (this.currentFrame = this.timeCompleted), this.trigger("enterFrame"), this.renderFrame(), this.trigger("drawnFrame");
      }, _t.prototype.renderFrame = function() {
        if (!(this.isLoaded === false || !this.renderer))
          try {
            this.renderer.renderFrame(this.currentFrame + this.firstFrame);
          } catch (f) {
            this.triggerRenderFrameError(f);
          }
      }, _t.prototype.play = function(f) {
        f && this.name !== f || this.isPaused === true && (this.isPaused = false, this.trigger("_pause"), this.audioController.resume(), this._idle && (this._idle = false, this.trigger("_active")));
      }, _t.prototype.pause = function(f) {
        f && this.name !== f || this.isPaused === false && (this.isPaused = true, this.trigger("_play"), this._idle = true, this.trigger("_idle"), this.audioController.pause());
      }, _t.prototype.togglePause = function(f) {
        f && this.name !== f || (this.isPaused === true ? this.play() : this.pause());
      }, _t.prototype.stop = function(f) {
        f && this.name !== f || (this.pause(), this.playCount = 0, this._completedLoop = false, this.setCurrentRawFrameValue(0));
      }, _t.prototype.getMarkerData = function(f) {
        for (var x, E = 0; E < this.markers.length; E += 1)
          if (x = this.markers[E], x.payload && x.payload.name === f)
            return x;
        return null;
      }, _t.prototype.goToAndStop = function(f, x, E) {
        if (!(E && this.name !== E)) {
          var D = Number(f);
          if (isNaN(D)) {
            var W = this.getMarkerData(f);
            W && this.goToAndStop(W.time, true);
          } else x ? this.setCurrentRawFrameValue(f) : this.setCurrentRawFrameValue(f * this.frameModifier);
          this.pause();
        }
      }, _t.prototype.goToAndPlay = function(f, x, E) {
        if (!(E && this.name !== E)) {
          var D = Number(f);
          if (isNaN(D)) {
            var W = this.getMarkerData(f);
            W && (W.duration ? this.playSegments([W.time, W.time + W.duration], true) : this.goToAndStop(W.time, true));
          } else
            this.goToAndStop(D, x, E);
          this.play();
        }
      }, _t.prototype.advanceTime = function(f) {
        if (!(this.isPaused === true || this.isLoaded === false)) {
          var x = this.currentRawFrame + f * this.frameModifier, E = false;
          x >= this.totalFrames - 1 && this.frameModifier > 0 ? !this.loop || this.playCount === this.loop ? this.checkSegments(x > this.totalFrames ? x % this.totalFrames : 0) || (E = true, x = this.totalFrames - 1) : x >= this.totalFrames ? (this.playCount += 1, this.checkSegments(x % this.totalFrames) || (this.setCurrentRawFrameValue(x % this.totalFrames), this._completedLoop = true, this.trigger("loopComplete"))) : this.setCurrentRawFrameValue(x) : x < 0 ? this.checkSegments(x % this.totalFrames) || (this.loop && !(this.playCount-- <= 0 && this.loop !== true) ? (this.setCurrentRawFrameValue(this.totalFrames + x % this.totalFrames), this._completedLoop ? this.trigger("loopComplete") : this._completedLoop = true) : (E = true, x = 0)) : this.setCurrentRawFrameValue(x), E && (this.setCurrentRawFrameValue(x), this.pause(), this.trigger("complete"));
        }
      }, _t.prototype.adjustSegment = function(f, x) {
        this.playCount = 0, f[1] < f[0] ? (this.frameModifier > 0 && (this.playSpeed < 0 ? this.setSpeed(-this.playSpeed) : this.setDirection(-1)), this.totalFrames = f[0] - f[1], this.timeCompleted = this.totalFrames, this.firstFrame = f[1], this.setCurrentRawFrameValue(this.totalFrames - 1e-3 - x)) : f[1] > f[0] && (this.frameModifier < 0 && (this.playSpeed < 0 ? this.setSpeed(-this.playSpeed) : this.setDirection(1)), this.totalFrames = f[1] - f[0], this.timeCompleted = this.totalFrames, this.firstFrame = f[0], this.setCurrentRawFrameValue(1e-3 + x)), this.trigger("segmentStart");
      }, _t.prototype.setSegment = function(f, x) {
        var E = -1;
        this.isPaused && (this.currentRawFrame + this.firstFrame < f ? E = f : this.currentRawFrame + this.firstFrame > x && (E = x - f)), this.firstFrame = f, this.totalFrames = x - f, this.timeCompleted = this.totalFrames, E !== -1 && this.goToAndStop(E, true);
      }, _t.prototype.playSegments = function(f, x) {
        if (x && (this.segments.length = 0), jt(f[0]) === "object") {
          var E, D = f.length;
          for (E = 0; E < D; E += 1)
            this.segments.push(f[E]);
        } else
          this.segments.push(f);
        this.segments.length && x && this.adjustSegment(this.segments.shift(), 0), this.isPaused && this.play();
      }, _t.prototype.resetSegments = function(f) {
        this.segments.length = 0, this.segments.push([this.animationData.ip, this.animationData.op]), f && this.checkSegments(0);
      }, _t.prototype.checkSegments = function(f) {
        return this.segments.length ? (this.adjustSegment(this.segments.shift(), f), true) : false;
      }, _t.prototype.destroy = function(f) {
        f && this.name !== f || !this.renderer || (this.renderer.destroy(), this.imagePreloader.destroy(), this.trigger("destroy"), this._cbs = null, this.onEnterFrame = null, this.onLoopComplete = null, this.onComplete = null, this.onSegmentStart = null, this.onDestroy = null, this.renderer = null, this.renderer = null, this.imagePreloader = null, this.projectInterface = null);
      }, _t.prototype.setCurrentRawFrameValue = function(f) {
        this.currentRawFrame = f, this.gotoFrame();
      }, _t.prototype.setSpeed = function(f) {
        this.playSpeed = f, this.updaFrameModifier();
      }, _t.prototype.setDirection = function(f) {
        this.playDirection = f < 0 ? -1 : 1, this.updaFrameModifier();
      }, _t.prototype.setVolume = function(f, x) {
        x && this.name !== x || this.audioController.setVolume(f);
      }, _t.prototype.getVolume = function() {
        return this.audioController.getVolume();
      }, _t.prototype.mute = function(f) {
        f && this.name !== f || this.audioController.mute();
      }, _t.prototype.unmute = function(f) {
        f && this.name !== f || this.audioController.unmute();
      }, _t.prototype.updaFrameModifier = function() {
        this.frameModifier = this.frameMult * this.playSpeed * this.playDirection, this.audioController.setRate(this.playSpeed * this.playDirection);
      }, _t.prototype.getPath = function() {
        return this.path;
      }, _t.prototype.getAssetsPath = function(f) {
        var x = "";
        if (f.e)
          x = f.p;
        else if (this.assetsPath) {
          var E = f.p;
          E.indexOf("images/") !== -1 && (E = E.split("/")[1]), x = this.assetsPath + E;
        } else
          x = this.path, x += f.u ? f.u : "", x += f.p;
        return x;
      }, _t.prototype.getAssetData = function(f) {
        for (var x = 0, E = this.assets.length; x < E; ) {
          if (f === this.assets[x].id)
            return this.assets[x];
          x += 1;
        }
        return null;
      }, _t.prototype.hide = function() {
        this.renderer.hide();
      }, _t.prototype.show = function() {
        this.renderer.show();
      }, _t.prototype.getDuration = function(f) {
        return f ? this.totalFrames : this.totalFrames / this.frameRate;
      }, _t.prototype.updateDocumentData = function(f, x, E) {
        try {
          var D = this.renderer.getElementByPath(f);
          D.updateDocumentData(x, E);
        } catch {
        }
      }, _t.prototype.trigger = function(f) {
        if (this._cbs && this._cbs[f])
          switch (f) {
            case "enterFrame":
              this.triggerEvent(f, new we(f, this.currentFrame, this.totalFrames, this.frameModifier));
              break;
            case "drawnFrame":
              this.drawnFrameEvent.currentTime = this.currentFrame, this.drawnFrameEvent.totalTime = this.totalFrames, this.drawnFrameEvent.direction = this.frameModifier, this.triggerEvent(f, this.drawnFrameEvent);
              break;
            case "loopComplete":
              this.triggerEvent(f, new be(f, this.loop, this.playCount, this.frameMult));
              break;
            case "complete":
              this.triggerEvent(f, new Te(f, this.frameMult));
              break;
            case "segmentStart":
              this.triggerEvent(f, new ie(f, this.firstFrame, this.totalFrames));
              break;
            case "destroy":
              this.triggerEvent(f, new de(f, this));
              break;
            default:
              this.triggerEvent(f);
          }
        f === "enterFrame" && this.onEnterFrame && this.onEnterFrame.call(this, new we(f, this.currentFrame, this.totalFrames, this.frameMult)), f === "loopComplete" && this.onLoopComplete && this.onLoopComplete.call(this, new be(f, this.loop, this.playCount, this.frameMult)), f === "complete" && this.onComplete && this.onComplete.call(this, new Te(f, this.frameMult)), f === "segmentStart" && this.onSegmentStart && this.onSegmentStart.call(this, new ie(f, this.firstFrame, this.totalFrames)), f === "destroy" && this.onDestroy && this.onDestroy.call(this, new de(f, this));
      }, _t.prototype.triggerRenderFrameError = function(f) {
        var x = new ze(f, this.currentFrame);
        this.triggerEvent("error", x), this.onError && this.onError.call(this, x);
      }, _t.prototype.triggerConfigError = function(f) {
        var x = new nt(f, this.currentFrame);
        this.triggerEvent("error", x), this.onError && this.onError.call(this, x);
      };
      var Pt = (function() {
        var f = {}, x = [], E = 0, D = 0, W = 0, V = true, ge = false;
        function De(Ye) {
          for (var Pe = 0, ue = Ye.target; Pe < D; )
            x[Pe].animation === ue && (x.splice(Pe, 1), Pe -= 1, D -= 1, ue.isPaused || tt()), Pe += 1;
        }
        function ve(Ye, Pe) {
          if (!Ye)
            return null;
          for (var ue = 0; ue < D; ) {
            if (x[ue].elem === Ye && x[ue].elem !== null)
              return x[ue].animation;
            ue += 1;
          }
          var Ie = new _t();
          return me(Ie, Ye), Ie.setData(Ye, Pe), Ie;
        }
        function Fe() {
          var Ye, Pe = x.length, ue = [];
          for (Ye = 0; Ye < Pe; Ye += 1)
            ue.push(x[Ye].animation);
          return ue;
        }
        function He() {
          W += 1, tn();
        }
        function tt() {
          W -= 1;
        }
        function me(Ye, Pe) {
          Ye.addEventListener("destroy", De), Ye.addEventListener("_active", He), Ye.addEventListener("_idle", tt), x.push({
            elem: Pe,
            animation: Ye
          }), D += 1;
        }
        function Oe(Ye) {
          var Pe = new _t();
          return me(Pe, null), Pe.setParams(Ye), Pe;
        }
        function ye(Ye, Pe) {
          var ue;
          for (ue = 0; ue < D; ue += 1)
            x[ue].animation.setSpeed(Ye, Pe);
        }
        function Ee(Ye, Pe) {
          var ue;
          for (ue = 0; ue < D; ue += 1)
            x[ue].animation.setDirection(Ye, Pe);
        }
        function Ne(Ye) {
          var Pe;
          for (Pe = 0; Pe < D; Pe += 1)
            x[Pe].animation.play(Ye);
        }
        function j(Ye) {
          var Pe = Ye - E, ue;
          for (ue = 0; ue < D; ue += 1)
            x[ue].animation.advanceTime(Pe);
          E = Ye, W && !ge ? window.requestAnimationFrame(j) : V = true;
        }
        function ee(Ye) {
          E = Ye, window.requestAnimationFrame(j);
        }
        function K(Ye) {
          var Pe;
          for (Pe = 0; Pe < D; Pe += 1)
            x[Pe].animation.pause(Ye);
        }
        function J(Ye, Pe, ue) {
          var Ie;
          for (Ie = 0; Ie < D; Ie += 1)
            x[Ie].animation.goToAndStop(Ye, Pe, ue);
        }
        function se(Ye) {
          var Pe;
          for (Pe = 0; Pe < D; Pe += 1)
            x[Pe].animation.stop(Ye);
        }
        function fe(Ye) {
          var Pe;
          for (Pe = 0; Pe < D; Pe += 1)
            x[Pe].animation.togglePause(Ye);
        }
        function Ce(Ye) {
          var Pe;
          for (Pe = D - 1; Pe >= 0; Pe -= 1)
            x[Pe].animation.destroy(Ye);
        }
        function Se(Ye, Pe, ue) {
          var Ie = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), It, pt = Ie.length;
          for (It = 0; It < pt; It += 1)
            ue && Ie[It].setAttribute("data-bm-type", ue), ve(Ie[It], Ye);
          if (Pe && pt === 0) {
            ue || (ue = "svg");
            var yn = document.getElementsByTagName("body")[0];
            yn.innerText = "";
            var zn = k("div");
            zn.style.width = "100%", zn.style.height = "100%", zn.setAttribute("data-bm-type", ue), yn.appendChild(zn), ve(zn, Ye);
          }
        }
        function ft() {
          var Ye;
          for (Ye = 0; Ye < D; Ye += 1)
            x[Ye].animation.resize();
        }
        function tn() {
          !ge && W && V && (window.requestAnimationFrame(ee), V = false);
        }
        function qt() {
          ge = true;
        }
        function Gt() {
          ge = false, tn();
        }
        function vn(Ye, Pe) {
          var ue;
          for (ue = 0; ue < D; ue += 1)
            x[ue].animation.setVolume(Ye, Pe);
        }
        function gn(Ye) {
          var Pe;
          for (Pe = 0; Pe < D; Pe += 1)
            x[Pe].animation.mute(Ye);
        }
        function Et(Ye) {
          var Pe;
          for (Pe = 0; Pe < D; Pe += 1)
            x[Pe].animation.unmute(Ye);
        }
        return f.registerAnimation = ve, f.loadAnimation = Oe, f.setSpeed = ye, f.setDirection = Ee, f.play = Ne, f.pause = K, f.stop = se, f.togglePause = fe, f.searchAnimations = Se, f.resize = ft, f.goToAndStop = J, f.destroy = Ce, f.freeze = qt, f.unfreeze = Gt, f.setVolume = vn, f.mute = gn, f.unmute = Et, f.getRegisteredAnimations = Fe, f;
      })(), Ht = (function() {
        var f = {};
        f.getBezierEasing = E;
        var x = {};
        function E(ee, K, J, se, fe) {
          var Ce = fe || ("bez_" + ee + "_" + K + "_" + J + "_" + se).replace(/\./g, "p");
          if (x[Ce])
            return x[Ce];
          var Se = new j([ee, K, J, se]);
          return x[Ce] = Se, Se;
        }
        var D = 4, W = 1e-3, V = 1e-7, ge = 10, De = 11, ve = 1 / (De - 1), Fe = typeof Float32Array == "function";
        function He(ee, K) {
          return 1 - 3 * K + 3 * ee;
        }
        function tt(ee, K) {
          return 3 * K - 6 * ee;
        }
        function me(ee) {
          return 3 * ee;
        }
        function Oe(ee, K, J) {
          return ((He(K, J) * ee + tt(K, J)) * ee + me(K)) * ee;
        }
        function ye(ee, K, J) {
          return 3 * He(K, J) * ee * ee + 2 * tt(K, J) * ee + me(K);
        }
        function Ee(ee, K, J, se, fe) {
          var Ce, Se, ft = 0;
          do
            Se = K + (J - K) / 2, Ce = Oe(Se, se, fe) - ee, Ce > 0 ? J = Se : K = Se;
          while (Math.abs(Ce) > V && ++ft < ge);
          return Se;
        }
        function Ne(ee, K, J, se) {
          for (var fe = 0; fe < D; ++fe) {
            var Ce = ye(K, J, se);
            if (Ce === 0) return K;
            var Se = Oe(K, J, se) - ee;
            K -= Se / Ce;
          }
          return K;
        }
        function j(ee) {
          this._p = ee, this._mSampleValues = Fe ? new Float32Array(De) : new Array(De), this._precomputed = false, this.get = this.get.bind(this);
        }
        return j.prototype = {
          get: function(K) {
            var J = this._p[0], se = this._p[1], fe = this._p[2], Ce = this._p[3];
            return this._precomputed || this._precompute(), J === se && fe === Ce ? K : K === 0 ? 0 : K === 1 ? 1 : Oe(this._getTForX(K), se, Ce);
          },
          // Private part
          _precompute: function() {
            var K = this._p[0], J = this._p[1], se = this._p[2], fe = this._p[3];
            this._precomputed = true, (K !== J || se !== fe) && this._calcSampleValues();
          },
          _calcSampleValues: function() {
            for (var K = this._p[0], J = this._p[2], se = 0; se < De; ++se)
              this._mSampleValues[se] = Oe(se * ve, K, J);
          },
          /**
               * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
               */
          _getTForX: function(K) {
            for (var J = this._p[0], se = this._p[2], fe = this._mSampleValues, Ce = 0, Se = 1, ft = De - 1; Se !== ft && fe[Se] <= K; ++Se)
              Ce += ve;
            --Se;
            var tn = (K - fe[Se]) / (fe[Se + 1] - fe[Se]), qt = Ce + tn * ve, Gt = ye(qt, J, se);
            return Gt >= W ? Ne(K, qt, J, se) : Gt === 0 ? qt : Ee(K, Ce, Ce + ve, J, se);
          }
        }, f;
      })(), kn = /* @__PURE__ */ (function() {
        function f(x) {
          return x.concat(U(x.length));
        }
        return {
          double: f
        };
      })(), Tn = /* @__PURE__ */ (function() {
        return function(f, x, E) {
          var D = 0, W = f, V = U(W), ge = {
            newElement: De,
            release: ve
          };
          function De() {
            var Fe;
            return D ? (D -= 1, Fe = V[D]) : Fe = x(), Fe;
          }
          function ve(Fe) {
            D === W && (V = kn.double(V), W *= 2), E && E(Fe), V[D] = Fe, D += 1;
          }
          return ge;
        };
      })(), hn = (function() {
        function f() {
          return {
            addedLength: 0,
            percents: S("float32", gt()),
            lengths: S("float32", gt())
          };
        }
        return Tn(8, f);
      })(), Nt = (function() {
        function f() {
          return {
            lengths: [],
            totalLength: 0
          };
        }
        function x(E) {
          var D, W = E.lengths.length;
          for (D = 0; D < W; D += 1)
            hn.release(E.lengths[D]);
          E.lengths.length = 0;
        }
        return Tn(8, f, x);
      })();
      function Qn() {
        var f = Math;
        function x(me, Oe, ye, Ee, Ne, j) {
          var ee = me * Ee + Oe * Ne + ye * j - Ne * Ee - j * me - ye * Oe;
          return ee > -1e-3 && ee < 1e-3;
        }
        function E(me, Oe, ye, Ee, Ne, j, ee, K, J) {
          if (ye === 0 && j === 0 && J === 0)
            return x(me, Oe, Ee, Ne, ee, K);
          var se = f.sqrt(f.pow(Ee - me, 2) + f.pow(Ne - Oe, 2) + f.pow(j - ye, 2)), fe = f.sqrt(f.pow(ee - me, 2) + f.pow(K - Oe, 2) + f.pow(J - ye, 2)), Ce = f.sqrt(f.pow(ee - Ee, 2) + f.pow(K - Ne, 2) + f.pow(J - j, 2)), Se;
          return se > fe ? se > Ce ? Se = se - fe - Ce : Se = Ce - fe - se : Ce > fe ? Se = Ce - fe - se : Se = fe - se - Ce, Se > -1e-4 && Se < 1e-4;
        }
        var D = /* @__PURE__ */ (function() {
          return function(me, Oe, ye, Ee) {
            var Ne = gt(), j, ee, K, J, se, fe = 0, Ce, Se = [], ft = [], tn = hn.newElement();
            for (K = ye.length, j = 0; j < Ne; j += 1) {
              for (se = j / (Ne - 1), Ce = 0, ee = 0; ee < K; ee += 1)
                J = Q(1 - se, 3) * me[ee] + 3 * Q(1 - se, 2) * se * ye[ee] + 3 * (1 - se) * Q(se, 2) * Ee[ee] + Q(se, 3) * Oe[ee], Se[ee] = J, ft[ee] !== null && (Ce += Q(Se[ee] - ft[ee], 2)), ft[ee] = Se[ee];
              Ce && (Ce = q(Ce), fe += Ce), tn.percents[j] = se, tn.lengths[j] = fe;
            }
            return tn.addedLength = fe, tn;
          };
        })();
        function W(me) {
          var Oe = Nt.newElement(), ye = me.c, Ee = me.v, Ne = me.o, j = me.i, ee, K = me._length, J = Oe.lengths, se = 0;
          for (ee = 0; ee < K - 1; ee += 1)
            J[ee] = D(Ee[ee], Ee[ee + 1], Ne[ee], j[ee + 1]), se += J[ee].addedLength;
          return ye && K && (J[ee] = D(Ee[ee], Ee[0], Ne[ee], j[0]), se += J[ee].addedLength), Oe.totalLength = se, Oe;
        }
        function V(me) {
          this.segmentLength = 0, this.points = new Array(me);
        }
        function ge(me, Oe) {
          this.partialLength = me, this.point = Oe;
        }
        var De = /* @__PURE__ */ (function() {
          var me = {};
          return function(Oe, ye, Ee, Ne) {
            var j = (Oe[0] + "_" + Oe[1] + "_" + ye[0] + "_" + ye[1] + "_" + Ee[0] + "_" + Ee[1] + "_" + Ne[0] + "_" + Ne[1]).replace(/\./g, "p");
            if (!me[j]) {
              var ee = gt(), K, J, se, fe, Ce, Se = 0, ft, tn, qt = null;
              Oe.length === 2 && (Oe[0] !== ye[0] || Oe[1] !== ye[1]) && x(Oe[0], Oe[1], ye[0], ye[1], Oe[0] + Ee[0], Oe[1] + Ee[1]) && x(Oe[0], Oe[1], ye[0], ye[1], ye[0] + Ne[0], ye[1] + Ne[1]) && (ee = 2);
              var Gt = new V(ee);
              for (se = Ee.length, K = 0; K < ee; K += 1) {
                for (tn = U(se), Ce = K / (ee - 1), ft = 0, J = 0; J < se; J += 1)
                  fe = Q(1 - Ce, 3) * Oe[J] + 3 * Q(1 - Ce, 2) * Ce * (Oe[J] + Ee[J]) + 3 * (1 - Ce) * Q(Ce, 2) * (ye[J] + Ne[J]) + Q(Ce, 3) * ye[J], tn[J] = fe, qt !== null && (ft += Q(tn[J] - qt[J], 2));
                ft = q(ft), Se += ft, Gt.points[K] = new ge(ft, tn), qt = tn;
              }
              Gt.segmentLength = Se, me[j] = Gt;
            }
            return me[j];
          };
        })();
        function ve(me, Oe) {
          var ye = Oe.percents, Ee = Oe.lengths, Ne = ye.length, j = F((Ne - 1) * me), ee = me * Oe.addedLength, K = 0;
          if (j === Ne - 1 || j === 0 || ee === Ee[j])
            return ye[j];
          for (var J = Ee[j] > ee ? -1 : 1, se = true; se; )
            if (Ee[j] <= ee && Ee[j + 1] > ee ? (K = (ee - Ee[j]) / (Ee[j + 1] - Ee[j]), se = false) : j += J, j < 0 || j >= Ne - 1) {
              if (j === Ne - 1)
                return ye[j];
              se = false;
            }
          return ye[j] + (ye[j + 1] - ye[j]) * K;
        }
        function Fe(me, Oe, ye, Ee, Ne, j) {
          var ee = ve(Ne, j), K = 1 - ee, J = f.round((K * K * K * me[0] + (ee * K * K + K * ee * K + K * K * ee) * ye[0] + (ee * ee * K + K * ee * ee + ee * K * ee) * Ee[0] + ee * ee * ee * Oe[0]) * 1e3) / 1e3, se = f.round((K * K * K * me[1] + (ee * K * K + K * ee * K + K * K * ee) * ye[1] + (ee * ee * K + K * ee * ee + ee * K * ee) * Ee[1] + ee * ee * ee * Oe[1]) * 1e3) / 1e3;
          return [J, se];
        }
        var He = S("float32", 8);
        function tt(me, Oe, ye, Ee, Ne, j, ee) {
          Ne < 0 ? Ne = 0 : Ne > 1 && (Ne = 1);
          var K = ve(Ne, ee);
          j = j > 1 ? 1 : j;
          var J = ve(j, ee), se, fe = me.length, Ce = 1 - K, Se = 1 - J, ft = Ce * Ce * Ce, tn = K * Ce * Ce * 3, qt = K * K * Ce * 3, Gt = K * K * K, vn = Ce * Ce * Se, gn = K * Ce * Se + Ce * K * Se + Ce * Ce * J, Et = K * K * Se + Ce * K * J + K * Ce * J, Ye = K * K * J, Pe = Ce * Se * Se, ue = K * Se * Se + Ce * J * Se + Ce * Se * J, Ie = K * J * Se + Ce * J * J + K * Se * J, It = K * J * J, pt = Se * Se * Se, yn = J * Se * Se + Se * J * Se + Se * Se * J, zn = J * J * Se + Se * J * J + J * Se * J, Bn = J * J * J;
          for (se = 0; se < fe; se += 1)
            He[se * 4] = f.round((ft * me[se] + tn * ye[se] + qt * Ee[se] + Gt * Oe[se]) * 1e3) / 1e3, He[se * 4 + 1] = f.round((vn * me[se] + gn * ye[se] + Et * Ee[se] + Ye * Oe[se]) * 1e3) / 1e3, He[se * 4 + 2] = f.round((Pe * me[se] + ue * ye[se] + Ie * Ee[se] + It * Oe[se]) * 1e3) / 1e3, He[se * 4 + 3] = f.round((pt * me[se] + yn * ye[se] + zn * Ee[se] + Bn * Oe[se]) * 1e3) / 1e3;
          return He;
        }
        return {
          getSegmentsLength: W,
          getNewSegment: tt,
          getPointInSegment: Fe,
          buildBezierData: De,
          pointOnLine2D: x,
          pointOnLine3D: E
        };
      }
      var hr = Qn(), Wt = /* @__PURE__ */ (function() {
        var f = i, x = Math.abs;
        function E(Ne, j) {
          var ee = this.offsetTime, K;
          this.propType === "multidimensional" && (K = S("float32", this.pv.length));
          for (var J = j.lastIndex, se = J, fe = this.keyframes.length - 1, Ce = true, Se, ft, tn; Ce; ) {
            if (Se = this.keyframes[se], ft = this.keyframes[se + 1], se === fe - 1 && Ne >= ft.t - ee) {
              Se.h && (Se = ft), J = 0;
              break;
            }
            if (ft.t - ee > Ne) {
              J = se;
              break;
            }
            se < fe - 1 ? se += 1 : (J = 0, Ce = false);
          }
          tn = this.keyframesMetadata[se] || {};
          var qt, Gt, vn, gn, Et, Ye, Pe = ft.t - ee, ue = Se.t - ee, Ie;
          if (Se.to) {
            tn.bezierData || (tn.bezierData = hr.buildBezierData(Se.s, ft.s || Se.e, Se.to, Se.ti));
            var It = tn.bezierData;
            if (Ne >= Pe || Ne < ue) {
              var pt = Ne >= Pe ? It.points.length - 1 : 0;
              for (Gt = It.points[pt].point.length, qt = 0; qt < Gt; qt += 1)
                K[qt] = It.points[pt].point[qt];
            } else {
              tn.__fnct ? Ye = tn.__fnct : (Ye = Ht.getBezierEasing(Se.o.x, Se.o.y, Se.i.x, Se.i.y, Se.n).get, tn.__fnct = Ye), vn = Ye((Ne - ue) / (Pe - ue));
              var yn = It.segmentLength * vn, zn, Bn = j.lastFrame < Ne && j._lastKeyframeIndex === se ? j._lastAddedLength : 0;
              for (Et = j.lastFrame < Ne && j._lastKeyframeIndex === se ? j._lastPoint : 0, Ce = true, gn = It.points.length; Ce; ) {
                if (Bn += It.points[Et].partialLength, yn === 0 || vn === 0 || Et === It.points.length - 1) {
                  for (Gt = It.points[Et].point.length, qt = 0; qt < Gt; qt += 1)
                    K[qt] = It.points[Et].point[qt];
                  break;
                } else if (yn >= Bn && yn < Bn + It.points[Et + 1].partialLength) {
                  for (zn = (yn - Bn) / It.points[Et + 1].partialLength, Gt = It.points[Et].point.length, qt = 0; qt < Gt; qt += 1)
                    K[qt] = It.points[Et].point[qt] + (It.points[Et + 1].point[qt] - It.points[Et].point[qt]) * zn;
                  break;
                }
                Et < gn - 1 ? Et += 1 : Ce = false;
              }
              j._lastPoint = Et, j._lastAddedLength = Bn - It.points[Et].partialLength, j._lastKeyframeIndex = se;
            }
          } else {
            var sr, Vr, fo, zi, Ii;
            if (fe = Se.s.length, Ie = ft.s || Se.e, this.sh && Se.h !== 1)
              if (Ne >= Pe)
                K[0] = Ie[0], K[1] = Ie[1], K[2] = Ie[2];
              else if (Ne <= ue)
                K[0] = Se.s[0], K[1] = Se.s[1], K[2] = Se.s[2];
              else {
                var ho = V(Se.s), So = V(Ie), Br = (Ne - ue) / (Pe - ue);
                W(K, D(ho, So, Br));
              }
            else
              for (se = 0; se < fe; se += 1)
                Se.h !== 1 && (Ne >= Pe ? vn = 1 : Ne < ue ? vn = 0 : (Se.o.x.constructor === Array ? (tn.__fnct || (tn.__fnct = []), tn.__fnct[se] ? Ye = tn.__fnct[se] : (sr = Se.o.x[se] === void 0 ? Se.o.x[0] : Se.o.x[se], Vr = Se.o.y[se] === void 0 ? Se.o.y[0] : Se.o.y[se], fo = Se.i.x[se] === void 0 ? Se.i.x[0] : Se.i.x[se], zi = Se.i.y[se] === void 0 ? Se.i.y[0] : Se.i.y[se], Ye = Ht.getBezierEasing(sr, Vr, fo, zi).get, tn.__fnct[se] = Ye)) : tn.__fnct ? Ye = tn.__fnct : (sr = Se.o.x, Vr = Se.o.y, fo = Se.i.x, zi = Se.i.y, Ye = Ht.getBezierEasing(sr, Vr, fo, zi).get, Se.keyframeMetadata = Ye), vn = Ye((Ne - ue) / (Pe - ue)))), Ie = ft.s || Se.e, Ii = Se.h === 1 ? Se.s[se] : Se.s[se] + (Ie[se] - Se.s[se]) * vn, this.propType === "multidimensional" ? K[se] = Ii : K = Ii;
          }
          return j.lastIndex = J, K;
        }
        function D(Ne, j, ee) {
          var K = [], J = Ne[0], se = Ne[1], fe = Ne[2], Ce = Ne[3], Se = j[0], ft = j[1], tn = j[2], qt = j[3], Gt, vn, gn, Et, Ye;
          return vn = J * Se + se * ft + fe * tn + Ce * qt, vn < 0 && (vn = -vn, Se = -Se, ft = -ft, tn = -tn, qt = -qt), 1 - vn > 1e-6 ? (Gt = Math.acos(vn), gn = Math.sin(Gt), Et = Math.sin((1 - ee) * Gt) / gn, Ye = Math.sin(ee * Gt) / gn) : (Et = 1 - ee, Ye = ee), K[0] = Et * J + Ye * Se, K[1] = Et * se + Ye * ft, K[2] = Et * fe + Ye * tn, K[3] = Et * Ce + Ye * qt, K;
        }
        function W(Ne, j) {
          var ee = j[0], K = j[1], J = j[2], se = j[3], fe = Math.atan2(2 * K * se - 2 * ee * J, 1 - 2 * K * K - 2 * J * J), Ce = Math.asin(2 * ee * K + 2 * J * se), Se = Math.atan2(2 * ee * se - 2 * K * J, 1 - 2 * ee * ee - 2 * J * J);
          Ne[0] = fe / pe, Ne[1] = Ce / pe, Ne[2] = Se / pe;
        }
        function V(Ne) {
          var j = Ne[0] * pe, ee = Ne[1] * pe, K = Ne[2] * pe, J = Math.cos(j / 2), se = Math.cos(ee / 2), fe = Math.cos(K / 2), Ce = Math.sin(j / 2), Se = Math.sin(ee / 2), ft = Math.sin(K / 2), tn = J * se * fe - Ce * Se * ft, qt = Ce * Se * fe + J * se * ft, Gt = Ce * se * fe + J * Se * ft, vn = J * Se * fe - Ce * se * ft;
          return [qt, Gt, vn, tn];
        }
        function ge() {
          var Ne = this.comp.renderedFrame - this.offsetTime, j = this.keyframes[0].t - this.offsetTime, ee = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
          if (!(Ne === this._caching.lastFrame || this._caching.lastFrame !== f && (this._caching.lastFrame >= ee && Ne >= ee || this._caching.lastFrame < j && Ne < j))) {
            this._caching.lastFrame >= Ne && (this._caching._lastKeyframeIndex = -1, this._caching.lastIndex = 0);
            var K = this.interpolateValue(Ne, this._caching);
            this.pv = K;
          }
          return this._caching.lastFrame = Ne, this.pv;
        }
        function De(Ne) {
          var j;
          if (this.propType === "unidimensional")
            j = Ne * this.mult, x(this.v - j) > 1e-5 && (this.v = j, this._mdf = true);
          else
            for (var ee = 0, K = this.v.length; ee < K; )
              j = Ne[ee] * this.mult, x(this.v[ee] - j) > 1e-5 && (this.v[ee] = j, this._mdf = true), ee += 1;
        }
        function ve() {
          if (!(this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length)) {
            if (this.lock) {
              this.setVValue(this.pv);
              return;
            }
            this.lock = true, this._mdf = this._isFirstFrame;
            var Ne, j = this.effectsSequence.length, ee = this.kf ? this.pv : this.data.k;
            for (Ne = 0; Ne < j; Ne += 1)
              ee = this.effectsSequence[Ne](ee);
            this.setVValue(ee), this._isFirstFrame = false, this.lock = false, this.frameId = this.elem.globalData.frameId;
          }
        }
        function Fe(Ne) {
          this.effectsSequence.push(Ne), this.container.addDynamicProperty(this);
        }
        function He(Ne, j, ee, K) {
          this.propType = "unidimensional", this.mult = ee || 1, this.data = j, this.v = ee ? j.k * ee : j.k, this.pv = j.k, this._mdf = false, this.elem = Ne, this.container = K, this.comp = Ne.comp, this.k = false, this.kf = false, this.vel = 0, this.effectsSequence = [], this._isFirstFrame = true, this.getValue = ve, this.setVValue = De, this.addEffect = Fe;
        }
        function tt(Ne, j, ee, K) {
          this.propType = "multidimensional", this.mult = ee || 1, this.data = j, this._mdf = false, this.elem = Ne, this.container = K, this.comp = Ne.comp, this.k = false, this.kf = false, this.frameId = -1;
          var J, se = j.k.length;
          for (this.v = S("float32", se), this.pv = S("float32", se), this.vel = S("float32", se), J = 0; J < se; J += 1)
            this.v[J] = j.k[J] * this.mult, this.pv[J] = j.k[J];
          this._isFirstFrame = true, this.effectsSequence = [], this.getValue = ve, this.setVValue = De, this.addEffect = Fe;
        }
        function me(Ne, j, ee, K) {
          this.propType = "unidimensional", this.keyframes = j.k, this.keyframesMetadata = [], this.offsetTime = Ne.data.st, this.frameId = -1, this._caching = {
            lastFrame: f,
            lastIndex: 0,
            value: 0,
            _lastKeyframeIndex: -1
          }, this.k = true, this.kf = true, this.data = j, this.mult = ee || 1, this.elem = Ne, this.container = K, this.comp = Ne.comp, this.v = f, this.pv = f, this._isFirstFrame = true, this.getValue = ve, this.setVValue = De, this.interpolateValue = E, this.effectsSequence = [ge.bind(this)], this.addEffect = Fe;
        }
        function Oe(Ne, j, ee, K) {
          this.propType = "multidimensional";
          var J, se = j.k.length, fe, Ce, Se, ft;
          for (J = 0; J < se - 1; J += 1)
            j.k[J].to && j.k[J].s && j.k[J + 1] && j.k[J + 1].s && (fe = j.k[J].s, Ce = j.k[J + 1].s, Se = j.k[J].to, ft = j.k[J].ti, (fe.length === 2 && !(fe[0] === Ce[0] && fe[1] === Ce[1]) && hr.pointOnLine2D(fe[0], fe[1], Ce[0], Ce[1], fe[0] + Se[0], fe[1] + Se[1]) && hr.pointOnLine2D(fe[0], fe[1], Ce[0], Ce[1], Ce[0] + ft[0], Ce[1] + ft[1]) || fe.length === 3 && !(fe[0] === Ce[0] && fe[1] === Ce[1] && fe[2] === Ce[2]) && hr.pointOnLine3D(fe[0], fe[1], fe[2], Ce[0], Ce[1], Ce[2], fe[0] + Se[0], fe[1] + Se[1], fe[2] + Se[2]) && hr.pointOnLine3D(fe[0], fe[1], fe[2], Ce[0], Ce[1], Ce[2], Ce[0] + ft[0], Ce[1] + ft[1], Ce[2] + ft[2])) && (j.k[J].to = null, j.k[J].ti = null), fe[0] === Ce[0] && fe[1] === Ce[1] && Se[0] === 0 && Se[1] === 0 && ft[0] === 0 && ft[1] === 0 && (fe.length === 2 || fe[2] === Ce[2] && Se[2] === 0 && ft[2] === 0) && (j.k[J].to = null, j.k[J].ti = null));
          this.effectsSequence = [ge.bind(this)], this.data = j, this.keyframes = j.k, this.keyframesMetadata = [], this.offsetTime = Ne.data.st, this.k = true, this.kf = true, this._isFirstFrame = true, this.mult = ee || 1, this.elem = Ne, this.container = K, this.comp = Ne.comp, this.getValue = ve, this.setVValue = De, this.interpolateValue = E, this.frameId = -1;
          var tn = j.k[0].s.length;
          for (this.v = S("float32", tn), this.pv = S("float32", tn), J = 0; J < tn; J += 1)
            this.v[J] = f, this.pv[J] = f;
          this._caching = {
            lastFrame: f,
            lastIndex: 0,
            value: S("float32", tn)
          }, this.addEffect = Fe;
        }
        function ye(Ne, j, ee, K, J) {
          var se;
          if (!j.k.length)
            se = new He(Ne, j, K, J);
          else if (typeof j.k[0] == "number")
            se = new tt(Ne, j, K, J);
          else
            switch (ee) {
              case 0:
                se = new me(Ne, j, K, J);
                break;
              case 1:
                se = new Oe(Ne, j, K, J);
                break;
            }
          return se.effectsSequence.length && J.addDynamicProperty(se), se;
        }
        var Ee = {
          getProp: ye
        };
        return Ee;
      })();
      function ir() {
      }
      ir.prototype = {
        addDynamicProperty: function(x) {
          this.dynamicProperties.indexOf(x) === -1 && (this.dynamicProperties.push(x), this.container.addDynamicProperty(this), this._isAnimated = true);
        },
        iterateDynamicProperties: function() {
          this._mdf = false;
          var x, E = this.dynamicProperties.length;
          for (x = 0; x < E; x += 1)
            this.dynamicProperties[x].getValue(), this.dynamicProperties[x]._mdf && (this._mdf = true);
        },
        initDynamicPropertyContainer: function(x) {
          this.container = x, this.dynamicProperties = [], this._mdf = false, this._isAnimated = false;
        }
      };
      var sn = (function() {
        function f() {
          return S("float32", 2);
        }
        return Tn(8, f);
      })();
      function Rt() {
        this.c = false, this._length = 0, this._maxLength = 8, this.v = U(this._maxLength), this.o = U(this._maxLength), this.i = U(this._maxLength);
      }
      Rt.prototype.setPathData = function(f, x) {
        this.c = f, this.setLength(x);
        for (var E = 0; E < x; )
          this.v[E] = sn.newElement(), this.o[E] = sn.newElement(), this.i[E] = sn.newElement(), E += 1;
      }, Rt.prototype.setLength = function(f) {
        for (; this._maxLength < f; )
          this.doubleArrayLength();
        this._length = f;
      }, Rt.prototype.doubleArrayLength = function() {
        this.v = this.v.concat(U(this._maxLength)), this.i = this.i.concat(U(this._maxLength)), this.o = this.o.concat(U(this._maxLength)), this._maxLength *= 2;
      }, Rt.prototype.setXYAt = function(f, x, E, D, W) {
        var V;
        switch (this._length = Math.max(this._length, D + 1), this._length >= this._maxLength && this.doubleArrayLength(), E) {
          case "v":
            V = this.v;
            break;
          case "i":
            V = this.i;
            break;
          case "o":
            V = this.o;
            break;
          default:
            V = [];
            break;
        }
        (!V[D] || V[D] && !W) && (V[D] = sn.newElement()), V[D][0] = f, V[D][1] = x;
      }, Rt.prototype.setTripleAt = function(f, x, E, D, W, V, ge, De) {
        this.setXYAt(f, x, "v", ge, De), this.setXYAt(E, D, "o", ge, De), this.setXYAt(W, V, "i", ge, De);
      }, Rt.prototype.reverse = function() {
        var f = new Rt();
        f.setPathData(this.c, this._length);
        var x = this.v, E = this.o, D = this.i, W = 0;
        this.c && (f.setTripleAt(x[0][0], x[0][1], D[0][0], D[0][1], E[0][0], E[0][1], 0, false), W = 1);
        var V = this._length - 1, ge = this._length, De;
        for (De = W; De < ge; De += 1)
          f.setTripleAt(x[V][0], x[V][1], D[V][0], D[V][1], E[V][0], E[V][1], De, false), V -= 1;
        return f;
      };
      var $t = (function() {
        function f() {
          return new Rt();
        }
        function x(W) {
          var V = W._length, ge;
          for (ge = 0; ge < V; ge += 1)
            sn.release(W.v[ge]), sn.release(W.i[ge]), sn.release(W.o[ge]), W.v[ge] = null, W.i[ge] = null, W.o[ge] = null;
          W._length = 0, W.c = false;
        }
        function E(W) {
          var V = D.newElement(), ge, De = W._length === void 0 ? W.v.length : W._length;
          for (V.setLength(De), V.c = W.c, ge = 0; ge < De; ge += 1)
            V.setTripleAt(W.v[ge][0], W.v[ge][1], W.o[ge][0], W.o[ge][1], W.i[ge][0], W.i[ge][1], ge);
          return V;
        }
        var D = Tn(4, f, x);
        return D.clone = E, D;
      })();
      function En() {
        this._length = 0, this._maxLength = 4, this.shapes = U(this._maxLength);
      }
      En.prototype.addShape = function(f) {
        this._length === this._maxLength && (this.shapes = this.shapes.concat(U(this._maxLength)), this._maxLength *= 2), this.shapes[this._length] = f, this._length += 1;
      }, En.prototype.releaseShapes = function() {
        var f;
        for (f = 0; f < this._length; f += 1)
          $t.release(this.shapes[f]);
        this._length = 0;
      };
      var In = (function() {
        var f = {
          newShapeCollection: W,
          release: V
        }, x = 0, E = 4, D = U(E);
        function W() {
          var ge;
          return x ? (x -= 1, ge = D[x]) : ge = new En(), ge;
        }
        function V(ge) {
          var De, ve = ge._length;
          for (De = 0; De < ve; De += 1)
            $t.release(ge.shapes[De]);
          ge._length = 0, x === E && (D = kn.double(D), E *= 2), D[x] = ge, x += 1;
        }
        return f;
      })(), _n = (function() {
        var f = -999999;
        function x(j, ee, K) {
          var J = K.lastIndex, se, fe, Ce, Se, ft, tn, qt, Gt, vn, gn = this.keyframes;
          if (j < gn[0].t - this.offsetTime)
            se = gn[0].s[0], Ce = true, J = 0;
          else if (j >= gn[gn.length - 1].t - this.offsetTime)
            se = gn[gn.length - 1].s ? gn[gn.length - 1].s[0] : gn[gn.length - 2].e[0], Ce = true;
          else {
            for (var Et = J, Ye = gn.length - 1, Pe = true, ue, Ie, It; Pe && (ue = gn[Et], Ie = gn[Et + 1], !(Ie.t - this.offsetTime > j)); )
              Et < Ye - 1 ? Et += 1 : Pe = false;
            if (It = this.keyframesMetadata[Et] || {}, Ce = ue.h === 1, J = Et, !Ce) {
              if (j >= Ie.t - this.offsetTime)
                Gt = 1;
              else if (j < ue.t - this.offsetTime)
                Gt = 0;
              else {
                var pt;
                It.__fnct ? pt = It.__fnct : (pt = Ht.getBezierEasing(ue.o.x, ue.o.y, ue.i.x, ue.i.y).get, It.__fnct = pt), Gt = pt((j - (ue.t - this.offsetTime)) / (Ie.t - this.offsetTime - (ue.t - this.offsetTime)));
              }
              fe = Ie.s ? Ie.s[0] : ue.e[0];
            }
            se = ue.s[0];
          }
          for (tn = ee._length, qt = se.i[0].length, K.lastIndex = J, Se = 0; Se < tn; Se += 1)
            for (ft = 0; ft < qt; ft += 1)
              vn = Ce ? se.i[Se][ft] : se.i[Se][ft] + (fe.i[Se][ft] - se.i[Se][ft]) * Gt, ee.i[Se][ft] = vn, vn = Ce ? se.o[Se][ft] : se.o[Se][ft] + (fe.o[Se][ft] - se.o[Se][ft]) * Gt, ee.o[Se][ft] = vn, vn = Ce ? se.v[Se][ft] : se.v[Se][ft] + (fe.v[Se][ft] - se.v[Se][ft]) * Gt, ee.v[Se][ft] = vn;
        }
        function E() {
          var j = this.comp.renderedFrame - this.offsetTime, ee = this.keyframes[0].t - this.offsetTime, K = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, J = this._caching.lastFrame;
          return J !== f && (J < ee && j < ee || J > K && j > K) || (this._caching.lastIndex = J < j ? this._caching.lastIndex : 0, this.interpolateShape(j, this.pv, this._caching)), this._caching.lastFrame = j, this.pv;
        }
        function D() {
          this.paths = this.localShapeCollection;
        }
        function W(j, ee) {
          if (j._length !== ee._length || j.c !== ee.c)
            return false;
          var K, J = j._length;
          for (K = 0; K < J; K += 1)
            if (j.v[K][0] !== ee.v[K][0] || j.v[K][1] !== ee.v[K][1] || j.o[K][0] !== ee.o[K][0] || j.o[K][1] !== ee.o[K][1] || j.i[K][0] !== ee.i[K][0] || j.i[K][1] !== ee.i[K][1])
              return false;
          return true;
        }
        function V(j) {
          W(this.v, j) || (this.v = $t.clone(j), this.localShapeCollection.releaseShapes(), this.localShapeCollection.addShape(this.v), this._mdf = true, this.paths = this.localShapeCollection);
        }
        function ge() {
          if (this.elem.globalData.frameId !== this.frameId) {
            if (!this.effectsSequence.length) {
              this._mdf = false;
              return;
            }
            if (this.lock) {
              this.setVValue(this.pv);
              return;
            }
            this.lock = true, this._mdf = false;
            var j;
            this.kf ? j = this.pv : this.data.ks ? j = this.data.ks.k : j = this.data.pt.k;
            var ee, K = this.effectsSequence.length;
            for (ee = 0; ee < K; ee += 1)
              j = this.effectsSequence[ee](j);
            this.setVValue(j), this.lock = false, this.frameId = this.elem.globalData.frameId;
          }
        }
        function De(j, ee, K) {
          this.propType = "shape", this.comp = j.comp, this.container = j, this.elem = j, this.data = ee, this.k = false, this.kf = false, this._mdf = false;
          var J = K === 3 ? ee.pt.k : ee.ks.k;
          this.v = $t.clone(J), this.pv = $t.clone(this.v), this.localShapeCollection = In.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = D, this.effectsSequence = [];
        }
        function ve(j) {
          this.effectsSequence.push(j), this.container.addDynamicProperty(this);
        }
        De.prototype.interpolateShape = x, De.prototype.getValue = ge, De.prototype.setVValue = V, De.prototype.addEffect = ve;
        function Fe(j, ee, K) {
          this.propType = "shape", this.comp = j.comp, this.elem = j, this.container = j, this.offsetTime = j.data.st, this.keyframes = K === 3 ? ee.pt.k : ee.ks.k, this.keyframesMetadata = [], this.k = true, this.kf = true;
          var J = this.keyframes[0].s[0].i.length;
          this.v = $t.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, J), this.pv = $t.clone(this.v), this.localShapeCollection = In.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = f, this.reset = D, this._caching = {
            lastFrame: f,
            lastIndex: 0
          }, this.effectsSequence = [E.bind(this)];
        }
        Fe.prototype.getValue = ge, Fe.prototype.interpolateShape = x, Fe.prototype.setVValue = V, Fe.prototype.addEffect = ve;
        var He = (function() {
          var j = Ve;
          function ee(K, J) {
            this.v = $t.newElement(), this.v.setPathData(true, 4), this.localShapeCollection = In.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = J.d, this.elem = K, this.comp = K.comp, this.frameId = -1, this.initDynamicPropertyContainer(K), this.p = Wt.getProp(K, J.p, 1, 0, this), this.s = Wt.getProp(K, J.s, 1, 0, this), this.dynamicProperties.length ? this.k = true : (this.k = false, this.convertEllToPath());
          }
          return ee.prototype = {
            reset: D,
            getValue: function() {
              this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
            },
            convertEllToPath: function() {
              var J = this.p.v[0], se = this.p.v[1], fe = this.s.v[0] / 2, Ce = this.s.v[1] / 2, Se = this.d !== 3, ft = this.v;
              ft.v[0][0] = J, ft.v[0][1] = se - Ce, ft.v[1][0] = Se ? J + fe : J - fe, ft.v[1][1] = se, ft.v[2][0] = J, ft.v[2][1] = se + Ce, ft.v[3][0] = Se ? J - fe : J + fe, ft.v[3][1] = se, ft.i[0][0] = Se ? J - fe * j : J + fe * j, ft.i[0][1] = se - Ce, ft.i[1][0] = Se ? J + fe : J - fe, ft.i[1][1] = se - Ce * j, ft.i[2][0] = Se ? J + fe * j : J - fe * j, ft.i[2][1] = se + Ce, ft.i[3][0] = Se ? J - fe : J + fe, ft.i[3][1] = se + Ce * j, ft.o[0][0] = Se ? J + fe * j : J - fe * j, ft.o[0][1] = se - Ce, ft.o[1][0] = Se ? J + fe : J - fe, ft.o[1][1] = se + Ce * j, ft.o[2][0] = Se ? J - fe * j : J + fe * j, ft.o[2][1] = se + Ce, ft.o[3][0] = Se ? J - fe : J + fe, ft.o[3][1] = se - Ce * j;
            }
          }, T([ir], ee), ee;
        })(), tt = (function() {
          function j(ee, K) {
            this.v = $t.newElement(), this.v.setPathData(true, 0), this.elem = ee, this.comp = ee.comp, this.data = K, this.frameId = -1, this.d = K.d, this.initDynamicPropertyContainer(ee), K.sy === 1 ? (this.ir = Wt.getProp(ee, K.ir, 0, 0, this), this.is = Wt.getProp(ee, K.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = Wt.getProp(ee, K.pt, 0, 0, this), this.p = Wt.getProp(ee, K.p, 1, 0, this), this.r = Wt.getProp(ee, K.r, 0, pe, this), this.or = Wt.getProp(ee, K.or, 0, 0, this), this.os = Wt.getProp(ee, K.os, 0, 0.01, this), this.localShapeCollection = In.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = true : (this.k = false, this.convertToPath());
          }
          return j.prototype = {
            reset: D,
            getValue: function() {
              this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
            },
            convertStarToPath: function() {
              var K = Math.floor(this.pt.v) * 2, J = Math.PI * 2 / K, se = true, fe = this.or.v, Ce = this.ir.v, Se = this.os.v, ft = this.is.v, tn = 2 * Math.PI * fe / (K * 2), qt = 2 * Math.PI * Ce / (K * 2), Gt, vn, gn, Et, Ye = -Math.PI / 2;
              Ye += this.r.v;
              var Pe = this.data.d === 3 ? -1 : 1;
              for (this.v._length = 0, Gt = 0; Gt < K; Gt += 1) {
                vn = se ? fe : Ce, gn = se ? Se : ft, Et = se ? tn : qt;
                var ue = vn * Math.cos(Ye), Ie = vn * Math.sin(Ye), It = ue === 0 && Ie === 0 ? 0 : Ie / Math.sqrt(ue * ue + Ie * Ie), pt = ue === 0 && Ie === 0 ? 0 : -ue / Math.sqrt(ue * ue + Ie * Ie);
                ue += +this.p.v[0], Ie += +this.p.v[1], this.v.setTripleAt(ue, Ie, ue - It * Et * gn * Pe, Ie - pt * Et * gn * Pe, ue + It * Et * gn * Pe, Ie + pt * Et * gn * Pe, Gt, true), se = !se, Ye += J * Pe;
              }
            },
            convertPolygonToPath: function() {
              var K = Math.floor(this.pt.v), J = Math.PI * 2 / K, se = this.or.v, fe = this.os.v, Ce = 2 * Math.PI * se / (K * 4), Se, ft = -Math.PI * 0.5, tn = this.data.d === 3 ? -1 : 1;
              for (ft += this.r.v, this.v._length = 0, Se = 0; Se < K; Se += 1) {
                var qt = se * Math.cos(ft), Gt = se * Math.sin(ft), vn = qt === 0 && Gt === 0 ? 0 : Gt / Math.sqrt(qt * qt + Gt * Gt), gn = qt === 0 && Gt === 0 ? 0 : -qt / Math.sqrt(qt * qt + Gt * Gt);
                qt += +this.p.v[0], Gt += +this.p.v[1], this.v.setTripleAt(qt, Gt, qt - vn * Ce * fe * tn, Gt - gn * Ce * fe * tn, qt + vn * Ce * fe * tn, Gt + gn * Ce * fe * tn, Se, true), ft += J * tn;
              }
              this.paths.length = 0, this.paths[0] = this.v;
            }
          }, T([ir], j), j;
        })(), me = (function() {
          function j(ee, K) {
            this.v = $t.newElement(), this.v.c = true, this.localShapeCollection = In.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = ee, this.comp = ee.comp, this.frameId = -1, this.d = K.d, this.initDynamicPropertyContainer(ee), this.p = Wt.getProp(ee, K.p, 1, 0, this), this.s = Wt.getProp(ee, K.s, 1, 0, this), this.r = Wt.getProp(ee, K.r, 0, 0, this), this.dynamicProperties.length ? this.k = true : (this.k = false, this.convertRectToPath());
          }
          return j.prototype = {
            convertRectToPath: function() {
              var K = this.p.v[0], J = this.p.v[1], se = this.s.v[0] / 2, fe = this.s.v[1] / 2, Ce = ne(se, fe, this.r.v), Se = Ce * (1 - Ve);
              this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(K + se, J - fe + Ce, K + se, J - fe + Ce, K + se, J - fe + Se, 0, true), this.v.setTripleAt(K + se, J + fe - Ce, K + se, J + fe - Se, K + se, J + fe - Ce, 1, true), Ce !== 0 ? (this.v.setTripleAt(K + se - Ce, J + fe, K + se - Ce, J + fe, K + se - Se, J + fe, 2, true), this.v.setTripleAt(K - se + Ce, J + fe, K - se + Se, J + fe, K - se + Ce, J + fe, 3, true), this.v.setTripleAt(K - se, J + fe - Ce, K - se, J + fe - Ce, K - se, J + fe - Se, 4, true), this.v.setTripleAt(K - se, J - fe + Ce, K - se, J - fe + Se, K - se, J - fe + Ce, 5, true), this.v.setTripleAt(K - se + Ce, J - fe, K - se + Ce, J - fe, K - se + Se, J - fe, 6, true), this.v.setTripleAt(K + se - Ce, J - fe, K + se - Se, J - fe, K + se - Ce, J - fe, 7, true)) : (this.v.setTripleAt(K - se, J + fe, K - se + Se, J + fe, K - se, J + fe, 2), this.v.setTripleAt(K - se, J - fe, K - se, J - fe + Se, K - se, J - fe, 3))) : (this.v.setTripleAt(K + se, J - fe + Ce, K + se, J - fe + Se, K + se, J - fe + Ce, 0, true), Ce !== 0 ? (this.v.setTripleAt(K + se - Ce, J - fe, K + se - Ce, J - fe, K + se - Se, J - fe, 1, true), this.v.setTripleAt(K - se + Ce, J - fe, K - se + Se, J - fe, K - se + Ce, J - fe, 2, true), this.v.setTripleAt(K - se, J - fe + Ce, K - se, J - fe + Ce, K - se, J - fe + Se, 3, true), this.v.setTripleAt(K - se, J + fe - Ce, K - se, J + fe - Se, K - se, J + fe - Ce, 4, true), this.v.setTripleAt(K - se + Ce, J + fe, K - se + Ce, J + fe, K - se + Se, J + fe, 5, true), this.v.setTripleAt(K + se - Ce, J + fe, K + se - Se, J + fe, K + se - Ce, J + fe, 6, true), this.v.setTripleAt(K + se, J + fe - Ce, K + se, J + fe - Ce, K + se, J + fe - Se, 7, true)) : (this.v.setTripleAt(K - se, J - fe, K - se + Se, J - fe, K - se, J - fe, 1, true), this.v.setTripleAt(K - se, J + fe, K - se, J + fe - Se, K - se, J + fe, 2, true), this.v.setTripleAt(K + se, J + fe, K + se - Se, J + fe, K + se, J + fe, 3, true)));
            },
            getValue: function() {
              this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
            },
            reset: D
          }, T([ir], j), j;
        })();
        function Oe(j, ee, K) {
          var J;
          if (K === 3 || K === 4) {
            var se = K === 3 ? ee.pt : ee.ks, fe = se.k;
            fe.length ? J = new Fe(j, ee, K) : J = new De(j, ee, K);
          } else K === 5 ? J = new me(j, ee) : K === 6 ? J = new He(j, ee) : K === 7 && (J = new tt(j, ee));
          return J.k && j.addDynamicProperty(J), J;
        }
        function ye() {
          return De;
        }
        function Ee() {
          return Fe;
        }
        var Ne = {};
        return Ne.getShapeProp = Oe, Ne.getConstructorFunction = ye, Ne.getKeyframedConstructorFunction = Ee, Ne;
      })();
      var bn = /* @__PURE__ */ (function() {
        var f = Math.cos, x = Math.sin, E = Math.tan, D = Math.round;
        function W() {
          return this.props[0] = 1, this.props[1] = 0, this.props[2] = 0, this.props[3] = 0, this.props[4] = 0, this.props[5] = 1, this.props[6] = 0, this.props[7] = 0, this.props[8] = 0, this.props[9] = 0, this.props[10] = 1, this.props[11] = 0, this.props[12] = 0, this.props[13] = 0, this.props[14] = 0, this.props[15] = 1, this;
        }
        function V(Pe) {
          if (Pe === 0)
            return this;
          var ue = f(Pe), Ie = x(Pe);
          return this._t(ue, -Ie, 0, 0, Ie, ue, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
        }
        function ge(Pe) {
          if (Pe === 0)
            return this;
          var ue = f(Pe), Ie = x(Pe);
          return this._t(1, 0, 0, 0, 0, ue, -Ie, 0, 0, Ie, ue, 0, 0, 0, 0, 1);
        }
        function De(Pe) {
          if (Pe === 0)
            return this;
          var ue = f(Pe), Ie = x(Pe);
          return this._t(ue, 0, Ie, 0, 0, 1, 0, 0, -Ie, 0, ue, 0, 0, 0, 0, 1);
        }
        function ve(Pe) {
          if (Pe === 0)
            return this;
          var ue = f(Pe), Ie = x(Pe);
          return this._t(ue, -Ie, 0, 0, Ie, ue, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
        }
        function Fe(Pe, ue) {
          return this._t(1, ue, Pe, 1, 0, 0);
        }
        function He(Pe, ue) {
          return this.shear(E(Pe), E(ue));
        }
        function tt(Pe, ue) {
          var Ie = f(ue), It = x(ue);
          return this._t(Ie, It, 0, 0, -It, Ie, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, E(Pe), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(Ie, -It, 0, 0, It, Ie, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
        }
        function me(Pe, ue, Ie) {
          return !Ie && Ie !== 0 && (Ie = 1), Pe === 1 && ue === 1 && Ie === 1 ? this : this._t(Pe, 0, 0, 0, 0, ue, 0, 0, 0, 0, Ie, 0, 0, 0, 0, 1);
        }
        function Oe(Pe, ue, Ie, It, pt, yn, zn, Bn, sr, Vr, fo, zi, Ii, ho, So, Br) {
          return this.props[0] = Pe, this.props[1] = ue, this.props[2] = Ie, this.props[3] = It, this.props[4] = pt, this.props[5] = yn, this.props[6] = zn, this.props[7] = Bn, this.props[8] = sr, this.props[9] = Vr, this.props[10] = fo, this.props[11] = zi, this.props[12] = Ii, this.props[13] = ho, this.props[14] = So, this.props[15] = Br, this;
        }
        function ye(Pe, ue, Ie) {
          return Ie = Ie || 0, Pe !== 0 || ue !== 0 || Ie !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, Pe, ue, Ie, 1) : this;
        }
        function Ee(Pe, ue, Ie, It, pt, yn, zn, Bn, sr, Vr, fo, zi, Ii, ho, So, Br) {
          var mn = this.props;
          if (Pe === 1 && ue === 0 && Ie === 0 && It === 0 && pt === 0 && yn === 1 && zn === 0 && Bn === 0 && sr === 0 && Vr === 0 && fo === 1 && zi === 0)
            return mn[12] = mn[12] * Pe + mn[15] * Ii, mn[13] = mn[13] * yn + mn[15] * ho, mn[14] = mn[14] * fo + mn[15] * So, mn[15] *= Br, this._identityCalculated = false, this;
          var xo = mn[0], Wi = mn[1], Qa = mn[2], Ui = mn[3], po = mn[4], lo = mn[5], Hi = mn[6], rr = mn[7], pr = mn[8], ta = mn[9], Mi = mn[10], ja = mn[11], Oi = mn[12], $s = mn[13], $u = mn[14], qr = mn[15];
          return mn[0] = xo * Pe + Wi * pt + Qa * sr + Ui * Ii, mn[1] = xo * ue + Wi * yn + Qa * Vr + Ui * ho, mn[2] = xo * Ie + Wi * zn + Qa * fo + Ui * So, mn[3] = xo * It + Wi * Bn + Qa * zi + Ui * Br, mn[4] = po * Pe + lo * pt + Hi * sr + rr * Ii, mn[5] = po * ue + lo * yn + Hi * Vr + rr * ho, mn[6] = po * Ie + lo * zn + Hi * fo + rr * So, mn[7] = po * It + lo * Bn + Hi * zi + rr * Br, mn[8] = pr * Pe + ta * pt + Mi * sr + ja * Ii, mn[9] = pr * ue + ta * yn + Mi * Vr + ja * ho, mn[10] = pr * Ie + ta * zn + Mi * fo + ja * So, mn[11] = pr * It + ta * Bn + Mi * zi + ja * Br, mn[12] = Oi * Pe + $s * pt + $u * sr + qr * Ii, mn[13] = Oi * ue + $s * yn + $u * Vr + qr * ho, mn[14] = Oi * Ie + $s * zn + $u * fo + qr * So, mn[15] = Oi * It + $s * Bn + $u * zi + qr * Br, this._identityCalculated = false, this;
        }
        function Ne() {
          return this._identityCalculated || (this._identity = !(this.props[0] !== 1 || this.props[1] !== 0 || this.props[2] !== 0 || this.props[3] !== 0 || this.props[4] !== 0 || this.props[5] !== 1 || this.props[6] !== 0 || this.props[7] !== 0 || this.props[8] !== 0 || this.props[9] !== 0 || this.props[10] !== 1 || this.props[11] !== 0 || this.props[12] !== 0 || this.props[13] !== 0 || this.props[14] !== 0 || this.props[15] !== 1), this._identityCalculated = true), this._identity;
        }
        function j(Pe) {
          for (var ue = 0; ue < 16; ) {
            if (Pe.props[ue] !== this.props[ue])
              return false;
            ue += 1;
          }
          return true;
        }
        function ee(Pe) {
          var ue;
          for (ue = 0; ue < 16; ue += 1)
            Pe.props[ue] = this.props[ue];
          return Pe;
        }
        function K(Pe) {
          var ue;
          for (ue = 0; ue < 16; ue += 1)
            this.props[ue] = Pe[ue];
        }
        function J(Pe, ue, Ie) {
          return {
            x: Pe * this.props[0] + ue * this.props[4] + Ie * this.props[8] + this.props[12],
            y: Pe * this.props[1] + ue * this.props[5] + Ie * this.props[9] + this.props[13],
            z: Pe * this.props[2] + ue * this.props[6] + Ie * this.props[10] + this.props[14]
          };
        }
        function se(Pe, ue, Ie) {
          return Pe * this.props[0] + ue * this.props[4] + Ie * this.props[8] + this.props[12];
        }
        function fe(Pe, ue, Ie) {
          return Pe * this.props[1] + ue * this.props[5] + Ie * this.props[9] + this.props[13];
        }
        function Ce(Pe, ue, Ie) {
          return Pe * this.props[2] + ue * this.props[6] + Ie * this.props[10] + this.props[14];
        }
        function Se() {
          var Pe = this.props[0] * this.props[5] - this.props[1] * this.props[4], ue = this.props[5] / Pe, Ie = -this.props[1] / Pe, It = -this.props[4] / Pe, pt = this.props[0] / Pe, yn = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / Pe, zn = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / Pe, Bn = new bn();
          return Bn.props[0] = ue, Bn.props[1] = Ie, Bn.props[4] = It, Bn.props[5] = pt, Bn.props[12] = yn, Bn.props[13] = zn, Bn;
        }
        function ft(Pe) {
          var ue = this.getInverseMatrix();
          return ue.applyToPointArray(Pe[0], Pe[1], Pe[2] || 0);
        }
        function tn(Pe) {
          var ue, Ie = Pe.length, It = [];
          for (ue = 0; ue < Ie; ue += 1)
            It[ue] = ft(Pe[ue]);
          return It;
        }
        function qt(Pe, ue, Ie) {
          var It = S("float32", 6);
          if (this.isIdentity())
            It[0] = Pe[0], It[1] = Pe[1], It[2] = ue[0], It[3] = ue[1], It[4] = Ie[0], It[5] = Ie[1];
          else {
            var pt = this.props[0], yn = this.props[1], zn = this.props[4], Bn = this.props[5], sr = this.props[12], Vr = this.props[13];
            It[0] = Pe[0] * pt + Pe[1] * zn + sr, It[1] = Pe[0] * yn + Pe[1] * Bn + Vr, It[2] = ue[0] * pt + ue[1] * zn + sr, It[3] = ue[0] * yn + ue[1] * Bn + Vr, It[4] = Ie[0] * pt + Ie[1] * zn + sr, It[5] = Ie[0] * yn + Ie[1] * Bn + Vr;
          }
          return It;
        }
        function Gt(Pe, ue, Ie) {
          var It;
          return this.isIdentity() ? It = [Pe, ue, Ie] : It = [Pe * this.props[0] + ue * this.props[4] + Ie * this.props[8] + this.props[12], Pe * this.props[1] + ue * this.props[5] + Ie * this.props[9] + this.props[13], Pe * this.props[2] + ue * this.props[6] + Ie * this.props[10] + this.props[14]], It;
        }
        function vn(Pe, ue) {
          if (this.isIdentity())
            return Pe + "," + ue;
          var Ie = this.props;
          return Math.round((Pe * Ie[0] + ue * Ie[4] + Ie[12]) * 100) / 100 + "," + Math.round((Pe * Ie[1] + ue * Ie[5] + Ie[13]) * 100) / 100;
        }
        function gn() {
          for (var Pe = 0, ue = this.props, Ie = "matrix3d(", It = 1e4; Pe < 16; )
            Ie += D(ue[Pe] * It) / It, Ie += Pe === 15 ? ")" : ",", Pe += 1;
          return Ie;
        }
        function Et(Pe) {
          var ue = 1e4;
          return Pe < 1e-6 && Pe > 0 || Pe > -1e-6 && Pe < 0 ? D(Pe * ue) / ue : Pe;
        }
        function Ye() {
          var Pe = this.props, ue = Et(Pe[0]), Ie = Et(Pe[1]), It = Et(Pe[4]), pt = Et(Pe[5]), yn = Et(Pe[12]), zn = Et(Pe[13]);
          return "matrix(" + ue + "," + Ie + "," + It + "," + pt + "," + yn + "," + zn + ")";
        }
        return function() {
          this.reset = W, this.rotate = V, this.rotateX = ge, this.rotateY = De, this.rotateZ = ve, this.skew = He, this.skewFromAxis = tt, this.shear = Fe, this.scale = me, this.setTransform = Oe, this.translate = ye, this.transform = Ee, this.applyToPoint = J, this.applyToX = se, this.applyToY = fe, this.applyToZ = Ce, this.applyToPointArray = Gt, this.applyToTriplePoints = qt, this.applyToPointStringified = vn, this.toCSS = gn, this.to2dCSS = Ye, this.clone = ee, this.cloneFromProps = K, this.equals = j, this.inversePoints = tn, this.inversePoint = ft, this.getInverseMatrix = Se, this._t = this.transform, this.isIdentity = Ne, this._identity = true, this._identityCalculated = false, this.props = S("float32", 16), this.reset();
        };
      })();
      function Sr(f) {
        "@babel/helpers - typeof";
        return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Sr = function(E) {
          return typeof E;
        } : Sr = function(E) {
          return E && typeof Symbol == "function" && E.constructor === Symbol && E !== Symbol.prototype ? "symbol" : typeof E;
        }, Sr(f);
      }
      var Mn = {};
      function gr(f) {
        v(f);
      }
      function mi() {
        Pt.searchAnimations();
      }
      function Co(f) {
        Ze(f);
      }
      function No(f) {
        xt(f);
      }
      function ls(f) {
        return Pt.loadAnimation(f);
      }
      function Qi(f) {
        if (typeof f == "string")
          switch (f) {
            case "high":
              ht(200);
              break;
            default:
            case "medium":
              ht(50);
              break;
            case "low":
              ht(10);
              break;
          }
        else !isNaN(f) && f > 1 && ht(f);
      }
      function Fr() {
        return typeof navigator < "u";
      }
      function Yr(f, x) {
        f === "expressions" && st(x);
      }
      function yr(f) {
        switch (f) {
          case "propertyFactory":
            return Wt;
          case "shapePropertyFactory":
            return _n;
          case "matrix":
            return bn;
          default:
            return null;
        }
      }
      Mn.play = Pt.play, Mn.pause = Pt.pause, Mn.setLocationHref = gr, Mn.togglePause = Pt.togglePause, Mn.setSpeed = Pt.setSpeed, Mn.setDirection = Pt.setDirection, Mn.stop = Pt.stop, Mn.searchAnimations = mi, Mn.registerAnimation = Pt.registerAnimation, Mn.loadAnimation = ls, Mn.setSubframeRendering = Co, Mn.resize = Pt.resize, Mn.goToAndStop = Pt.goToAndStop, Mn.destroy = Pt.destroy, Mn.setQuality = Qi, Mn.inBrowser = Fr, Mn.installPlugin = Yr, Mn.freeze = Pt.freeze, Mn.unfreeze = Pt.unfreeze, Mn.setVolume = Pt.setVolume, Mn.mute = Pt.mute, Mn.unmute = Pt.unmute, Mn.getRegisteredAnimations = Pt.getRegisteredAnimations, Mn.useWebWorker = u, Mn.setIDPrefix = No, Mn.__getFactory = yr, Mn.version = "5.9.6";
      function uo() {
        document.readyState === "complete" && (clearInterval(Gn), mi());
      }
      function xr(f) {
        for (var x = to.split("&"), E = 0; E < x.length; E += 1) {
          var D = x[E].split("=");
          if (decodeURIComponent(D[0]) == f)
            return decodeURIComponent(D[1]);
        }
        return null;
      }
      var to = "";
      {
        var ur = document.getElementsByTagName("script"), ki = ur.length - 1, Nr = ur[ki] || {
          src: ""
        };
        to = Nr.src ? Nr.src.replace(/^[^\?]+\??/, "") : "", xr("renderer");
      }
      var Gn = setInterval(uo, 100);
      try {
        Sr(t) !== "object" && (window.bodymovin = Mn);
      } catch {
      }
      var qo = (function() {
        var f = {}, x = {};
        f.registerModifier = E, f.getModifier = D;
        function E(W, V) {
          x[W] || (x[W] = V);
        }
        function D(W, V, ge) {
          return new x[W](V, ge);
        }
        return f;
      })();
      function Dn() {
      }
      Dn.prototype.initModifierProperties = function() {
      }, Dn.prototype.addShapeToModifier = function() {
      }, Dn.prototype.addShape = function(f) {
        if (!this.closed) {
          f.sh.container.addDynamicProperty(f.sh);
          var x = {
            shape: f.sh,
            data: f,
            localShapeCollection: In.newShapeCollection()
          };
          this.shapes.push(x), this.addShapeToModifier(x), this._isAnimated && f.setAsAnimated();
        }
      }, Dn.prototype.init = function(f, x) {
        this.shapes = [], this.elem = f, this.initDynamicPropertyContainer(f), this.initModifierProperties(f, x), this.frameId = i, this.closed = false, this.k = false, this.dynamicProperties.length ? this.k = true : this.getValue(true);
      }, Dn.prototype.processKeys = function() {
        this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties());
      }, T([ir], Dn);
      function At() {
      }
      T([Dn], At), At.prototype.initModifierProperties = function(f, x) {
        this.s = Wt.getProp(f, x.s, 0, 0.01, this), this.e = Wt.getProp(f, x.e, 0, 0.01, this), this.o = Wt.getProp(f, x.o, 0, 0, this), this.sValue = 0, this.eValue = 0, this.getValue = this.processKeys, this.m = x.m, this._isAnimated = !!this.s.effectsSequence.length || !!this.e.effectsSequence.length || !!this.o.effectsSequence.length;
      }, At.prototype.addShapeToModifier = function(f) {
        f.pathsData = [];
      }, At.prototype.calculateShapeEdges = function(f, x, E, D, W) {
        var V = [];
        x <= 1 ? V.push({
          s: f,
          e: x
        }) : f >= 1 ? V.push({
          s: f - 1,
          e: x - 1
        }) : (V.push({
          s: f,
          e: 1
        }), V.push({
          s: 0,
          e: x - 1
        }));
        var ge = [], De, ve = V.length, Fe;
        for (De = 0; De < ve; De += 1)
          if (Fe = V[De], !(Fe.e * W < D || Fe.s * W > D + E)) {
            var He, tt;
            Fe.s * W <= D ? He = 0 : He = (Fe.s * W - D) / E, Fe.e * W >= D + E ? tt = 1 : tt = (Fe.e * W - D) / E, ge.push([He, tt]);
          }
        return ge.length || ge.push([0, 0]), ge;
      }, At.prototype.releasePathsData = function(f) {
        var x, E = f.length;
        for (x = 0; x < E; x += 1)
          Nt.release(f[x]);
        return f.length = 0, f;
      }, At.prototype.processShapes = function(f) {
        var x, E;
        if (this._mdf || f) {
          var D = this.o.v % 360 / 360;
          if (D < 0 && (D += 1), this.s.v > 1 ? x = 1 + D : this.s.v < 0 ? x = 0 + D : x = this.s.v + D, this.e.v > 1 ? E = 1 + D : this.e.v < 0 ? E = 0 + D : E = this.e.v + D, x > E) {
            var W = x;
            x = E, E = W;
          }
          x = Math.round(x * 1e4) * 1e-4, E = Math.round(E * 1e4) * 1e-4, this.sValue = x, this.eValue = E;
        } else
          x = this.sValue, E = this.eValue;
        var V, ge, De = this.shapes.length, ve, Fe, He, tt, me, Oe = 0;
        if (E === x)
          for (ge = 0; ge < De; ge += 1)
            this.shapes[ge].localShapeCollection.releaseShapes(), this.shapes[ge].shape._mdf = true, this.shapes[ge].shape.paths = this.shapes[ge].localShapeCollection, this._mdf && (this.shapes[ge].pathsData.length = 0);
        else if (E === 1 && x === 0 || E === 0 && x === 1) {
          if (this._mdf)
            for (ge = 0; ge < De; ge += 1)
              this.shapes[ge].pathsData.length = 0, this.shapes[ge].shape._mdf = true;
        } else {
          var ye = [], Ee, Ne;
          for (ge = 0; ge < De; ge += 1)
            if (Ee = this.shapes[ge], !Ee.shape._mdf && !this._mdf && !f && this.m !== 2)
              Ee.shape.paths = Ee.localShapeCollection;
            else {
              if (V = Ee.shape.paths, Fe = V._length, me = 0, !Ee.shape._mdf && Ee.pathsData.length)
                me = Ee.totalShapeLength;
              else {
                for (He = this.releasePathsData(Ee.pathsData), ve = 0; ve < Fe; ve += 1)
                  tt = hr.getSegmentsLength(V.shapes[ve]), He.push(tt), me += tt.totalLength;
                Ee.totalShapeLength = me, Ee.pathsData = He;
              }
              Oe += me, Ee.shape._mdf = true;
            }
          var j = x, ee = E, K = 0, J;
          for (ge = De - 1; ge >= 0; ge -= 1)
            if (Ee = this.shapes[ge], Ee.shape._mdf) {
              for (Ne = Ee.localShapeCollection, Ne.releaseShapes(), this.m === 2 && De > 1 ? (J = this.calculateShapeEdges(x, E, Ee.totalShapeLength, K, Oe), K += Ee.totalShapeLength) : J = [[j, ee]], Fe = J.length, ve = 0; ve < Fe; ve += 1) {
                j = J[ve][0], ee = J[ve][1], ye.length = 0, ee <= 1 ? ye.push({
                  s: Ee.totalShapeLength * j,
                  e: Ee.totalShapeLength * ee
                }) : j >= 1 ? ye.push({
                  s: Ee.totalShapeLength * (j - 1),
                  e: Ee.totalShapeLength * (ee - 1)
                }) : (ye.push({
                  s: Ee.totalShapeLength * j,
                  e: Ee.totalShapeLength
                }), ye.push({
                  s: 0,
                  e: Ee.totalShapeLength * (ee - 1)
                }));
                var se = this.addShapes(Ee, ye[0]);
                if (ye[0].s !== ye[0].e) {
                  if (ye.length > 1) {
                    var fe = Ee.shape.paths.shapes[Ee.shape.paths._length - 1];
                    if (fe.c) {
                      var Ce = se.pop();
                      this.addPaths(se, Ne), se = this.addShapes(Ee, ye[1], Ce);
                    } else
                      this.addPaths(se, Ne), se = this.addShapes(Ee, ye[1]);
                  }
                  this.addPaths(se, Ne);
                }
              }
              Ee.shape.paths = Ne;
            }
        }
      }, At.prototype.addPaths = function(f, x) {
        var E, D = f.length;
        for (E = 0; E < D; E += 1)
          x.addShape(f[E]);
      }, At.prototype.addSegment = function(f, x, E, D, W, V, ge) {
        W.setXYAt(x[0], x[1], "o", V), W.setXYAt(E[0], E[1], "i", V + 1), ge && W.setXYAt(f[0], f[1], "v", V), W.setXYAt(D[0], D[1], "v", V + 1);
      }, At.prototype.addSegmentFromArray = function(f, x, E, D) {
        x.setXYAt(f[1], f[5], "o", E), x.setXYAt(f[2], f[6], "i", E + 1), D && x.setXYAt(f[0], f[4], "v", E), x.setXYAt(f[3], f[7], "v", E + 1);
      }, At.prototype.addShapes = function(f, x, E) {
        var D = f.pathsData, W = f.shape.paths.shapes, V, ge = f.shape.paths._length, De, ve, Fe = 0, He, tt, me, Oe, ye = [], Ee, Ne = true;
        for (E ? (tt = E._length, Ee = E._length) : (E = $t.newElement(), tt = 0, Ee = 0), ye.push(E), V = 0; V < ge; V += 1) {
          for (me = D[V].lengths, E.c = W[V].c, ve = W[V].c ? me.length : me.length + 1, De = 1; De < ve; De += 1)
            if (He = me[De - 1], Fe + He.addedLength < x.s)
              Fe += He.addedLength, E.c = false;
            else if (Fe > x.e) {
              E.c = false;
              break;
            } else
              x.s <= Fe && x.e >= Fe + He.addedLength ? (this.addSegment(W[V].v[De - 1], W[V].o[De - 1], W[V].i[De], W[V].v[De], E, tt, Ne), Ne = false) : (Oe = hr.getNewSegment(W[V].v[De - 1], W[V].v[De], W[V].o[De - 1], W[V].i[De], (x.s - Fe) / He.addedLength, (x.e - Fe) / He.addedLength, me[De - 1]), this.addSegmentFromArray(Oe, E, tt, Ne), Ne = false, E.c = false), Fe += He.addedLength, tt += 1;
          if (W[V].c && me.length) {
            if (He = me[De - 1], Fe <= x.e) {
              var j = me[De - 1].addedLength;
              x.s <= Fe && x.e >= Fe + j ? (this.addSegment(W[V].v[De - 1], W[V].o[De - 1], W[V].i[0], W[V].v[0], E, tt, Ne), Ne = false) : (Oe = hr.getNewSegment(W[V].v[De - 1], W[V].v[0], W[V].o[De - 1], W[V].i[0], (x.s - Fe) / j, (x.e - Fe) / j, me[De - 1]), this.addSegmentFromArray(Oe, E, tt, Ne), Ne = false, E.c = false);
            } else
              E.c = false;
            Fe += He.addedLength, tt += 1;
          }
          if (E._length && (E.setXYAt(E.v[Ee][0], E.v[Ee][1], "i", Ee), E.setXYAt(E.v[E._length - 1][0], E.v[E._length - 1][1], "o", E._length - 1)), Fe > x.e)
            break;
          V < ge - 1 && (E = $t.newElement(), Ne = true, ye.push(E), tt = 0);
        }
        return ye;
      };
      function it() {
      }
      T([Dn], it), it.prototype.initModifierProperties = function(f, x) {
        this.getValue = this.processKeys, this.amount = Wt.getProp(f, x.a, 0, null, this), this._isAnimated = !!this.amount.effectsSequence.length;
      }, it.prototype.processPath = function(f, x) {
        var E = x / 100, D = [0, 0], W = f._length, V = 0;
        for (V = 0; V < W; V += 1)
          D[0] += f.v[V][0], D[1] += f.v[V][1];
        D[0] /= W, D[1] /= W;
        var ge = $t.newElement();
        ge.c = f.c;
        var De, ve, Fe, He, tt, me;
        for (V = 0; V < W; V += 1)
          De = f.v[V][0] + (D[0] - f.v[V][0]) * E, ve = f.v[V][1] + (D[1] - f.v[V][1]) * E, Fe = f.o[V][0] + (D[0] - f.o[V][0]) * -E, He = f.o[V][1] + (D[1] - f.o[V][1]) * -E, tt = f.i[V][0] + (D[0] - f.i[V][0]) * -E, me = f.i[V][1] + (D[1] - f.i[V][1]) * -E, ge.setTripleAt(De, ve, Fe, He, tt, me, V);
        return ge;
      }, it.prototype.processShapes = function(f) {
        var x, E, D = this.shapes.length, W, V, ge = this.amount.v;
        if (ge !== 0) {
          var De, ve;
          for (E = 0; E < D; E += 1) {
            if (De = this.shapes[E], ve = De.localShapeCollection, !(!De.shape._mdf && !this._mdf && !f))
              for (ve.releaseShapes(), De.shape._mdf = true, x = De.shape.paths.shapes, V = De.shape.paths._length, W = 0; W < V; W += 1)
                ve.addShape(this.processPath(x[W], ge));
            De.shape.paths = De.localShapeCollection;
          }
        }
        this.dynamicProperties.length || (this._mdf = false);
      };
      var Zt = (function() {
        var f = [0, 0];
        function x(ve) {
          var Fe = this._mdf;
          this.iterateDynamicProperties(), this._mdf = this._mdf || Fe, this.a && ve.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]), this.s && ve.scale(this.s.v[0], this.s.v[1], this.s.v[2]), this.sk && ve.skewFromAxis(-this.sk.v, this.sa.v), this.r ? ve.rotate(-this.r.v) : ve.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]), this.data.p.s ? this.data.p.z ? ve.translate(this.px.v, this.py.v, -this.pz.v) : ve.translate(this.px.v, this.py.v, 0) : ve.translate(this.p.v[0], this.p.v[1], -this.p.v[2]);
        }
        function E(ve) {
          if (this.elem.globalData.frameId !== this.frameId) {
            if (this._isDirty && (this.precalculateMatrix(), this._isDirty = false), this.iterateDynamicProperties(), this._mdf || ve) {
              var Fe;
              if (this.v.cloneFromProps(this.pre.props), this.appliedTransformations < 1 && this.v.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]), this.appliedTransformations < 2 && this.v.scale(this.s.v[0], this.s.v[1], this.s.v[2]), this.sk && this.appliedTransformations < 3 && this.v.skewFromAxis(-this.sk.v, this.sa.v), this.r && this.appliedTransformations < 4 ? this.v.rotate(-this.r.v) : !this.r && this.appliedTransformations < 4 && this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]), this.autoOriented) {
                var He, tt;
                if (Fe = this.elem.globalData.frameRate, this.p && this.p.keyframes && this.p.getValueAtTime)
                  this.p._caching.lastFrame + this.p.offsetTime <= this.p.keyframes[0].t ? (He = this.p.getValueAtTime((this.p.keyframes[0].t + 0.01) / Fe, 0), tt = this.p.getValueAtTime(this.p.keyframes[0].t / Fe, 0)) : this.p._caching.lastFrame + this.p.offsetTime >= this.p.keyframes[this.p.keyframes.length - 1].t ? (He = this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length - 1].t / Fe, 0), tt = this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length - 1].t - 0.05) / Fe, 0)) : (He = this.p.pv, tt = this.p.getValueAtTime((this.p._caching.lastFrame + this.p.offsetTime - 0.01) / Fe, this.p.offsetTime));
                else if (this.px && this.px.keyframes && this.py.keyframes && this.px.getValueAtTime && this.py.getValueAtTime) {
                  He = [], tt = [];
                  var me = this.px, Oe = this.py;
                  me._caching.lastFrame + me.offsetTime <= me.keyframes[0].t ? (He[0] = me.getValueAtTime((me.keyframes[0].t + 0.01) / Fe, 0), He[1] = Oe.getValueAtTime((Oe.keyframes[0].t + 0.01) / Fe, 0), tt[0] = me.getValueAtTime(me.keyframes[0].t / Fe, 0), tt[1] = Oe.getValueAtTime(Oe.keyframes[0].t / Fe, 0)) : me._caching.lastFrame + me.offsetTime >= me.keyframes[me.keyframes.length - 1].t ? (He[0] = me.getValueAtTime(me.keyframes[me.keyframes.length - 1].t / Fe, 0), He[1] = Oe.getValueAtTime(Oe.keyframes[Oe.keyframes.length - 1].t / Fe, 0), tt[0] = me.getValueAtTime((me.keyframes[me.keyframes.length - 1].t - 0.01) / Fe, 0), tt[1] = Oe.getValueAtTime((Oe.keyframes[Oe.keyframes.length - 1].t - 0.01) / Fe, 0)) : (He = [me.pv, Oe.pv], tt[0] = me.getValueAtTime((me._caching.lastFrame + me.offsetTime - 0.01) / Fe, me.offsetTime), tt[1] = Oe.getValueAtTime((Oe._caching.lastFrame + Oe.offsetTime - 0.01) / Fe, Oe.offsetTime));
                } else
                  tt = f, He = tt;
                this.v.rotate(-Math.atan2(He[1] - tt[1], He[0] - tt[0]));
              }
              this.data.p && this.data.p.s ? this.data.p.z ? this.v.translate(this.px.v, this.py.v, -this.pz.v) : this.v.translate(this.px.v, this.py.v, 0) : this.v.translate(this.p.v[0], this.p.v[1], -this.p.v[2]);
            }
            this.frameId = this.elem.globalData.frameId;
          }
        }
        function D() {
          if (!this.a.k)
            this.pre.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]), this.appliedTransformations = 1;
          else
            return;
          if (!this.s.effectsSequence.length)
            this.pre.scale(this.s.v[0], this.s.v[1], this.s.v[2]), this.appliedTransformations = 2;
          else
            return;
          if (this.sk)
            if (!this.sk.effectsSequence.length && !this.sa.effectsSequence.length)
              this.pre.skewFromAxis(-this.sk.v, this.sa.v), this.appliedTransformations = 3;
            else
              return;
          this.r ? this.r.effectsSequence.length || (this.pre.rotate(-this.r.v), this.appliedTransformations = 4) : !this.rz.effectsSequence.length && !this.ry.effectsSequence.length && !this.rx.effectsSequence.length && !this.or.effectsSequence.length && (this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]), this.appliedTransformations = 4);
        }
        function W() {
        }
        function V(ve) {
          this._addDynamicProperty(ve), this.elem.addDynamicProperty(ve), this._isDirty = true;
        }
        function ge(ve, Fe, He) {
          if (this.elem = ve, this.frameId = -1, this.propType = "transform", this.data = Fe, this.v = new bn(), this.pre = new bn(), this.appliedTransformations = 0, this.initDynamicPropertyContainer(He || ve), Fe.p && Fe.p.s ? (this.px = Wt.getProp(ve, Fe.p.x, 0, 0, this), this.py = Wt.getProp(ve, Fe.p.y, 0, 0, this), Fe.p.z && (this.pz = Wt.getProp(ve, Fe.p.z, 0, 0, this))) : this.p = Wt.getProp(ve, Fe.p || {
            k: [0, 0, 0]
          }, 1, 0, this), Fe.rx) {
            if (this.rx = Wt.getProp(ve, Fe.rx, 0, pe, this), this.ry = Wt.getProp(ve, Fe.ry, 0, pe, this), this.rz = Wt.getProp(ve, Fe.rz, 0, pe, this), Fe.or.k[0].ti) {
              var tt, me = Fe.or.k.length;
              for (tt = 0; tt < me; tt += 1)
                Fe.or.k[tt].to = null, Fe.or.k[tt].ti = null;
            }
            this.or = Wt.getProp(ve, Fe.or, 1, pe, this), this.or.sh = true;
          } else
            this.r = Wt.getProp(ve, Fe.r || {
              k: 0
            }, 0, pe, this);
          Fe.sk && (this.sk = Wt.getProp(ve, Fe.sk, 0, pe, this), this.sa = Wt.getProp(ve, Fe.sa, 0, pe, this)), this.a = Wt.getProp(ve, Fe.a || {
            k: [0, 0, 0]
          }, 1, 0, this), this.s = Wt.getProp(ve, Fe.s || {
            k: [100, 100, 100]
          }, 1, 0.01, this), Fe.o ? this.o = Wt.getProp(ve, Fe.o, 0, 0.01, ve) : this.o = {
            _mdf: false,
            v: 1
          }, this._isDirty = true, this.dynamicProperties.length || this.getValue(true);
        }
        ge.prototype = {
          applyToMatrix: x,
          getValue: E,
          precalculateMatrix: D,
          autoOrient: W
        }, T([ir], ge), ge.prototype.addDynamicProperty = V, ge.prototype._addDynamicProperty = ir.prototype.addDynamicProperty;
        function De(ve, Fe, He) {
          return new ge(ve, Fe, He);
        }
        return {
          getTransformProperty: De
        };
      })();
      function un() {
      }
      T([Dn], un), un.prototype.initModifierProperties = function(f, x) {
        this.getValue = this.processKeys, this.c = Wt.getProp(f, x.c, 0, null, this), this.o = Wt.getProp(f, x.o, 0, null, this), this.tr = Zt.getTransformProperty(f, x.tr, this), this.so = Wt.getProp(f, x.tr.so, 0, 0.01, this), this.eo = Wt.getProp(f, x.tr.eo, 0, 0.01, this), this.data = x, this.dynamicProperties.length || this.getValue(true), this._isAnimated = !!this.dynamicProperties.length, this.pMatrix = new bn(), this.rMatrix = new bn(), this.sMatrix = new bn(), this.tMatrix = new bn(), this.matrix = new bn();
      }, un.prototype.applyTransforms = function(f, x, E, D, W, V) {
        var ge = V ? -1 : 1, De = D.s.v[0] + (1 - D.s.v[0]) * (1 - W), ve = D.s.v[1] + (1 - D.s.v[1]) * (1 - W);
        f.translate(D.p.v[0] * ge * W, D.p.v[1] * ge * W, D.p.v[2]), x.translate(-D.a.v[0], -D.a.v[1], D.a.v[2]), x.rotate(-D.r.v * ge * W), x.translate(D.a.v[0], D.a.v[1], D.a.v[2]), E.translate(-D.a.v[0], -D.a.v[1], D.a.v[2]), E.scale(V ? 1 / De : De, V ? 1 / ve : ve), E.translate(D.a.v[0], D.a.v[1], D.a.v[2]);
      }, un.prototype.init = function(f, x, E, D) {
        for (this.elem = f, this.arr = x, this.pos = E, this.elemsData = D, this._currentCopies = 0, this._elements = [], this._groups = [], this.frameId = -1, this.initDynamicPropertyContainer(f), this.initModifierProperties(f, x[E]); E > 0; )
          E -= 1, this._elements.unshift(x[E]);
        this.dynamicProperties.length ? this.k = true : this.getValue(true);
      }, un.prototype.resetElements = function(f) {
        var x, E = f.length;
        for (x = 0; x < E; x += 1)
          f[x]._processed = false, f[x].ty === "gr" && this.resetElements(f[x].it);
      }, un.prototype.cloneElements = function(f) {
        var x = JSON.parse(JSON.stringify(f));
        return this.resetElements(x), x;
      }, un.prototype.changeGroupRender = function(f, x) {
        var E, D = f.length;
        for (E = 0; E < D; E += 1)
          f[E]._render = x, f[E].ty === "gr" && this.changeGroupRender(f[E].it, x);
      }, un.prototype.processShapes = function(f) {
        var x, E, D, W, V, ge = false;
        if (this._mdf || f) {
          var De = Math.ceil(this.c.v);
          if (this._groups.length < De) {
            for (; this._groups.length < De; ) {
              var ve = {
                it: this.cloneElements(this._elements),
                ty: "gr"
              };
              ve.it.push({
                a: {
                  a: 0,
                  ix: 1,
                  k: [0, 0]
                },
                nm: "Transform",
                o: {
                  a: 0,
                  ix: 7,
                  k: 100
                },
                p: {
                  a: 0,
                  ix: 2,
                  k: [0, 0]
                },
                r: {
                  a: 1,
                  ix: 6,
                  k: [{
                    s: 0,
                    e: 0,
                    t: 0
                  }, {
                    s: 0,
                    e: 0,
                    t: 1
                  }]
                },
                s: {
                  a: 0,
                  ix: 3,
                  k: [100, 100]
                },
                sa: {
                  a: 0,
                  ix: 5,
                  k: 0
                },
                sk: {
                  a: 0,
                  ix: 4,
                  k: 0
                },
                ty: "tr"
              }), this.arr.splice(0, 0, ve), this._groups.splice(0, 0, ve), this._currentCopies += 1;
            }
            this.elem.reloadShapes(), ge = true;
          }
          V = 0;
          var Fe;
          for (D = 0; D <= this._groups.length - 1; D += 1) {
            if (Fe = V < De, this._groups[D]._render = Fe, this.changeGroupRender(this._groups[D].it, Fe), !Fe) {
              var He = this.elemsData[D].it, tt = He[He.length - 1];
              tt.transform.op.v !== 0 ? (tt.transform.op._mdf = true, tt.transform.op.v = 0) : tt.transform.op._mdf = false;
            }
            V += 1;
          }
          this._currentCopies = De;
          var me = this.o.v, Oe = me % 1, ye = me > 0 ? Math.floor(me) : Math.ceil(me), Ee = this.pMatrix.props, Ne = this.rMatrix.props, j = this.sMatrix.props;
          this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
          var ee = 0;
          if (me > 0) {
            for (; ee < ye; )
              this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, false), ee += 1;
            Oe && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, Oe, false), ee += Oe);
          } else if (me < 0) {
            for (; ee > ye; )
              this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, true), ee -= 1;
            Oe && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -Oe, true), ee -= Oe);
          }
          D = this.data.m === 1 ? 0 : this._currentCopies - 1, W = this.data.m === 1 ? 1 : -1, V = this._currentCopies;
          for (var K, J; V; ) {
            if (x = this.elemsData[D].it, E = x[x.length - 1].transform.mProps.v.props, J = E.length, x[x.length - 1].transform.mProps._mdf = true, x[x.length - 1].transform.op._mdf = true, x[x.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (D / (this._currentCopies - 1)), ee !== 0) {
              for ((D !== 0 && W === 1 || D !== this._currentCopies - 1 && W === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, false), this.matrix.transform(Ne[0], Ne[1], Ne[2], Ne[3], Ne[4], Ne[5], Ne[6], Ne[7], Ne[8], Ne[9], Ne[10], Ne[11], Ne[12], Ne[13], Ne[14], Ne[15]), this.matrix.transform(j[0], j[1], j[2], j[3], j[4], j[5], j[6], j[7], j[8], j[9], j[10], j[11], j[12], j[13], j[14], j[15]), this.matrix.transform(Ee[0], Ee[1], Ee[2], Ee[3], Ee[4], Ee[5], Ee[6], Ee[7], Ee[8], Ee[9], Ee[10], Ee[11], Ee[12], Ee[13], Ee[14], Ee[15]), K = 0; K < J; K += 1)
                E[K] = this.matrix.props[K];
              this.matrix.reset();
            } else
              for (this.matrix.reset(), K = 0; K < J; K += 1)
                E[K] = this.matrix.props[K];
            ee += 1, V -= 1, D += W;
          }
        } else
          for (V = this._currentCopies, D = 0, W = 1; V; )
            x = this.elemsData[D].it, E = x[x.length - 1].transform.mProps.v.props, x[x.length - 1].transform.mProps._mdf = false, x[x.length - 1].transform.op._mdf = false, V -= 1, D += W;
        return ge;
      }, un.prototype.addShape = function() {
      };
      function dt() {
      }
      T([Dn], dt), dt.prototype.initModifierProperties = function(f, x) {
        this.getValue = this.processKeys, this.rd = Wt.getProp(f, x.r, 0, null, this), this._isAnimated = !!this.rd.effectsSequence.length;
      }, dt.prototype.processPath = function(f, x) {
        var E = $t.newElement();
        E.c = f.c;
        var D, W = f._length, V, ge, De, ve, Fe, He, tt = 0, me, Oe, ye, Ee, Ne, j;
        for (D = 0; D < W; D += 1)
          V = f.v[D], De = f.o[D], ge = f.i[D], V[0] === De[0] && V[1] === De[1] && V[0] === ge[0] && V[1] === ge[1] ? (D === 0 || D === W - 1) && !f.c ? (E.setTripleAt(V[0], V[1], De[0], De[1], ge[0], ge[1], tt), tt += 1) : (D === 0 ? ve = f.v[W - 1] : ve = f.v[D - 1], Fe = Math.sqrt(Math.pow(V[0] - ve[0], 2) + Math.pow(V[1] - ve[1], 2)), He = Fe ? Math.min(Fe / 2, x) / Fe : 0, Ne = V[0] + (ve[0] - V[0]) * He, me = Ne, j = V[1] - (V[1] - ve[1]) * He, Oe = j, ye = me - (me - V[0]) * Ve, Ee = Oe - (Oe - V[1]) * Ve, E.setTripleAt(me, Oe, ye, Ee, Ne, j, tt), tt += 1, D === W - 1 ? ve = f.v[0] : ve = f.v[D + 1], Fe = Math.sqrt(Math.pow(V[0] - ve[0], 2) + Math.pow(V[1] - ve[1], 2)), He = Fe ? Math.min(Fe / 2, x) / Fe : 0, ye = V[0] + (ve[0] - V[0]) * He, me = ye, Ee = V[1] + (ve[1] - V[1]) * He, Oe = Ee, Ne = me - (me - V[0]) * Ve, j = Oe - (Oe - V[1]) * Ve, E.setTripleAt(me, Oe, ye, Ee, Ne, j, tt), tt += 1) : (E.setTripleAt(f.v[D][0], f.v[D][1], f.o[D][0], f.o[D][1], f.i[D][0], f.i[D][1], tt), tt += 1);
        return E;
      }, dt.prototype.processShapes = function(f) {
        var x, E, D = this.shapes.length, W, V, ge = this.rd.v;
        if (ge !== 0) {
          var De, ve;
          for (E = 0; E < D; E += 1) {
            if (De = this.shapes[E], ve = De.localShapeCollection, !(!De.shape._mdf && !this._mdf && !f))
              for (ve.releaseShapes(), De.shape._mdf = true, x = De.shape.paths.shapes, V = De.shape.paths._length, W = 0; W < V; W += 1)
                ve.addShape(this.processPath(x[W], ge));
            De.shape.paths = De.localShapeCollection;
          }
        }
        this.dynamicProperties.length || (this._mdf = false);
      };
      function kt(f) {
        for (var x = f.fStyle ? f.fStyle.split(" ") : [], E = "normal", D = "normal", W = x.length, V, ge = 0; ge < W; ge += 1)
          switch (V = x[ge].toLowerCase(), V) {
            case "italic":
              D = "italic";
              break;
            case "bold":
              E = "700";
              break;
            case "black":
              E = "900";
              break;
            case "medium":
              E = "500";
              break;
            case "regular":
            case "normal":
              E = "400";
              break;
            case "light":
            case "thin":
              E = "200";
              break;
          }
        return {
          style: D,
          weight: f.fWeight || E
        };
      }
      var pn = (function() {
        var f = 5e3, x = {
          w: 0,
          size: 0,
          shapes: [],
          data: {
            shapes: []
          }
        }, E = [];
        E = E.concat([2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403]);
        var D = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"], W = [65039, 8205];
        function V(J) {
          var se = J.split(","), fe, Ce = se.length, Se = [];
          for (fe = 0; fe < Ce; fe += 1)
            se[fe] !== "sans-serif" && se[fe] !== "monospace" && Se.push(se[fe]);
          return Se.join(",");
        }
        function ge(J, se) {
          var fe = k("span");
          fe.setAttribute("aria-hidden", true), fe.style.fontFamily = se;
          var Ce = k("span");
          Ce.innerText = "giItT1WQy@!-/#", fe.style.position = "absolute", fe.style.left = "-10000px", fe.style.top = "-10000px", fe.style.fontSize = "300px", fe.style.fontVariant = "normal", fe.style.fontStyle = "normal", fe.style.fontWeight = "normal", fe.style.letterSpacing = "0", fe.appendChild(Ce), document.body.appendChild(fe);
          var Se = Ce.offsetWidth;
          return Ce.style.fontFamily = V(J) + ", " + se, {
            node: Ce,
            w: Se,
            parent: fe
          };
        }
        function De() {
          var J, se = this.fonts.length, fe, Ce, Se = se;
          for (J = 0; J < se; J += 1)
            this.fonts[J].loaded ? Se -= 1 : this.fonts[J].fOrigin === "n" || this.fonts[J].origin === 0 ? this.fonts[J].loaded = true : (fe = this.fonts[J].monoCase.node, Ce = this.fonts[J].monoCase.w, fe.offsetWidth !== Ce ? (Se -= 1, this.fonts[J].loaded = true) : (fe = this.fonts[J].sansCase.node, Ce = this.fonts[J].sansCase.w, fe.offsetWidth !== Ce && (Se -= 1, this.fonts[J].loaded = true)), this.fonts[J].loaded && (this.fonts[J].sansCase.parent.parentNode.removeChild(this.fonts[J].sansCase.parent), this.fonts[J].monoCase.parent.parentNode.removeChild(this.fonts[J].monoCase.parent)));
          Se !== 0 && Date.now() - this.initTime < f ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
        }
        function ve(J, se) {
          var fe = document.body && se ? "svg" : "canvas", Ce, Se = kt(J);
          if (fe === "svg") {
            var ft = ct("text");
            ft.style.fontSize = "100px", ft.setAttribute("font-family", J.fFamily), ft.setAttribute("font-style", Se.style), ft.setAttribute("font-weight", Se.weight), ft.textContent = "1", J.fClass ? (ft.style.fontFamily = "inherit", ft.setAttribute("class", J.fClass)) : ft.style.fontFamily = J.fFamily, se.appendChild(ft), Ce = ft;
          } else {
            var tn = new OffscreenCanvas(500, 500).getContext("2d");
            tn.font = Se.style + " " + Se.weight + " 100px " + J.fFamily, Ce = tn;
          }
          function qt(Gt) {
            return fe === "svg" ? (Ce.textContent = Gt, Ce.getComputedTextLength()) : Ce.measureText(Gt).width;
          }
          return {
            measureText: qt
          };
        }
        function Fe(J, se) {
          if (!J) {
            this.isLoaded = true;
            return;
          }
          if (this.chars) {
            this.isLoaded = true, this.fonts = J.list;
            return;
          }
          if (!document.body) {
            this.isLoaded = true, J.list.forEach(function(Ye) {
              Ye.helper = ve(Ye), Ye.cache = {};
            }), this.fonts = J.list;
            return;
          }
          var fe = J.list, Ce, Se = fe.length, ft = Se;
          for (Ce = 0; Ce < Se; Ce += 1) {
            var tn = true, qt, Gt;
            if (fe[Ce].loaded = false, fe[Ce].monoCase = ge(fe[Ce].fFamily, "monospace"), fe[Ce].sansCase = ge(fe[Ce].fFamily, "sans-serif"), !fe[Ce].fPath)
              fe[Ce].loaded = true, ft -= 1;
            else if (fe[Ce].fOrigin === "p" || fe[Ce].origin === 3) {
              if (qt = document.querySelectorAll('style[f-forigin="p"][f-family="' + fe[Ce].fFamily + '"], style[f-origin="3"][f-family="' + fe[Ce].fFamily + '"]'), qt.length > 0 && (tn = false), tn) {
                var vn = k("style");
                vn.setAttribute("f-forigin", fe[Ce].fOrigin), vn.setAttribute("f-origin", fe[Ce].origin), vn.setAttribute("f-family", fe[Ce].fFamily), vn.type = "text/css", vn.innerText = "@font-face {font-family: " + fe[Ce].fFamily + "; font-style: normal; src: url('" + fe[Ce].fPath + "');}", se.appendChild(vn);
              }
            } else if (fe[Ce].fOrigin === "g" || fe[Ce].origin === 1) {
              for (qt = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), Gt = 0; Gt < qt.length; Gt += 1)
                qt[Gt].href.indexOf(fe[Ce].fPath) !== -1 && (tn = false);
              if (tn) {
                var gn = k("link");
                gn.setAttribute("f-forigin", fe[Ce].fOrigin), gn.setAttribute("f-origin", fe[Ce].origin), gn.type = "text/css", gn.rel = "stylesheet", gn.href = fe[Ce].fPath, document.body.appendChild(gn);
              }
            } else if (fe[Ce].fOrigin === "t" || fe[Ce].origin === 2) {
              for (qt = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), Gt = 0; Gt < qt.length; Gt += 1)
                fe[Ce].fPath === qt[Gt].src && (tn = false);
              if (tn) {
                var Et = k("link");
                Et.setAttribute("f-forigin", fe[Ce].fOrigin), Et.setAttribute("f-origin", fe[Ce].origin), Et.setAttribute("rel", "stylesheet"), Et.setAttribute("href", fe[Ce].fPath), se.appendChild(Et);
              }
            }
            fe[Ce].helper = ve(fe[Ce], se), fe[Ce].cache = {}, this.fonts.push(fe[Ce]);
          }
          ft === 0 ? this.isLoaded = true : setTimeout(this.checkLoadedFonts.bind(this), 100);
        }
        function He(J) {
          if (J) {
            this.chars || (this.chars = []);
            var se, fe = J.length, Ce, Se = this.chars.length, ft;
            for (se = 0; se < fe; se += 1) {
              for (Ce = 0, ft = false; Ce < Se; )
                this.chars[Ce].style === J[se].style && this.chars[Ce].fFamily === J[se].fFamily && this.chars[Ce].ch === J[se].ch && (ft = true), Ce += 1;
              ft || (this.chars.push(J[se]), Se += 1);
            }
          }
        }
        function tt(J, se, fe) {
          for (var Ce = 0, Se = this.chars.length; Ce < Se; ) {
            if (this.chars[Ce].ch === J && this.chars[Ce].style === se && this.chars[Ce].fFamily === fe)
              return this.chars[Ce];
            Ce += 1;
          }
          return (typeof J == "string" && J.charCodeAt(0) !== 13 || !J) && console && console.warn && !this._warned && (this._warned = true), x;
        }
        function me(J, se, fe) {
          var Ce = this.getFontByName(se), Se = J.charCodeAt(0);
          if (!Ce.cache[Se + 1]) {
            var ft = Ce.helper;
            if (J === " ") {
              var tn = ft.measureText("|" + J + "|"), qt = ft.measureText("||");
              Ce.cache[Se + 1] = (tn - qt) / 100;
            } else
              Ce.cache[Se + 1] = ft.measureText(J) / 100;
          }
          return Ce.cache[Se + 1] * fe;
        }
        function Oe(J) {
          for (var se = 0, fe = this.fonts.length; se < fe; ) {
            if (this.fonts[se].fName === J)
              return this.fonts[se];
            se += 1;
          }
          return this.fonts[0];
        }
        function ye(J, se) {
          var fe = J.toString(16) + se.toString(16);
          return D.indexOf(fe) !== -1;
        }
        function Ee(J, se) {
          return se ? J === W[0] && se === W[1] : J === W[1];
        }
        function Ne(J) {
          return E.indexOf(J) !== -1;
        }
        function j() {
          this.isLoaded = true;
        }
        var ee = function() {
          this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = false, this._warned = false, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
        };
        ee.isModifier = ye, ee.isZeroWidthJoiner = Ee, ee.isCombinedCharacter = Ne;
        var K = {
          addChars: He,
          addFonts: Fe,
          getCharData: tt,
          getFontByName: Oe,
          measureText: me,
          checkLoadedFonts: De,
          setIsLoaded: j
        };
        return ee.prototype = K, ee;
      })();
      function ar() {
      }
      ar.prototype = {
        initRenderable: function() {
          this.isInRange = false, this.hidden = false, this.isTransparent = false, this.renderableComponents = [];
        },
        addRenderableComponent: function(x) {
          this.renderableComponents.indexOf(x) === -1 && this.renderableComponents.push(x);
        },
        removeRenderableComponent: function(x) {
          this.renderableComponents.indexOf(x) !== -1 && this.renderableComponents.splice(this.renderableComponents.indexOf(x), 1);
        },
        prepareRenderableFrame: function(x) {
          this.checkLayerLimits(x);
        },
        checkTransparency: function() {
          this.finalTransform.mProp.o.v <= 0 ? !this.isTransparent && this.globalData.renderConfig.hideOnTransparent && (this.isTransparent = true, this.hide()) : this.isTransparent && (this.isTransparent = false, this.show());
        },
        /**
           * @function
           * Initializes frame related properties.
           *
           * @param {number} num
           * current frame number in Layer's time
           *
           */
        checkLayerLimits: function(x) {
          this.data.ip - this.data.st <= x && this.data.op - this.data.st > x ? this.isInRange !== true && (this.globalData._mdf = true, this._mdf = true, this.isInRange = true, this.show()) : this.isInRange !== false && (this.globalData._mdf = true, this.isInRange = false, this.hide());
        },
        renderRenderable: function() {
          var x, E = this.renderableComponents.length;
          for (x = 0; x < E; x += 1)
            this.renderableComponents[x].renderFrame(this._isFirstFrame);
        },
        sourceRectAtTime: function() {
          return {
            top: 0,
            left: 0,
            width: 100,
            height: 100
          };
        },
        getLayerSize: function() {
          return this.data.ty === 5 ? {
            w: this.data.textData.width,
            h: this.data.textData.height
          } : {
            w: this.data.width,
            h: this.data.height
          };
        }
      };
      var vi = (function() {
        function f(E, D) {
          this._mask = E, this._data = D;
        }
        Object.defineProperty(f.prototype, "maskPath", {
          get: function() {
            return this._mask.prop.k && this._mask.prop.getValue(), this._mask.prop;
          }
        }), Object.defineProperty(f.prototype, "maskOpacity", {
          get: function() {
            return this._mask.op.k && this._mask.op.getValue(), this._mask.op.v * 100;
          }
        });
        var x = function(D) {
          var W = U(D.viewData.length), V, ge = D.viewData.length;
          for (V = 0; V < ge; V += 1)
            W[V] = new f(D.viewData[V], D.masksProperties[V]);
          var De = function(Fe) {
            for (V = 0; V < ge; ) {
              if (D.masksProperties[V].nm === Fe)
                return W[V];
              V += 1;
            }
            return null;
          };
          return De;
        };
        return x;
      })(), Sn = /* @__PURE__ */ (function() {
        var f = {
          pv: 0,
          v: 0,
          mult: 1
        }, x = {
          pv: [0, 0, 0],
          v: [0, 0, 0],
          mult: 1
        };
        function E(ge, De, ve) {
          Object.defineProperty(ge, "velocity", {
            get: function() {
              return De.getVelocityAtTime(De.comp.currentFrame);
            }
          }), ge.numKeys = De.keyframes ? De.keyframes.length : 0, ge.key = function(Fe) {
            if (!ge.numKeys)
              return 0;
            var He = "";
            "s" in De.keyframes[Fe - 1] ? He = De.keyframes[Fe - 1].s : "e" in De.keyframes[Fe - 2] ? He = De.keyframes[Fe - 2].e : He = De.keyframes[Fe - 2].s;
            var tt = ve === "unidimensional" ? new Number(He) : Object.assign({}, He);
            return tt.time = De.keyframes[Fe - 1].t / De.elem.comp.globalData.frameRate, tt.value = ve === "unidimensional" ? He[0] : He, tt;
          }, ge.valueAtTime = De.getValueAtTime, ge.speedAtTime = De.getSpeedAtTime, ge.velocityAtTime = De.getVelocityAtTime, ge.propertyGroup = De.propertyGroup;
        }
        function D(ge) {
          (!ge || !("pv" in ge)) && (ge = f);
          var De = 1 / ge.mult, ve = ge.pv * De, Fe = new Number(ve);
          return Fe.value = ve, E(Fe, ge, "unidimensional"), function() {
            return ge.k && ge.getValue(), ve = ge.v * De, Fe.value !== ve && (Fe = new Number(ve), Fe.value = ve, E(Fe, ge, "unidimensional")), Fe;
          };
        }
        function W(ge) {
          (!ge || !("pv" in ge)) && (ge = x);
          var De = 1 / ge.mult, ve = ge.data && ge.data.l || ge.pv.length, Fe = S("float32", ve), He = S("float32", ve);
          return Fe.value = He, E(Fe, ge, "multidimensional"), function() {
            ge.k && ge.getValue();
            for (var tt = 0; tt < ve; tt += 1)
              He[tt] = ge.v[tt] * De, Fe[tt] = He[tt];
            return Fe;
          };
        }
        function V() {
          return f;
        }
        return function(ge) {
          return ge ? ge.propType === "unidimensional" ? D(ge) : W(ge) : V;
        };
      })(), ui = /* @__PURE__ */ (function() {
        return function(f) {
          function x(ge) {
            switch (ge) {
              case "scale":
              case "Scale":
              case "ADBE Scale":
              case 6:
                return x.scale;
              case "rotation":
              case "Rotation":
              case "ADBE Rotation":
              case "ADBE Rotate Z":
              case 10:
                return x.rotation;
              case "ADBE Rotate X":
                return x.xRotation;
              case "ADBE Rotate Y":
                return x.yRotation;
              case "position":
              case "Position":
              case "ADBE Position":
              case 2:
                return x.position;
              case "ADBE Position_0":
                return x.xPosition;
              case "ADBE Position_1":
                return x.yPosition;
              case "ADBE Position_2":
                return x.zPosition;
              case "anchorPoint":
              case "AnchorPoint":
              case "Anchor Point":
              case "ADBE AnchorPoint":
              case 1:
                return x.anchorPoint;
              case "opacity":
              case "Opacity":
              case 11:
                return x.opacity;
              default:
                return null;
            }
          }
          Object.defineProperty(x, "rotation", {
            get: Sn(f.r || f.rz)
          }), Object.defineProperty(x, "zRotation", {
            get: Sn(f.rz || f.r)
          }), Object.defineProperty(x, "xRotation", {
            get: Sn(f.rx)
          }), Object.defineProperty(x, "yRotation", {
            get: Sn(f.ry)
          }), Object.defineProperty(x, "scale", {
            get: Sn(f.s)
          });
          var E, D, W, V;
          return f.p ? V = Sn(f.p) : (E = Sn(f.px), D = Sn(f.py), f.pz && (W = Sn(f.pz))), Object.defineProperty(x, "position", {
            get: function() {
              return f.p ? V() : [E(), D(), W ? W() : 0];
            }
          }), Object.defineProperty(x, "xPosition", {
            get: Sn(f.px)
          }), Object.defineProperty(x, "yPosition", {
            get: Sn(f.py)
          }), Object.defineProperty(x, "zPosition", {
            get: Sn(f.pz)
          }), Object.defineProperty(x, "anchorPoint", {
            get: Sn(f.a)
          }), Object.defineProperty(x, "opacity", {
            get: Sn(f.o)
          }), Object.defineProperty(x, "skew", {
            get: Sn(f.sk)
          }), Object.defineProperty(x, "skewAxis", {
            get: Sn(f.sa)
          }), Object.defineProperty(x, "orientation", {
            get: Sn(f.or)
          }), x;
        };
      })(), lu = /* @__PURE__ */ (function() {
        function f(Fe) {
          var He = new bn();
          if (Fe !== void 0) {
            var tt = this._elem.finalTransform.mProp.getValueAtTime(Fe);
            tt.clone(He);
          } else {
            var me = this._elem.finalTransform.mProp;
            me.applyToMatrix(He);
          }
          return He;
        }
        function x(Fe, He) {
          var tt = this.getMatrix(He);
          return tt.props[12] = 0, tt.props[13] = 0, tt.props[14] = 0, this.applyPoint(tt, Fe);
        }
        function E(Fe, He) {
          var tt = this.getMatrix(He);
          return this.applyPoint(tt, Fe);
        }
        function D(Fe, He) {
          var tt = this.getMatrix(He);
          return tt.props[12] = 0, tt.props[13] = 0, tt.props[14] = 0, this.invertPoint(tt, Fe);
        }
        function W(Fe, He) {
          var tt = this.getMatrix(He);
          return this.invertPoint(tt, Fe);
        }
        function V(Fe, He) {
          if (this._elem.hierarchy && this._elem.hierarchy.length) {
            var tt, me = this._elem.hierarchy.length;
            for (tt = 0; tt < me; tt += 1)
              this._elem.hierarchy[tt].finalTransform.mProp.applyToMatrix(Fe);
          }
          return Fe.applyToPointArray(He[0], He[1], He[2] || 0);
        }
        function ge(Fe, He) {
          if (this._elem.hierarchy && this._elem.hierarchy.length) {
            var tt, me = this._elem.hierarchy.length;
            for (tt = 0; tt < me; tt += 1)
              this._elem.hierarchy[tt].finalTransform.mProp.applyToMatrix(Fe);
          }
          return Fe.inversePoint(He);
        }
        function De(Fe) {
          var He = new bn();
          if (He.reset(), this._elem.finalTransform.mProp.applyToMatrix(He), this._elem.hierarchy && this._elem.hierarchy.length) {
            var tt, me = this._elem.hierarchy.length;
            for (tt = 0; tt < me; tt += 1)
              this._elem.hierarchy[tt].finalTransform.mProp.applyToMatrix(He);
            return He.inversePoint(Fe);
          }
          return He.inversePoint(Fe);
        }
        function ve() {
          return [1, 1, 1, 1];
        }
        return function(Fe) {
          var He;
          function tt(Ee) {
            Oe.mask = new vi(Ee, Fe);
          }
          function me(Ee) {
            Oe.effect = Ee;
          }
          function Oe(Ee) {
            switch (Ee) {
              case "ADBE Root Vectors Group":
              case "Contents":
              case 2:
                return Oe.shapeInterface;
              case 1:
              case 6:
              case "Transform":
              case "transform":
              case "ADBE Transform Group":
                return He;
              case 4:
              case "ADBE Effect Parade":
              case "effects":
              case "Effects":
                return Oe.effect;
              case "ADBE Text Properties":
                return Oe.textInterface;
              default:
                return null;
            }
          }
          Oe.getMatrix = f, Oe.invertPoint = ge, Oe.applyPoint = V, Oe.toWorld = E, Oe.toWorldVec = x, Oe.fromWorld = W, Oe.fromWorldVec = D, Oe.toComp = E, Oe.fromComp = De, Oe.sampleImage = ve, Oe.sourceRectAtTime = Fe.sourceRectAtTime.bind(Fe), Oe._elem = Fe, He = ui(Fe.finalTransform.mProp);
          var ye = R(He, "anchorPoint");
          return Object.defineProperties(Oe, {
            hasParent: {
              get: function() {
                return Fe.hierarchy.length;
              }
            },
            parent: {
              get: function() {
                return Fe.hierarchy[0].layerInterface;
              }
            },
            rotation: R(He, "rotation"),
            scale: R(He, "scale"),
            position: R(He, "position"),
            opacity: R(He, "opacity"),
            anchorPoint: ye,
            anchor_point: ye,
            transform: {
              get: function() {
                return He;
              }
            },
            active: {
              get: function() {
                return Fe.isInRange;
              }
            }
          }), Oe.startTime = Fe.data.st, Oe.index = Fe.data.ind, Oe.source = Fe.data.refId, Oe.height = Fe.data.ty === 0 ? Fe.data.h : 100, Oe.width = Fe.data.ty === 0 ? Fe.data.w : 100, Oe.inPoint = Fe.data.ip / Fe.comp.globalData.frameRate, Oe.outPoint = Fe.data.op / Fe.comp.globalData.frameRate, Oe._name = Fe.data.nm, Oe.registerMaskInterface = tt, Oe.registerEffectsInterface = me, Oe;
        };
      })(), ci = /* @__PURE__ */ (function() {
        return function(f, x) {
          return function(E) {
            return E = E === void 0 ? 1 : E, E <= 0 ? f : x(E - 1);
          };
        };
      })(), jn = /* @__PURE__ */ (function() {
        return function(f, x) {
          var E = {
            _name: f
          };
          function D(W) {
            return W = W === void 0 ? 1 : W, W <= 0 ? E : x(W - 1);
          }
          return D;
        };
      })(), Pr = /* @__PURE__ */ (function() {
        var f = {
          createEffectsInterface: x
        };
        function x(W, V) {
          if (W.effectsManager) {
            var ge = [], De = W.data.ef, ve, Fe = W.effectsManager.effectElements.length;
            for (ve = 0; ve < Fe; ve += 1)
              ge.push(E(De[ve], W.effectsManager.effectElements[ve], V, W));
            var He = W.data.ef || [], tt = function(Oe) {
              for (ve = 0, Fe = He.length; ve < Fe; ) {
                if (Oe === He[ve].nm || Oe === He[ve].mn || Oe === He[ve].ix)
                  return ge[ve];
                ve += 1;
              }
              return null;
            };
            return Object.defineProperty(tt, "numProperties", {
              get: function() {
                return He.length;
              }
            }), tt;
          }
          return null;
        }
        function E(W, V, ge, De) {
          function ve(Oe) {
            for (var ye = W.ef, Ee = 0, Ne = ye.length; Ee < Ne; ) {
              if (Oe === ye[Ee].nm || Oe === ye[Ee].mn || Oe === ye[Ee].ix)
                return ye[Ee].ty === 5 ? He[Ee] : He[Ee]();
              Ee += 1;
            }
            throw new Error();
          }
          var Fe = ci(ve, ge), He = [], tt, me = W.ef.length;
          for (tt = 0; tt < me; tt += 1)
            W.ef[tt].ty === 5 ? He.push(E(W.ef[tt], V.effectElements[tt], V.effectElements[tt].propertyGroup, De)) : He.push(D(V.effectElements[tt], W.ef[tt].ty, De, Fe));
          return W.mn === "ADBE Color Control" && Object.defineProperty(ve, "color", {
            get: function() {
              return He[0]();
            }
          }), Object.defineProperties(ve, {
            numProperties: {
              get: function() {
                return W.np;
              }
            },
            _name: {
              value: W.nm
            },
            propertyGroup: {
              value: Fe
            }
          }), ve.enabled = W.en !== 0, ve.active = ve.enabled, ve;
        }
        function D(W, V, ge, De) {
          var ve = Sn(W.p);
          function Fe() {
            return V === 10 ? ge.comp.compInterface(W.p.v) : ve();
          }
          return W.p.setGroupProperty && W.p.setGroupProperty(jn("", De)), Fe;
        }
        return f;
      })(), Wu = /* @__PURE__ */ (function() {
        return function(f) {
          function x(E) {
            for (var D = 0, W = f.layers.length; D < W; ) {
              if (f.layers[D].nm === E || f.layers[D].ind === E)
                return f.elements[D].layerInterface;
              D += 1;
            }
            return null;
          }
          return Object.defineProperty(x, "_name", {
            value: f.data.nm
          }), x.layer = x, x.pixelAspect = 1, x.height = f.data.h || f.globalData.compSize.h, x.width = f.data.w || f.globalData.compSize.w, x.pixelAspect = 1, x.frameDuration = 1 / f.globalData.frameRate, x.displayStartTime = 0, x.numLayers = f.layers.length, x;
        };
      })(), Wl = /* @__PURE__ */ (function() {
        return function(x, E, D) {
          var W = E.sh;
          function V(De) {
            return De === "Shape" || De === "shape" || De === "Path" || De === "path" || De === "ADBE Vector Shape" || De === 2 ? V.path : null;
          }
          var ge = ci(V, D);
          return W.setGroupProperty(jn("Path", ge)), Object.defineProperties(V, {
            path: {
              get: function() {
                return W.k && W.getValue(), W;
              }
            },
            shape: {
              get: function() {
                return W.k && W.getValue(), W;
              }
            },
            _name: {
              value: x.nm
            },
            ix: {
              value: x.ix
            },
            propertyIndex: {
              value: x.ix
            },
            mn: {
              value: x.mn
            },
            propertyGroup: {
              value: D
            }
          }), V;
        };
      })(), wa = /* @__PURE__ */ (function() {
        function f(ye, Ee, Ne) {
          var j = [], ee, K = ye ? ye.length : 0;
          for (ee = 0; ee < K; ee += 1)
            ye[ee].ty === "gr" ? j.push(E(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "fl" ? j.push(D(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "st" ? j.push(ge(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "tm" ? j.push(De(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "tr" || (ye[ee].ty === "el" ? j.push(Fe(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "sr" ? j.push(He(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "sh" ? j.push(Wl(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "rc" ? j.push(tt(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "rd" ? j.push(me(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "rp" ? j.push(Oe(ye[ee], Ee[ee], Ne)) : ye[ee].ty === "gf" ? j.push(W(ye[ee], Ee[ee], Ne)) : j.push(V(ye[ee], Ee[ee])));
          return j;
        }
        function x(ye, Ee, Ne) {
          var j, ee = function(se) {
            for (var fe = 0, Ce = j.length; fe < Ce; ) {
              if (j[fe]._name === se || j[fe].mn === se || j[fe].propertyIndex === se || j[fe].ix === se || j[fe].ind === se)
                return j[fe];
              fe += 1;
            }
            return typeof se == "number" ? j[se - 1] : null;
          };
          ee.propertyGroup = ci(ee, Ne), j = f(ye.it, Ee.it, ee.propertyGroup), ee.numProperties = j.length;
          var K = ve(ye.it[ye.it.length - 1], Ee.it[Ee.it.length - 1], ee.propertyGroup);
          return ee.transform = K, ee.propertyIndex = ye.cix, ee._name = ye.nm, ee;
        }
        function E(ye, Ee, Ne) {
          var j = function(se) {
            switch (se) {
              case "ADBE Vectors Group":
              case "Contents":
              case 2:
                return j.content;
              // Not necessary for now. Keeping them here in case a new case appears
              // case 'ADBE Vector Transform Group':
              // case 3:
              default:
                return j.transform;
            }
          };
          j.propertyGroup = ci(j, Ne);
          var ee = x(ye, Ee, j.propertyGroup), K = ve(ye.it[ye.it.length - 1], Ee.it[Ee.it.length - 1], j.propertyGroup);
          return j.content = ee, j.transform = K, Object.defineProperty(j, "_name", {
            get: function() {
              return ye.nm;
            }
          }), j.numProperties = ye.np, j.propertyIndex = ye.ix, j.nm = ye.nm, j.mn = ye.mn, j;
        }
        function D(ye, Ee, Ne) {
          function j(ee) {
            return ee === "Color" || ee === "color" ? j.color : ee === "Opacity" || ee === "opacity" ? j.opacity : null;
          }
          return Object.defineProperties(j, {
            color: {
              get: Sn(Ee.c)
            },
            opacity: {
              get: Sn(Ee.o)
            },
            _name: {
              value: ye.nm
            },
            mn: {
              value: ye.mn
            }
          }), Ee.c.setGroupProperty(jn("Color", Ne)), Ee.o.setGroupProperty(jn("Opacity", Ne)), j;
        }
        function W(ye, Ee, Ne) {
          function j(ee) {
            return ee === "Start Point" || ee === "start point" ? j.startPoint : ee === "End Point" || ee === "end point" ? j.endPoint : ee === "Opacity" || ee === "opacity" ? j.opacity : null;
          }
          return Object.defineProperties(j, {
            startPoint: {
              get: Sn(Ee.s)
            },
            endPoint: {
              get: Sn(Ee.e)
            },
            opacity: {
              get: Sn(Ee.o)
            },
            type: {
              get: function() {
                return "a";
              }
            },
            _name: {
              value: ye.nm
            },
            mn: {
              value: ye.mn
            }
          }), Ee.s.setGroupProperty(jn("Start Point", Ne)), Ee.e.setGroupProperty(jn("End Point", Ne)), Ee.o.setGroupProperty(jn("Opacity", Ne)), j;
        }
        function V() {
          function ye() {
            return null;
          }
          return ye;
        }
        function ge(ye, Ee, Ne) {
          var j = ci(Ce, Ne), ee = ci(fe, j);
          function K(Se) {
            Object.defineProperty(fe, ye.d[Se].nm, {
              get: Sn(Ee.d.dataProps[Se].p)
            });
          }
          var J, se = ye.d ? ye.d.length : 0, fe = {};
          for (J = 0; J < se; J += 1)
            K(J), Ee.d.dataProps[J].p.setGroupProperty(ee);
          function Ce(Se) {
            return Se === "Color" || Se === "color" ? Ce.color : Se === "Opacity" || Se === "opacity" ? Ce.opacity : Se === "Stroke Width" || Se === "stroke width" ? Ce.strokeWidth : null;
          }
          return Object.defineProperties(Ce, {
            color: {
              get: Sn(Ee.c)
            },
            opacity: {
              get: Sn(Ee.o)
            },
            strokeWidth: {
              get: Sn(Ee.w)
            },
            dash: {
              get: function() {
                return fe;
              }
            },
            _name: {
              value: ye.nm
            },
            mn: {
              value: ye.mn
            }
          }), Ee.c.setGroupProperty(jn("Color", j)), Ee.o.setGroupProperty(jn("Opacity", j)), Ee.w.setGroupProperty(jn("Stroke Width", j)), Ce;
        }
        function De(ye, Ee, Ne) {
          function j(K) {
            return K === ye.e.ix || K === "End" || K === "end" ? j.end : K === ye.s.ix ? j.start : K === ye.o.ix ? j.offset : null;
          }
          var ee = ci(j, Ne);
          return j.propertyIndex = ye.ix, Ee.s.setGroupProperty(jn("Start", ee)), Ee.e.setGroupProperty(jn("End", ee)), Ee.o.setGroupProperty(jn("Offset", ee)), j.propertyIndex = ye.ix, j.propertyGroup = Ne, Object.defineProperties(j, {
            start: {
              get: Sn(Ee.s)
            },
            end: {
              get: Sn(Ee.e)
            },
            offset: {
              get: Sn(Ee.o)
            },
            _name: {
              value: ye.nm
            }
          }), j.mn = ye.mn, j;
        }
        function ve(ye, Ee, Ne) {
          function j(K) {
            return ye.a.ix === K || K === "Anchor Point" ? j.anchorPoint : ye.o.ix === K || K === "Opacity" ? j.opacity : ye.p.ix === K || K === "Position" ? j.position : ye.r.ix === K || K === "Rotation" || K === "ADBE Vector Rotation" ? j.rotation : ye.s.ix === K || K === "Scale" ? j.scale : ye.sk && ye.sk.ix === K || K === "Skew" ? j.skew : ye.sa && ye.sa.ix === K || K === "Skew Axis" ? j.skewAxis : null;
          }
          var ee = ci(j, Ne);
          return Ee.transform.mProps.o.setGroupProperty(jn("Opacity", ee)), Ee.transform.mProps.p.setGroupProperty(jn("Position", ee)), Ee.transform.mProps.a.setGroupProperty(jn("Anchor Point", ee)), Ee.transform.mProps.s.setGroupProperty(jn("Scale", ee)), Ee.transform.mProps.r.setGroupProperty(jn("Rotation", ee)), Ee.transform.mProps.sk && (Ee.transform.mProps.sk.setGroupProperty(jn("Skew", ee)), Ee.transform.mProps.sa.setGroupProperty(jn("Skew Angle", ee))), Ee.transform.op.setGroupProperty(jn("Opacity", ee)), Object.defineProperties(j, {
            opacity: {
              get: Sn(Ee.transform.mProps.o)
            },
            position: {
              get: Sn(Ee.transform.mProps.p)
            },
            anchorPoint: {
              get: Sn(Ee.transform.mProps.a)
            },
            scale: {
              get: Sn(Ee.transform.mProps.s)
            },
            rotation: {
              get: Sn(Ee.transform.mProps.r)
            },
            skew: {
              get: Sn(Ee.transform.mProps.sk)
            },
            skewAxis: {
              get: Sn(Ee.transform.mProps.sa)
            },
            _name: {
              value: ye.nm
            }
          }), j.ty = "tr", j.mn = ye.mn, j.propertyGroup = Ne, j;
        }
        function Fe(ye, Ee, Ne) {
          function j(J) {
            return ye.p.ix === J ? j.position : ye.s.ix === J ? j.size : null;
          }
          var ee = ci(j, Ne);
          j.propertyIndex = ye.ix;
          var K = Ee.sh.ty === "tm" ? Ee.sh.prop : Ee.sh;
          return K.s.setGroupProperty(jn("Size", ee)), K.p.setGroupProperty(jn("Position", ee)), Object.defineProperties(j, {
            size: {
              get: Sn(K.s)
            },
            position: {
              get: Sn(K.p)
            },
            _name: {
              value: ye.nm
            }
          }), j.mn = ye.mn, j;
        }
        function He(ye, Ee, Ne) {
          function j(J) {
            return ye.p.ix === J ? j.position : ye.r.ix === J ? j.rotation : ye.pt.ix === J ? j.points : ye.or.ix === J || J === "ADBE Vector Star Outer Radius" ? j.outerRadius : ye.os.ix === J ? j.outerRoundness : ye.ir && (ye.ir.ix === J || J === "ADBE Vector Star Inner Radius") ? j.innerRadius : ye.is && ye.is.ix === J ? j.innerRoundness : null;
          }
          var ee = ci(j, Ne), K = Ee.sh.ty === "tm" ? Ee.sh.prop : Ee.sh;
          return j.propertyIndex = ye.ix, K.or.setGroupProperty(jn("Outer Radius", ee)), K.os.setGroupProperty(jn("Outer Roundness", ee)), K.pt.setGroupProperty(jn("Points", ee)), K.p.setGroupProperty(jn("Position", ee)), K.r.setGroupProperty(jn("Rotation", ee)), ye.ir && (K.ir.setGroupProperty(jn("Inner Radius", ee)), K.is.setGroupProperty(jn("Inner Roundness", ee))), Object.defineProperties(j, {
            position: {
              get: Sn(K.p)
            },
            rotation: {
              get: Sn(K.r)
            },
            points: {
              get: Sn(K.pt)
            },
            outerRadius: {
              get: Sn(K.or)
            },
            outerRoundness: {
              get: Sn(K.os)
            },
            innerRadius: {
              get: Sn(K.ir)
            },
            innerRoundness: {
              get: Sn(K.is)
            },
            _name: {
              value: ye.nm
            }
          }), j.mn = ye.mn, j;
        }
        function tt(ye, Ee, Ne) {
          function j(J) {
            return ye.p.ix === J ? j.position : ye.r.ix === J ? j.roundness : ye.s.ix === J || J === "Size" || J === "ADBE Vector Rect Size" ? j.size : null;
          }
          var ee = ci(j, Ne), K = Ee.sh.ty === "tm" ? Ee.sh.prop : Ee.sh;
          return j.propertyIndex = ye.ix, K.p.setGroupProperty(jn("Position", ee)), K.s.setGroupProperty(jn("Size", ee)), K.r.setGroupProperty(jn("Rotation", ee)), Object.defineProperties(j, {
            position: {
              get: Sn(K.p)
            },
            roundness: {
              get: Sn(K.r)
            },
            size: {
              get: Sn(K.s)
            },
            _name: {
              value: ye.nm
            }
          }), j.mn = ye.mn, j;
        }
        function me(ye, Ee, Ne) {
          function j(J) {
            return ye.r.ix === J || J === "Round Corners 1" ? j.radius : null;
          }
          var ee = ci(j, Ne), K = Ee;
          return j.propertyIndex = ye.ix, K.rd.setGroupProperty(jn("Radius", ee)), Object.defineProperties(j, {
            radius: {
              get: Sn(K.rd)
            },
            _name: {
              value: ye.nm
            }
          }), j.mn = ye.mn, j;
        }
        function Oe(ye, Ee, Ne) {
          function j(J) {
            return ye.c.ix === J || J === "Copies" ? j.copies : ye.o.ix === J || J === "Offset" ? j.offset : null;
          }
          var ee = ci(j, Ne), K = Ee;
          return j.propertyIndex = ye.ix, K.c.setGroupProperty(jn("Copies", ee)), K.o.setGroupProperty(jn("Offset", ee)), Object.defineProperties(j, {
            copies: {
              get: Sn(K.c)
            },
            offset: {
              get: Sn(K.o)
            },
            _name: {
              value: ye.nm
            }
          }), j.mn = ye.mn, j;
        }
        return function(ye, Ee, Ne) {
          var j;
          function ee(J) {
            if (typeof J == "number")
              return J = J === void 0 ? 1 : J, J === 0 ? Ne : j[J - 1];
            for (var se = 0, fe = j.length; se < fe; ) {
              if (j[se]._name === J)
                return j[se];
              se += 1;
            }
            return null;
          }
          function K() {
            return Ne;
          }
          return ee.propertyGroup = ci(ee, K), j = f(ye, Ee, ee.propertyGroup), ee.numProperties = j.length, ee._name = "Contents", ee;
        };
      })(), xl = /* @__PURE__ */ (function() {
        return function(f) {
          var x, E;
          function D(W) {
            switch (W) {
              case "ADBE Text Document":
                return D.sourceText;
              default:
                return null;
            }
          }
          return Object.defineProperty(D, "sourceText", {
            get: function() {
              f.textProperty.getValue();
              var V = f.textProperty.currentData.t;
              return V !== x && (f.textProperty.currentData.t = x, E = new String(V), E.value = V || new String(V)), E;
            }
          }), D;
        };
      })(), Uu = /* @__PURE__ */ (function() {
        var f = {
          0: "source-over",
          1: "multiply",
          2: "screen",
          3: "overlay",
          4: "darken",
          5: "lighten",
          6: "color-dodge",
          7: "color-burn",
          8: "hard-light",
          9: "soft-light",
          10: "difference",
          11: "exclusion",
          12: "hue",
          13: "saturation",
          14: "color",
          15: "luminosity"
        };
        return function(x) {
          return f[x] || "";
        };
      })();
      function td(f, x, E) {
        this.p = Wt.getProp(x, f.v, 0, 0, E);
      }
      function Ul(f, x, E) {
        this.p = Wt.getProp(x, f.v, 0, 0, E);
      }
      function Hl(f, x, E) {
        this.p = Wt.getProp(x, f.v, 1, 0, E);
      }
      function us(f, x, E) {
        this.p = Wt.getProp(x, f.v, 1, 0, E);
      }
      function cs(f, x, E) {
        this.p = Wt.getProp(x, f.v, 0, 0, E);
      }
      function Hu(f, x, E) {
        this.p = Wt.getProp(x, f.v, 0, 0, E);
      }
      function uu(f, x, E) {
        this.p = Wt.getProp(x, f.v, 0, 0, E);
      }
      function cu() {
        this.p = {};
      }
      function Go(f, x) {
        var E = f.ef || [];
        this.effectElements = [];
        var D, W = E.length, V;
        for (D = 0; D < W; D += 1)
          V = new ds(E[D], x), this.effectElements.push(V);
      }
      function ds(f, x) {
        this.init(f, x);
      }
      T([ir], ds), ds.prototype.getValue = ds.prototype.iterateDynamicProperties, ds.prototype.init = function(f, x) {
        this.data = f, this.effectElements = [], this.initDynamicPropertyContainer(x);
        var E, D = this.data.ef.length, W, V = this.data.ef;
        for (E = 0; E < D; E += 1) {
          switch (W = null, V[E].ty) {
            case 0:
              W = new td(V[E], x, this);
              break;
            case 1:
              W = new Ul(V[E], x, this);
              break;
            case 2:
              W = new Hl(V[E], x, this);
              break;
            case 3:
              W = new us(V[E], x, this);
              break;
            case 4:
            case 7:
              W = new uu(V[E], x, this);
              break;
            case 10:
              W = new cs(V[E], x, this);
              break;
            case 11:
              W = new Hu(V[E], x, this);
              break;
            case 5:
              W = new Go(V[E], x);
              break;
            // case 6:
            default:
              W = new cu(V[E]);
              break;
          }
          W && this.effectElements.push(W);
        }
      };
      function Oa() {
      }
      Oa.prototype = {
        checkMasks: function() {
          if (!this.data.hasMask)
            return false;
          for (var x = 0, E = this.data.masksProperties.length; x < E; ) {
            if (this.data.masksProperties[x].mode !== "n" && this.data.masksProperties[x].cl !== false)
              return true;
            x += 1;
          }
          return false;
        },
        initExpressions: function() {
          this.layerInterface = lu(this), this.data.hasMask && this.maskManager && this.layerInterface.registerMaskInterface(this.maskManager);
          var x = Pr.createEffectsInterface(this, this.layerInterface);
          this.layerInterface.registerEffectsInterface(x), this.data.ty === 0 || this.data.xt ? this.compInterface = Wu(this) : this.data.ty === 4 ? (this.layerInterface.shapeInterface = wa(this.shapesData, this.itemsData, this.layerInterface), this.layerInterface.content = this.layerInterface.shapeInterface) : this.data.ty === 5 && (this.layerInterface.textInterface = xl(this), this.layerInterface.text = this.layerInterface.textInterface);
        },
        setBlendMode: function() {
          var x = Uu(this.data.bm), E = this.baseElement || this.layerElement;
          E.style["mix-blend-mode"] = x;
        },
        initBaseData: function(x, E, D) {
          this.globalData = E, this.comp = D, this.data = x, this.layerId = ut(), this.data.sr || (this.data.sr = 1), this.effectsManager = new Go(this.data, this, this.dynamicProperties);
        },
        getType: function() {
          return this.type;
        },
        sourceRectAtTime: function() {
        }
      };
      function Ya() {
      }
      Ya.prototype = {
        /**
           * @function
           * Initializes frame related properties.
           *
           */
        initFrame: function() {
          this._isFirstFrame = false, this.dynamicProperties = [], this._mdf = false;
        },
        /**
           * @function
           * Calculates all dynamic values
           *
           * @param {number} num
           * current frame number in Layer's time
           * @param {boolean} isVisible
           * if layers is currently in range
           *
           */
        prepareProperties: function(x, E) {
          var D, W = this.dynamicProperties.length;
          for (D = 0; D < W; D += 1)
            (E || this._isParent && this.dynamicProperties[D].propType === "transform") && (this.dynamicProperties[D].getValue(), this.dynamicProperties[D]._mdf && (this.globalData._mdf = true, this._mdf = true));
        },
        addDynamicProperty: function(x) {
          this.dynamicProperties.indexOf(x) === -1 && this.dynamicProperties.push(x);
        }
      };
      function ji(f) {
        "@babel/helpers - typeof";
        return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? ji = function(E) {
          return typeof E;
        } : ji = function(E) {
          return E && typeof Symbol == "function" && E.constructor === Symbol && E !== Symbol.prototype ? "symbol" : typeof E;
        }, ji(f);
      }
      var du = /* @__PURE__ */ (function() {
        var f = function(D) {
          var W = "", V = D.getFootageData();
          function ge() {
            return W = "", V = D.getFootageData(), De;
          }
          function De(ve) {
            if (V[ve])
              return W = ve, V = V[ve], ji(V) === "object" ? De : V;
            var Fe = ve.indexOf(W);
            if (Fe !== -1) {
              var He = parseInt(ve.substr(Fe + W.length), 10);
              return V = V[He], ji(V) === "object" ? De : V;
            }
            return "";
          }
          return ge;
        }, x = function(D) {
          function W(V) {
            return V === "Outline" ? W.outlineInterface() : null;
          }
          return W._name = "Outline", W.outlineInterface = f(D), W;
        };
        return function(E) {
          function D(W) {
            return W === "Data" ? D.dataInterface : null;
          }
          return D._name = "Data", D.dataInterface = x(E), D;
        };
      })();
      function Lo(f, x, E) {
        this.initFrame(), this.initRenderable(), this.assetData = x.getAssetData(f.refId), this.footageData = x.imageLoader.getAsset(this.assetData), this.initBaseData(f, x, E);
      }
      Lo.prototype.prepareFrame = function() {
      }, T([ar, Oa, Ya], Lo), Lo.prototype.getBaseElement = function() {
        return null;
      }, Lo.prototype.renderFrame = function() {
      }, Lo.prototype.destroy = function() {
      }, Lo.prototype.initExpressions = function() {
        this.layerInterface = du(this);
      }, Lo.prototype.getFootageData = function() {
        return this.footageData;
      };
      function yo(f, x, E) {
        this.initFrame(), this.initRenderable(), this.assetData = x.getAssetData(f.refId), this.initBaseData(f, x, E), this._isPlaying = false, this._canPlay = false;
        var D = this.globalData.getAssetsPath(this.assetData);
        this.audio = this.globalData.audioController.createAudio(D), this._currentTime = 0, this.globalData.audioController.addAudio(this), this._volumeMultiplier = 1, this._volume = 1, this._previousVolume = null, this.tm = f.tm ? Wt.getProp(this, f.tm, 0, x.frameRate, this) : {
          _placeholder: true
        }, this.lv = Wt.getProp(this, f.au && f.au.lv ? f.au.lv : {
          k: [100]
        }, 1, 0.01, this);
      }
      yo.prototype.prepareFrame = function(f) {
        if (this.prepareRenderableFrame(f, true), this.prepareProperties(f, true), this.tm._placeholder)
          this._currentTime = f / this.data.sr;
        else {
          var x = this.tm.v;
          this._currentTime = x;
        }
        this._volume = this.lv.v[0];
        var E = this._volume * this._volumeMultiplier;
        this._previousVolume !== E && (this._previousVolume = E, this.audio.volume(E));
      }, T([ar, Oa, Ya], yo), yo.prototype.renderFrame = function() {
        this.isInRange && this._canPlay && (this._isPlaying ? (!this.audio.playing() || Math.abs(this._currentTime / this.globalData.frameRate - this.audio.seek()) > 0.1) && this.audio.seek(this._currentTime / this.globalData.frameRate) : (this.audio.play(), this.audio.seek(this._currentTime / this.globalData.frameRate), this._isPlaying = true));
      }, yo.prototype.show = function() {
      }, yo.prototype.hide = function() {
        this.audio.pause(), this._isPlaying = false;
      }, yo.prototype.pause = function() {
        this.audio.pause(), this._isPlaying = false, this._canPlay = false;
      }, yo.prototype.resume = function() {
        this._canPlay = true;
      }, yo.prototype.setRate = function(f) {
        this.audio.rate(f);
      }, yo.prototype.volume = function(f) {
        this._volumeMultiplier = f, this._previousVolume = f * this._volume, this.audio.volume(this._previousVolume);
      }, yo.prototype.getBaseElement = function() {
        return null;
      }, yo.prototype.destroy = function() {
      }, yo.prototype.sourceRectAtTime = function() {
      }, yo.prototype.initExpressions = function() {
      };
      function Ei() {
      }
      Ei.prototype.checkLayers = function(f) {
        var x, E = this.layers.length, D;
        for (this.completeLayers = true, x = E - 1; x >= 0; x -= 1)
          this.elements[x] || (D = this.layers[x], D.ip - D.st <= f - this.layers[x].st && D.op - D.st > f - this.layers[x].st && this.buildItem(x)), this.completeLayers = this.elements[x] ? this.completeLayers : false;
        this.checkPendingElements();
      }, Ei.prototype.createItem = function(f) {
        switch (f.ty) {
          case 2:
            return this.createImage(f);
          case 0:
            return this.createComp(f);
          case 1:
            return this.createSolid(f);
          case 3:
            return this.createNull(f);
          case 4:
            return this.createShape(f);
          case 5:
            return this.createText(f);
          case 6:
            return this.createAudio(f);
          case 13:
            return this.createCamera(f);
          case 15:
            return this.createFootage(f);
          default:
            return this.createNull(f);
        }
      }, Ei.prototype.createCamera = function() {
        throw new Error("You're using a 3d camera. Try the html renderer.");
      }, Ei.prototype.createAudio = function(f) {
        return new yo(f, this.globalData, this);
      }, Ei.prototype.createFootage = function(f) {
        return new Lo(f, this.globalData, this);
      }, Ei.prototype.buildAllItems = function() {
        var f, x = this.layers.length;
        for (f = 0; f < x; f += 1)
          this.buildItem(f);
        this.checkPendingElements();
      }, Ei.prototype.includeLayers = function(f) {
        this.completeLayers = false;
        var x, E = f.length, D, W = this.layers.length;
        for (x = 0; x < E; x += 1)
          for (D = 0; D < W; ) {
            if (this.layers[D].id === f[x].id) {
              this.layers[D] = f[x];
              break;
            }
            D += 1;
          }
      }, Ei.prototype.setProjectInterface = function(f) {
        this.globalData.projectInterface = f;
      }, Ei.prototype.initItems = function() {
        this.globalData.progressiveLoad || this.buildAllItems();
      }, Ei.prototype.buildElementParenting = function(f, x, E) {
        for (var D = this.elements, W = this.layers, V = 0, ge = W.length; V < ge; )
          W[V].ind == x && (!D[V] || D[V] === true ? (this.buildItem(V), this.addPendingElement(f)) : (E.push(D[V]), D[V].setAsParent(), W[V].parent !== void 0 ? this.buildElementParenting(f, W[V].parent, E) : f.setHierarchy(E))), V += 1;
      }, Ei.prototype.addPendingElement = function(f) {
        this.pendingElements.push(f);
      }, Ei.prototype.searchExtraCompositions = function(f) {
        var x, E = f.length;
        for (x = 0; x < E; x += 1)
          if (f[x].xt) {
            var D = this.createComp(f[x]);
            D.initExpressions(), this.globalData.projectInterface.registerComposition(D);
          }
      }, Ei.prototype.getElementByPath = function(f) {
        var x = f.shift(), E;
        if (typeof x == "number")
          E = this.elements[x];
        else {
          var D, W = this.elements.length;
          for (D = 0; D < W; D += 1)
            if (this.elements[D].data.nm === x) {
              E = this.elements[D];
              break;
            }
        }
        return f.length === 0 ? E : E.getElementByPath(f);
      }, Ei.prototype.setupGlobalData = function(f, x) {
        this.globalData.fontManager = new pn(), this.globalData.fontManager.addChars(f.chars), this.globalData.fontManager.addFonts(f.fonts, x), this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem), this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem), this.globalData.imageLoader = this.animationItem.imagePreloader, this.globalData.audioController = this.animationItem.audioController, this.globalData.frameId = 0, this.globalData.frameRate = f.fr, this.globalData.nm = f.nm, this.globalData.compSize = {
          w: f.w,
          h: f.h
        };
      };
      function fs() {
      }
      fs.prototype = {
        initTransform: function() {
          this.finalTransform = {
            mProp: this.data.ks ? Zt.getTransformProperty(this, this.data.ks, this) : {
              o: 0
            },
            _matMdf: false,
            _opMdf: false,
            mat: new bn()
          }, this.data.ao && (this.finalTransform.mProp.autoOriented = true), this.data.ty;
        },
        renderTransform: function() {
          if (this.finalTransform._opMdf = this.finalTransform.mProp.o._mdf || this._isFirstFrame, this.finalTransform._matMdf = this.finalTransform.mProp._mdf || this._isFirstFrame, this.hierarchy) {
            var x, E = this.finalTransform.mat, D = 0, W = this.hierarchy.length;
            if (!this.finalTransform._matMdf)
              for (; D < W; ) {
                if (this.hierarchy[D].finalTransform.mProp._mdf) {
                  this.finalTransform._matMdf = true;
                  break;
                }
                D += 1;
              }
            if (this.finalTransform._matMdf)
              for (x = this.finalTransform.mProp.v.props, E.cloneFromProps(x), D = 0; D < W; D += 1)
                x = this.hierarchy[D].finalTransform.mProp.v.props, E.transform(x[0], x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9], x[10], x[11], x[12], x[13], x[14], x[15]);
          }
        },
        globalToLocal: function(x) {
          var E = [];
          E.push(this.finalTransform);
          for (var D = true, W = this.comp; D; )
            W.finalTransform ? (W.data.hasMask && E.splice(0, 0, W.finalTransform), W = W.comp) : D = false;
          var V, ge = E.length, De;
          for (V = 0; V < ge; V += 1)
            De = E[V].mat.applyToPointArray(0, 0, 0), x = [x[0] - De[0], x[1] - De[1], 0];
          return x;
        },
        mHelper: new bn()
      };
      function Yo(f, x, E) {
        this.data = f, this.element = x, this.globalData = E, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
        var D = this.globalData.defs, W, V = this.masksProperties ? this.masksProperties.length : 0;
        this.viewData = U(V), this.solidPath = "";
        var ge, De = this.masksProperties, ve = 0, Fe = [], He, tt, me = ut(), Oe, ye, Ee, Ne, j = "clipPath", ee = "clip-path";
        for (W = 0; W < V; W += 1)
          if ((De[W].mode !== "a" && De[W].mode !== "n" || De[W].inv || De[W].o.k !== 100 || De[W].o.x) && (j = "mask", ee = "mask"), (De[W].mode === "s" || De[W].mode === "i") && ve === 0 ? (Oe = ct("rect"), Oe.setAttribute("fill", "#ffffff"), Oe.setAttribute("width", this.element.comp.data.w || 0), Oe.setAttribute("height", this.element.comp.data.h || 0), Fe.push(Oe)) : Oe = null, ge = ct("path"), De[W].mode === "n")
            this.viewData[W] = {
              op: Wt.getProp(this.element, De[W].o, 0, 0.01, this.element),
              prop: _n.getShapeProp(this.element, De[W], 3),
              elem: ge,
              lastPath: ""
            }, D.appendChild(ge);
          else {
            ve += 1, ge.setAttribute("fill", De[W].mode === "s" ? "#000000" : "#ffffff"), ge.setAttribute("clip-rule", "nonzero");
            var K;
            if (De[W].x.k !== 0 ? (j = "mask", ee = "mask", Ne = Wt.getProp(this.element, De[W].x, 0, null, this.element), K = ut(), ye = ct("filter"), ye.setAttribute("id", K), Ee = ct("feMorphology"), Ee.setAttribute("operator", "erode"), Ee.setAttribute("in", "SourceGraphic"), Ee.setAttribute("radius", "0"), ye.appendChild(Ee), D.appendChild(ye), ge.setAttribute("stroke", De[W].mode === "s" ? "#000000" : "#ffffff")) : (Ee = null, Ne = null), this.storedData[W] = {
              elem: ge,
              x: Ne,
              expan: Ee,
              lastPath: "",
              lastOperator: "",
              filterId: K,
              lastRadius: 0
            }, De[W].mode === "i") {
              tt = Fe.length;
              var J = ct("g");
              for (He = 0; He < tt; He += 1)
                J.appendChild(Fe[He]);
              var se = ct("mask");
              se.setAttribute("mask-type", "alpha"), se.setAttribute("id", me + "_" + ve), se.appendChild(ge), D.appendChild(se), J.setAttribute("mask", "url(" + y() + "#" + me + "_" + ve + ")"), Fe.length = 0, Fe.push(J);
            } else
              Fe.push(ge);
            De[W].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()), this.viewData[W] = {
              elem: ge,
              lastPath: "",
              op: Wt.getProp(this.element, De[W].o, 0, 0.01, this.element),
              prop: _n.getShapeProp(this.element, De[W], 3),
              invRect: Oe
            }, this.viewData[W].prop.k || this.drawPath(De[W], this.viewData[W].prop.v, this.viewData[W]);
          }
        for (this.maskElement = ct(j), V = Fe.length, W = 0; W < V; W += 1)
          this.maskElement.appendChild(Fe[W]);
        ve > 0 && (this.maskElement.setAttribute("id", me), this.element.maskedElement.setAttribute(ee, "url(" + y() + "#" + me + ")"), D.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
      }
      Yo.prototype.getMaskProperty = function(f) {
        return this.viewData[f].prop;
      }, Yo.prototype.renderFrame = function(f) {
        var x = this.element.finalTransform.mat, E, D = this.masksProperties.length;
        for (E = 0; E < D; E += 1)
          if ((this.viewData[E].prop._mdf || f) && this.drawPath(this.masksProperties[E], this.viewData[E].prop.v, this.viewData[E]), (this.viewData[E].op._mdf || f) && this.viewData[E].elem.setAttribute("fill-opacity", this.viewData[E].op.v), this.masksProperties[E].mode !== "n" && (this.viewData[E].invRect && (this.element.finalTransform.mProp._mdf || f) && this.viewData[E].invRect.setAttribute("transform", x.getInverseMatrix().to2dCSS()), this.storedData[E].x && (this.storedData[E].x._mdf || f))) {
            var W = this.storedData[E].expan;
            this.storedData[E].x.v < 0 ? (this.storedData[E].lastOperator !== "erode" && (this.storedData[E].lastOperator = "erode", this.storedData[E].elem.setAttribute("filter", "url(" + y() + "#" + this.storedData[E].filterId + ")")), W.setAttribute("radius", -this.storedData[E].x.v)) : (this.storedData[E].lastOperator !== "dilate" && (this.storedData[E].lastOperator = "dilate", this.storedData[E].elem.setAttribute("filter", null)), this.storedData[E].elem.setAttribute("stroke-width", this.storedData[E].x.v * 2));
          }
      }, Yo.prototype.getMaskelement = function() {
        return this.maskElement;
      }, Yo.prototype.createLayerSolidPath = function() {
        var f = "M0,0 ";
        return f += " h" + this.globalData.compSize.w, f += " v" + this.globalData.compSize.h, f += " h-" + this.globalData.compSize.w, f += " v-" + this.globalData.compSize.h + " ", f;
      }, Yo.prototype.drawPath = function(f, x, E) {
        var D = " M" + x.v[0][0] + "," + x.v[0][1], W, V;
        for (V = x._length, W = 1; W < V; W += 1)
          D += " C" + x.o[W - 1][0] + "," + x.o[W - 1][1] + " " + x.i[W][0] + "," + x.i[W][1] + " " + x.v[W][0] + "," + x.v[W][1];
        if (x.c && V > 1 && (D += " C" + x.o[W - 1][0] + "," + x.o[W - 1][1] + " " + x.i[0][0] + "," + x.i[0][1] + " " + x.v[0][0] + "," + x.v[0][1]), E.lastPath !== D) {
          var ge = "";
          E.elem && (x.c && (ge = f.inv ? this.solidPath + D : D), E.elem.setAttribute("d", ge)), E.lastPath = D;
        }
      }, Yo.prototype.destroy = function() {
        this.element = null, this.globalData = null, this.maskElement = null, this.data = null, this.masksProperties = null;
      };
      var zs = (function() {
        var f = {};
        f.createFilter = x, f.createAlphaToLuminanceFilter = E;
        function x(D, W) {
          var V = ct("filter");
          return V.setAttribute("id", D), W !== true && (V.setAttribute("filterUnits", "objectBoundingBox"), V.setAttribute("x", "0%"), V.setAttribute("y", "0%"), V.setAttribute("width", "100%"), V.setAttribute("height", "100%")), V;
        }
        function E() {
          var D = ct("feColorMatrix");
          return D.setAttribute("type", "matrix"), D.setAttribute("color-interpolation-filters", "sRGB"), D.setAttribute("values", "0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"), D;
        }
        return f;
      })(), Ws = (function() {
        var f = {
          maskType: true
        };
        return (/MSIE 10/i.test(navigator.userAgent) || /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /Edge\/\d./i.test(navigator.userAgent)) && (f.maskType = false), f;
      })(), nl = {}, Ri = "filter_result_";
      function ei(f) {
        var x, E = "SourceGraphic", D = f.data.ef ? f.data.ef.length : 0, W = ut(), V = zs.createFilter(W, true), ge = 0;
        this.filters = [];
        var De;
        for (x = 0; x < D; x += 1) {
          De = null;
          var ve = f.data.ef[x].ty;
          if (nl[ve]) {
            var Fe = nl[ve].effect;
            De = new Fe(V, f.effectsManager.effectElements[x], f, Ri + ge, E), E = Ri + ge, nl[ve].countsAsEffect && (ge += 1);
          }
          De && this.filters.push(De);
        }
        ge && (f.globalData.defs.appendChild(V), f.layerElement.setAttribute("filter", "url(" + y() + "#" + W + ")")), this.filters.length && f.addRenderableComponent(this);
      }
      ei.prototype.renderFrame = function(f) {
        var x, E = this.filters.length;
        for (x = 0; x < E; x += 1)
          this.filters[x].renderFrame(f);
      };
      function Lr() {
      }
      Lr.prototype = {
        initRendererElement: function() {
          this.layerElement = ct("g");
        },
        createContainerElements: function() {
          this.matteElement = ct("g"), this.transformedElement = this.layerElement, this.maskedElement = this.layerElement, this._sizeChanged = false;
          var x = null, E, D, W;
          if (this.data.td) {
            if (this.data.td == 3 || this.data.td == 1) {
              var V = ct("mask");
              V.setAttribute("id", this.layerId), V.setAttribute("mask-type", this.data.td == 3 ? "luminance" : "alpha"), V.appendChild(this.layerElement), x = V, this.globalData.defs.appendChild(V), !Ws.maskType && this.data.td == 1 && (V.setAttribute("mask-type", "luminance"), E = ut(), D = zs.createFilter(E), this.globalData.defs.appendChild(D), D.appendChild(zs.createAlphaToLuminanceFilter()), W = ct("g"), W.appendChild(this.layerElement), x = W, V.appendChild(W), W.setAttribute("filter", "url(" + y() + "#" + E + ")"));
            } else if (this.data.td == 2) {
              var ge = ct("mask");
              ge.setAttribute("id", this.layerId), ge.setAttribute("mask-type", "alpha");
              var De = ct("g");
              ge.appendChild(De), E = ut(), D = zs.createFilter(E);
              var ve = ct("feComponentTransfer");
              ve.setAttribute("in", "SourceGraphic"), D.appendChild(ve);
              var Fe = ct("feFuncA");
              Fe.setAttribute("type", "table"), Fe.setAttribute("tableValues", "1.0 0.0"), ve.appendChild(Fe), this.globalData.defs.appendChild(D);
              var He = ct("rect");
              He.setAttribute("width", this.comp.data.w), He.setAttribute("height", this.comp.data.h), He.setAttribute("x", "0"), He.setAttribute("y", "0"), He.setAttribute("fill", "#ffffff"), He.setAttribute("opacity", "0"), De.setAttribute("filter", "url(" + y() + "#" + E + ")"), De.appendChild(He), De.appendChild(this.layerElement), x = De, Ws.maskType || (ge.setAttribute("mask-type", "luminance"), D.appendChild(zs.createAlphaToLuminanceFilter()), W = ct("g"), De.appendChild(He), W.appendChild(this.layerElement), x = W, De.appendChild(W)), this.globalData.defs.appendChild(ge);
            }
          } else this.data.tt ? (this.matteElement.appendChild(this.layerElement), x = this.matteElement, this.baseElement = this.matteElement) : this.baseElement = this.layerElement;
          if (this.data.ln && this.layerElement.setAttribute("id", this.data.ln), this.data.cl && this.layerElement.setAttribute("class", this.data.cl), this.data.ty === 0 && !this.data.hd) {
            var tt = ct("clipPath"), me = ct("path");
            me.setAttribute("d", "M0,0 L" + this.data.w + ",0 L" + this.data.w + "," + this.data.h + " L0," + this.data.h + "z");
            var Oe = ut();
            if (tt.setAttribute("id", Oe), tt.appendChild(me), this.globalData.defs.appendChild(tt), this.checkMasks()) {
              var ye = ct("g");
              ye.setAttribute("clip-path", "url(" + y() + "#" + Oe + ")"), ye.appendChild(this.layerElement), this.transformedElement = ye, x ? x.appendChild(this.transformedElement) : this.baseElement = this.transformedElement;
            } else
              this.layerElement.setAttribute("clip-path", "url(" + y() + "#" + Oe + ")");
          }
          this.data.bm !== 0 && this.setBlendMode();
        },
        renderElement: function() {
          this.finalTransform._matMdf && this.transformedElement.setAttribute("transform", this.finalTransform.mat.to2dCSS()), this.finalTransform._opMdf && this.transformedElement.setAttribute("opacity", this.finalTransform.mProp.o.v);
        },
        destroyBaseElement: function() {
          this.layerElement = null, this.matteElement = null, this.maskManager.destroy();
        },
        getBaseElement: function() {
          return this.data.hd ? null : this.baseElement;
        },
        createRenderableComponents: function() {
          this.maskManager = new Yo(this.data, this, this.globalData), this.renderableEffectsManager = new ei(this);
        },
        setMatte: function(x) {
          this.matteElement && this.matteElement.setAttribute("mask", "url(" + y() + "#" + x + ")");
        }
      };
      function rl() {
      }
      rl.prototype = {
        /**
           * @function
           * Initializes hierarchy properties
           *
           */
        initHierarchy: function() {
          this.hierarchy = [], this._isParent = false, this.checkParenting();
        },
        /**
           * @function
           * Sets layer's hierarchy.
           * @param {array} hierarch
           * layer's parent list
           *
           */
        setHierarchy: function(x) {
          this.hierarchy = x;
        },
        /**
           * @function
           * Sets layer as parent.
           *
           */
        setAsParent: function() {
          this._isParent = true;
        },
        /**
           * @function
           * Searches layer's parenting chain
           *
           */
        checkParenting: function() {
          this.data.parent !== void 0 && this.comp.buildElementParenting(this, this.data.parent, []);
        }
      };
      function Ta() {
      }
      (function() {
        var f = {
          initElement: function(E, D, W) {
            this.initFrame(), this.initBaseData(E, D, W), this.initTransform(E, D, W), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide();
          },
          hide: function() {
            if (!this.hidden && (!this.isInRange || this.isTransparent)) {
              var E = this.baseElement || this.layerElement;
              E.style.display = "none", this.hidden = true;
            }
          },
          show: function() {
            if (this.isInRange && !this.isTransparent) {
              if (!this.data.hd) {
                var E = this.baseElement || this.layerElement;
                E.style.display = "block";
              }
              this.hidden = false, this._isFirstFrame = true;
            }
          },
          renderFrame: function() {
            this.data.hd || this.hidden || (this.renderTransform(), this.renderRenderable(), this.renderElement(), this.renderInnerContent(), this._isFirstFrame && (this._isFirstFrame = false));
          },
          renderInnerContent: function() {
          },
          prepareFrame: function(E) {
            this._mdf = false, this.prepareRenderableFrame(E), this.prepareProperties(E, this.isInRange), this.checkTransparency();
          },
          destroy: function() {
            this.innerElem = null, this.destroyBaseElement();
          }
        };
        T([ar, I(f)], Ta);
      })();
      function Bi(f, x, E) {
        this.assetData = x.getAssetData(f.refId), this.initElement(f, x, E), this.sourceRect = {
          top: 0,
          left: 0,
          width: this.assetData.w,
          height: this.assetData.h
        };
      }
      T([Oa, fs, Lr, rl, Ya, Ta], Bi), Bi.prototype.createContent = function() {
        var f = this.globalData.getAssetsPath(this.assetData);
        this.innerElem = ct("image"), this.innerElem.setAttribute("width", this.assetData.w + "px"), this.innerElem.setAttribute("height", this.assetData.h + "px"), this.innerElem.setAttribute("preserveAspectRatio", this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio), this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink", "href", f), this.layerElement.appendChild(this.innerElem);
      }, Bi.prototype.sourceRectAtTime = function() {
        return this.sourceRect;
      };
      function xc(f, x) {
        this.elem = f, this.pos = x;
      }
      function hs() {
      }
      hs.prototype = {
        addShapeToModifiers: function(x) {
          var E, D = this.shapeModifiers.length;
          for (E = 0; E < D; E += 1)
            this.shapeModifiers[E].addShape(x);
        },
        isShapeInAnimatedModifiers: function(x) {
          for (var E = 0, D = this.shapeModifiers.length; E < D; )
            if (this.shapeModifiers[E].isAnimatedWithShape(x))
              return true;
          return false;
        },
        renderModifiers: function() {
          if (this.shapeModifiers.length) {
            var x, E = this.shapes.length;
            for (x = 0; x < E; x += 1)
              this.shapes[x].sh.reset();
            E = this.shapeModifiers.length;
            var D;
            for (x = E - 1; x >= 0 && (D = this.shapeModifiers[x].processShapes(this._isFirstFrame), !D); x -= 1)
              ;
          }
        },
        searchProcessedElement: function(x) {
          for (var E = this.processedElements, D = 0, W = E.length; D < W; ) {
            if (E[D].elem === x)
              return E[D].pos;
            D += 1;
          }
          return 0;
        },
        addProcessedElement: function(x, E) {
          for (var D = this.processedElements, W = D.length; W; )
            if (W -= 1, D[W].elem === x) {
              D[W].pos = E;
              return;
            }
          D.push(new xc(x, E));
        },
        prepareFrame: function(x) {
          this.prepareRenderableFrame(x), this.prepareProperties(x, this.isInRange);
        }
      };
      var Xa = {
        1: "butt",
        2: "round",
        3: "square"
      }, _l = {
        1: "miter",
        2: "round",
        3: "bevel"
      };
      function ps(f, x, E) {
        this.caches = [], this.styles = [], this.transformers = f, this.lStr = "", this.sh = E, this.lvl = x, this._isAnimated = !!E.k;
        for (var D = 0, W = f.length; D < W; ) {
          if (f[D].mProps.dynamicProperties.length) {
            this._isAnimated = true;
            break;
          }
          D += 1;
        }
      }
      ps.prototype.setAsAnimated = function() {
        this._isAnimated = true;
      };
      function bs(f, x) {
        this.data = f, this.type = f.ty, this.d = "", this.lvl = x, this._mdf = false, this.closed = f.hd === true, this.pElem = ct("path"), this.msElem = null;
      }
      bs.prototype.reset = function() {
        this.d = "", this._mdf = false;
      };
      function Us(f, x, E, D) {
        this.elem = f, this.frameId = -1, this.dataProps = U(x.length), this.renderer = E, this.k = false, this.dashStr = "", this.dashArray = S("float32", x.length ? x.length - 1 : 0), this.dashoffset = S("float32", 1), this.initDynamicPropertyContainer(D);
        var W, V = x.length || 0, ge;
        for (W = 0; W < V; W += 1)
          ge = Wt.getProp(f, x[W].v, 0, 0, this), this.k = ge.k || this.k, this.dataProps[W] = {
            n: x[W].n,
            p: ge
          };
        this.k || this.getValue(true), this._isAnimated = this.k;
      }
      Us.prototype.getValue = function(f) {
        if (!(this.elem.globalData.frameId === this.frameId && !f) && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf = this._mdf || f, this._mdf)) {
          var x = 0, E = this.dataProps.length;
          for (this.renderer === "svg" && (this.dashStr = ""), x = 0; x < E; x += 1)
            this.dataProps[x].n !== "o" ? this.renderer === "svg" ? this.dashStr += " " + this.dataProps[x].p.v : this.dashArray[x] = this.dataProps[x].p.v : this.dashoffset[0] = this.dataProps[x].p.v;
        }
      }, T([ir], Us);
      function Yn(f, x, E) {
        this.initDynamicPropertyContainer(f), this.getValue = this.iterateDynamicProperties, this.o = Wt.getProp(f, x.o, 0, 0.01, this), this.w = Wt.getProp(f, x.w, 0, null, this), this.d = new Us(f, x.d || {}, "svg", this), this.c = Wt.getProp(f, x.c, 1, 255, this), this.style = E, this._isAnimated = !!this._isAnimated;
      }
      T([ir], Yn);
      function Da(f, x, E) {
        this.initDynamicPropertyContainer(f), this.getValue = this.iterateDynamicProperties, this.o = Wt.getProp(f, x.o, 0, 0.01, this), this.c = Wt.getProp(f, x.c, 1, 255, this), this.style = E;
      }
      T([ir], Da);
      function Bo(f, x, E) {
        this.initDynamicPropertyContainer(f), this.getValue = this.iterateDynamicProperties, this.style = E;
      }
      T([ir], Bo);
      function qi(f, x, E) {
        this.data = x, this.c = S("uint8c", x.p * 4);
        var D = x.k.k[0].s ? x.k.k[0].s.length - x.p * 4 : x.k.k.length - x.p * 4;
        this.o = S("float32", D), this._cmdf = false, this._omdf = false, this._collapsable = this.checkCollapsable(), this._hasOpacity = D, this.initDynamicPropertyContainer(E), this.prop = Wt.getProp(f, x.k, 1, null, this), this.k = this.prop.k, this.getValue(true);
      }
      qi.prototype.comparePoints = function(f, x) {
        for (var E = 0, D = this.o.length / 2, W; E < D; ) {
          if (W = Math.abs(f[E * 4] - f[x * 4 + E * 2]), W > 0.01)
            return false;
          E += 1;
        }
        return true;
      }, qi.prototype.checkCollapsable = function() {
        if (this.o.length / 2 !== this.c.length / 4)
          return false;
        if (this.data.k.k[0].s)
          for (var f = 0, x = this.data.k.k.length; f < x; ) {
            if (!this.comparePoints(this.data.k.k[f].s, this.data.p))
              return false;
            f += 1;
          }
        else if (!this.comparePoints(this.data.k.k, this.data.p))
          return false;
        return true;
      }, qi.prototype.getValue = function(f) {
        if (this.prop.getValue(), this._mdf = false, this._cmdf = false, this._omdf = false, this.prop._mdf || f) {
          var x, E = this.data.p * 4, D, W;
          for (x = 0; x < E; x += 1)
            D = x % 4 === 0 ? 100 : 255, W = Math.round(this.prop.v[x] * D), this.c[x] !== W && (this.c[x] = W, this._cmdf = !f);
          if (this.o.length)
            for (E = this.prop.v.length, x = this.data.p * 4; x < E; x += 1)
              D = x % 2 === 0 ? 100 : 1, W = x % 2 === 0 ? Math.round(this.prop.v[x] * 100) : this.prop.v[x], this.o[x - this.data.p * 4] !== W && (this.o[x - this.data.p * 4] = W, this._omdf = !f);
          this._mdf = !f;
        }
      }, T([ir], qi);
      function co(f, x, E) {
        this.initDynamicPropertyContainer(f), this.getValue = this.iterateDynamicProperties, this.initGradientData(f, x, E);
      }
      co.prototype.initGradientData = function(f, x, E) {
        this.o = Wt.getProp(f, x.o, 0, 0.01, this), this.s = Wt.getProp(f, x.s, 1, null, this), this.e = Wt.getProp(f, x.e, 1, null, this), this.h = Wt.getProp(f, x.h || {
          k: 0
        }, 0, 0.01, this), this.a = Wt.getProp(f, x.a || {
          k: 0
        }, 0, pe, this), this.g = new qi(f, x.g, this), this.style = E, this.stops = [], this.setGradientData(E.pElem, x), this.setGradientOpacity(x, E), this._isAnimated = !!this._isAnimated;
      }, co.prototype.setGradientData = function(f, x) {
        var E = ut(), D = ct(x.t === 1 ? "linearGradient" : "radialGradient");
        D.setAttribute("id", E), D.setAttribute("spreadMethod", "pad"), D.setAttribute("gradientUnits", "userSpaceOnUse");
        var W = [], V, ge, De;
        for (De = x.g.p * 4, ge = 0; ge < De; ge += 4)
          V = ct("stop"), D.appendChild(V), W.push(V);
        f.setAttribute(x.ty === "gf" ? "fill" : "stroke", "url(" + y() + "#" + E + ")"), this.gf = D, this.cst = W;
      }, co.prototype.setGradientOpacity = function(f, x) {
        if (this.g._hasOpacity && !this.g._collapsable) {
          var E, D, W, V = ct("mask"), ge = ct("path");
          V.appendChild(ge);
          var De = ut(), ve = ut();
          V.setAttribute("id", ve);
          var Fe = ct(f.t === 1 ? "linearGradient" : "radialGradient");
          Fe.setAttribute("id", De), Fe.setAttribute("spreadMethod", "pad"), Fe.setAttribute("gradientUnits", "userSpaceOnUse"), W = f.g.k.k[0].s ? f.g.k.k[0].s.length : f.g.k.k.length;
          var He = this.stops;
          for (D = f.g.p * 4; D < W; D += 2)
            E = ct("stop"), E.setAttribute("stop-color", "rgb(255,255,255)"), Fe.appendChild(E), He.push(E);
          ge.setAttribute(f.ty === "gf" ? "fill" : "stroke", "url(" + y() + "#" + De + ")"), f.ty === "gs" && (ge.setAttribute("stroke-linecap", Xa[f.lc || 2]), ge.setAttribute("stroke-linejoin", _l[f.lj || 2]), f.lj === 1 && ge.setAttribute("stroke-miterlimit", f.ml)), this.of = Fe, this.ms = V, this.ost = He, this.maskId = ve, x.msElem = ge;
        }
      }, T([ir], co);
      function Hs(f, x, E) {
        this.initDynamicPropertyContainer(f), this.getValue = this.iterateDynamicProperties, this.w = Wt.getProp(f, x.w, 0, null, this), this.d = new Us(f, x.d || {}, "svg", this), this.initGradientData(f, x, E), this._isAnimated = !!this._isAnimated;
      }
      T([co, ir], Hs);
      function wl() {
        this.it = [], this.prevViewData = [], this.gr = ct("g");
      }
      function gs(f, x, E) {
        this.transform = {
          mProps: f,
          op: x,
          container: E
        }, this.elements = [], this._isAnimated = this.transform.mProps.dynamicProperties.length || this.transform.op.effectsSequence.length;
      }
      var ms = function(x, E, D, W) {
        if (E === 0)
          return "";
        var V = x.o, ge = x.i, De = x.v, ve, Fe = " M" + W.applyToPointStringified(De[0][0], De[0][1]);
        for (ve = 1; ve < E; ve += 1)
          Fe += " C" + W.applyToPointStringified(V[ve - 1][0], V[ve - 1][1]) + " " + W.applyToPointStringified(ge[ve][0], ge[ve][1]) + " " + W.applyToPointStringified(De[ve][0], De[ve][1]);
        return D && E && (Fe += " C" + W.applyToPointStringified(V[ve - 1][0], V[ve - 1][1]) + " " + W.applyToPointStringified(ge[0][0], ge[0][1]) + " " + W.applyToPointStringified(De[0][0], De[0][1]), Fe += "z"), Fe;
      }, Xo = (function() {
        var f = new bn(), x = new bn(), E = {
          createRenderFunction: D
        };
        function D(tt) {
          switch (tt.ty) {
            case "fl":
              return De;
            case "gf":
              return Fe;
            case "gs":
              return ve;
            case "st":
              return He;
            case "sh":
            case "el":
            case "rc":
            case "sr":
              return ge;
            case "tr":
              return W;
            case "no":
              return V;
            default:
              return null;
          }
        }
        function W(tt, me, Oe) {
          (Oe || me.transform.op._mdf) && me.transform.container.setAttribute("opacity", me.transform.op.v), (Oe || me.transform.mProps._mdf) && me.transform.container.setAttribute("transform", me.transform.mProps.v.to2dCSS());
        }
        function V() {
        }
        function ge(tt, me, Oe) {
          var ye, Ee, Ne, j, ee, K, J = me.styles.length, se = me.lvl, fe, Ce, Se, ft, tn;
          for (K = 0; K < J; K += 1) {
            if (j = me.sh._mdf || Oe, me.styles[K].lvl < se) {
              for (Ce = x.reset(), ft = se - me.styles[K].lvl, tn = me.transformers.length - 1; !j && ft > 0; )
                j = me.transformers[tn].mProps._mdf || j, ft -= 1, tn -= 1;
              if (j)
                for (ft = se - me.styles[K].lvl, tn = me.transformers.length - 1; ft > 0; )
                  Se = me.transformers[tn].mProps.v.props, Ce.transform(Se[0], Se[1], Se[2], Se[3], Se[4], Se[5], Se[6], Se[7], Se[8], Se[9], Se[10], Se[11], Se[12], Se[13], Se[14], Se[15]), ft -= 1, tn -= 1;
            } else
              Ce = f;
            if (fe = me.sh.paths, Ee = fe._length, j) {
              for (Ne = "", ye = 0; ye < Ee; ye += 1)
                ee = fe.shapes[ye], ee && ee._length && (Ne += ms(ee, ee._length, ee.c, Ce));
              me.caches[K] = Ne;
            } else
              Ne = me.caches[K];
            me.styles[K].d += tt.hd === true ? "" : Ne, me.styles[K]._mdf = j || me.styles[K]._mdf;
          }
        }
        function De(tt, me, Oe) {
          var ye = me.style;
          (me.c._mdf || Oe) && ye.pElem.setAttribute("fill", "rgb(" + F(me.c.v[0]) + "," + F(me.c.v[1]) + "," + F(me.c.v[2]) + ")"), (me.o._mdf || Oe) && ye.pElem.setAttribute("fill-opacity", me.o.v);
        }
        function ve(tt, me, Oe) {
          Fe(tt, me, Oe), He(tt, me, Oe);
        }
        function Fe(tt, me, Oe) {
          var ye = me.gf, Ee = me.g._hasOpacity, Ne = me.s.v, j = me.e.v;
          if (me.o._mdf || Oe) {
            var ee = tt.ty === "gf" ? "fill-opacity" : "stroke-opacity";
            me.style.pElem.setAttribute(ee, me.o.v);
          }
          if (me.s._mdf || Oe) {
            var K = tt.t === 1 ? "x1" : "cx", J = K === "x1" ? "y1" : "cy";
            ye.setAttribute(K, Ne[0]), ye.setAttribute(J, Ne[1]), Ee && !me.g._collapsable && (me.of.setAttribute(K, Ne[0]), me.of.setAttribute(J, Ne[1]));
          }
          var se, fe, Ce, Se;
          if (me.g._cmdf || Oe) {
            se = me.cst;
            var ft = me.g.c;
            for (Ce = se.length, fe = 0; fe < Ce; fe += 1)
              Se = se[fe], Se.setAttribute("offset", ft[fe * 4] + "%"), Se.setAttribute("stop-color", "rgb(" + ft[fe * 4 + 1] + "," + ft[fe * 4 + 2] + "," + ft[fe * 4 + 3] + ")");
          }
          if (Ee && (me.g._omdf || Oe)) {
            var tn = me.g.o;
            for (me.g._collapsable ? se = me.cst : se = me.ost, Ce = se.length, fe = 0; fe < Ce; fe += 1)
              Se = se[fe], me.g._collapsable || Se.setAttribute("offset", tn[fe * 2] + "%"), Se.setAttribute("stop-opacity", tn[fe * 2 + 1]);
          }
          if (tt.t === 1)
            (me.e._mdf || Oe) && (ye.setAttribute("x2", j[0]), ye.setAttribute("y2", j[1]), Ee && !me.g._collapsable && (me.of.setAttribute("x2", j[0]), me.of.setAttribute("y2", j[1])));
          else {
            var qt;
            if ((me.s._mdf || me.e._mdf || Oe) && (qt = Math.sqrt(Math.pow(Ne[0] - j[0], 2) + Math.pow(Ne[1] - j[1], 2)), ye.setAttribute("r", qt), Ee && !me.g._collapsable && me.of.setAttribute("r", qt)), me.e._mdf || me.h._mdf || me.a._mdf || Oe) {
              qt || (qt = Math.sqrt(Math.pow(Ne[0] - j[0], 2) + Math.pow(Ne[1] - j[1], 2)));
              var Gt = Math.atan2(j[1] - Ne[1], j[0] - Ne[0]), vn = me.h.v;
              vn >= 1 ? vn = 0.99 : vn <= -1 && (vn = -0.99);
              var gn = qt * vn, Et = Math.cos(Gt + me.a.v) * gn + Ne[0], Ye = Math.sin(Gt + me.a.v) * gn + Ne[1];
              ye.setAttribute("fx", Et), ye.setAttribute("fy", Ye), Ee && !me.g._collapsable && (me.of.setAttribute("fx", Et), me.of.setAttribute("fy", Ye));
            }
          }
        }
        function He(tt, me, Oe) {
          var ye = me.style, Ee = me.d;
          Ee && (Ee._mdf || Oe) && Ee.dashStr && (ye.pElem.setAttribute("stroke-dasharray", Ee.dashStr), ye.pElem.setAttribute("stroke-dashoffset", Ee.dashoffset[0])), me.c && (me.c._mdf || Oe) && ye.pElem.setAttribute("stroke", "rgb(" + F(me.c.v[0]) + "," + F(me.c.v[1]) + "," + F(me.c.v[2]) + ")"), (me.o._mdf || Oe) && ye.pElem.setAttribute("stroke-opacity", me.o.v), (me.w._mdf || Oe) && (ye.pElem.setAttribute("stroke-width", me.w.v), ye.msElem && ye.msElem.setAttribute("stroke-width", me.w.v));
        }
        return E;
      })();
      function jr(f, x, E) {
        this.shapes = [], this.shapesData = f.shapes, this.stylesList = [], this.shapeModifiers = [], this.itemsData = [], this.processedElements = [], this.animatedContents = [], this.initElement(f, x, E), this.prevViewData = [];
      }
      T([Oa, fs, Lr, hs, rl, Ya, Ta], jr), jr.prototype.initSecondaryElement = function() {
      }, jr.prototype.identityMatrix = new bn(), jr.prototype.buildExpressionInterface = function() {
      }, jr.prototype.createContent = function() {
        this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], true), this.filterUniqueShapes();
      }, jr.prototype.filterUniqueShapes = function() {
        var f, x = this.shapes.length, E, D, W = this.stylesList.length, V, ge = [], De = false;
        for (D = 0; D < W; D += 1) {
          for (V = this.stylesList[D], De = false, ge.length = 0, f = 0; f < x; f += 1)
            E = this.shapes[f], E.styles.indexOf(V) !== -1 && (ge.push(E), De = E._isAnimated || De);
          ge.length > 1 && De && this.setShapesAsAnimated(ge);
        }
      }, jr.prototype.setShapesAsAnimated = function(f) {
        var x, E = f.length;
        for (x = 0; x < E; x += 1)
          f[x].setAsAnimated();
      }, jr.prototype.createStyleElement = function(f, x) {
        var E, D = new bs(f, x), W = D.pElem;
        if (f.ty === "st")
          E = new Yn(this, f, D);
        else if (f.ty === "fl")
          E = new Da(this, f, D);
        else if (f.ty === "gf" || f.ty === "gs") {
          var V = f.ty === "gf" ? co : Hs;
          E = new V(this, f, D), this.globalData.defs.appendChild(E.gf), E.maskId && (this.globalData.defs.appendChild(E.ms), this.globalData.defs.appendChild(E.of), W.setAttribute("mask", "url(" + y() + "#" + E.maskId + ")"));
        } else f.ty === "no" && (E = new Bo(this, f, D));
        return (f.ty === "st" || f.ty === "gs") && (W.setAttribute("stroke-linecap", Xa[f.lc || 2]), W.setAttribute("stroke-linejoin", _l[f.lj || 2]), W.setAttribute("fill-opacity", "0"), f.lj === 1 && W.setAttribute("stroke-miterlimit", f.ml)), f.r === 2 && W.setAttribute("fill-rule", "evenodd"), f.ln && W.setAttribute("id", f.ln), f.cl && W.setAttribute("class", f.cl), f.bm && (W.style["mix-blend-mode"] = Uu(f.bm)), this.stylesList.push(D), this.addToAnimatedContents(f, E), E;
      }, jr.prototype.createGroupElement = function(f) {
        var x = new wl();
        return f.ln && x.gr.setAttribute("id", f.ln), f.cl && x.gr.setAttribute("class", f.cl), f.bm && (x.gr.style["mix-blend-mode"] = Uu(f.bm)), x;
      }, jr.prototype.createTransformElement = function(f, x) {
        var E = Zt.getTransformProperty(this, f, this), D = new gs(E, E.o, x);
        return this.addToAnimatedContents(f, D), D;
      }, jr.prototype.createShapeElement = function(f, x, E) {
        var D = 4;
        f.ty === "rc" ? D = 5 : f.ty === "el" ? D = 6 : f.ty === "sr" && (D = 7);
        var W = _n.getShapeProp(this, f, D, this), V = new ps(x, E, W);
        return this.shapes.push(V), this.addShapeToModifiers(V), this.addToAnimatedContents(f, V), V;
      }, jr.prototype.addToAnimatedContents = function(f, x) {
        for (var E = 0, D = this.animatedContents.length; E < D; ) {
          if (this.animatedContents[E].element === x)
            return;
          E += 1;
        }
        this.animatedContents.push({
          fn: Xo.createRenderFunction(f),
          element: x,
          data: f
        });
      }, jr.prototype.setElementStyles = function(f) {
        var x = f.styles, E, D = this.stylesList.length;
        for (E = 0; E < D; E += 1)
          this.stylesList[E].closed || x.push(this.stylesList[E]);
      }, jr.prototype.reloadShapes = function() {
        this._isFirstFrame = true;
        var f, x = this.itemsData.length;
        for (f = 0; f < x; f += 1)
          this.prevViewData[f] = this.itemsData[f];
        for (this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], true), this.filterUniqueShapes(), x = this.dynamicProperties.length, f = 0; f < x; f += 1)
          this.dynamicProperties[f].getValue();
        this.renderModifiers();
      }, jr.prototype.searchShapes = function(f, x, E, D, W, V, ge) {
        var De = [].concat(V), ve, Fe = f.length - 1, He, tt, me = [], Oe = [], ye, Ee, Ne;
        for (ve = Fe; ve >= 0; ve -= 1) {
          if (Ne = this.searchProcessedElement(f[ve]), Ne ? x[ve] = E[Ne - 1] : f[ve]._render = ge, f[ve].ty === "fl" || f[ve].ty === "st" || f[ve].ty === "gf" || f[ve].ty === "gs" || f[ve].ty === "no")
            Ne ? x[ve].style.closed = false : x[ve] = this.createStyleElement(f[ve], W), f[ve]._render && x[ve].style.pElem.parentNode !== D && D.appendChild(x[ve].style.pElem), me.push(x[ve].style);
          else if (f[ve].ty === "gr") {
            if (!Ne)
              x[ve] = this.createGroupElement(f[ve]);
            else
              for (tt = x[ve].it.length, He = 0; He < tt; He += 1)
                x[ve].prevViewData[He] = x[ve].it[He];
            this.searchShapes(f[ve].it, x[ve].it, x[ve].prevViewData, x[ve].gr, W + 1, De, ge), f[ve]._render && x[ve].gr.parentNode !== D && D.appendChild(x[ve].gr);
          } else f[ve].ty === "tr" ? (Ne || (x[ve] = this.createTransformElement(f[ve], D)), ye = x[ve].transform, De.push(ye)) : f[ve].ty === "sh" || f[ve].ty === "rc" || f[ve].ty === "el" || f[ve].ty === "sr" ? (Ne || (x[ve] = this.createShapeElement(f[ve], De, W)), this.setElementStyles(x[ve])) : f[ve].ty === "tm" || f[ve].ty === "rd" || f[ve].ty === "ms" || f[ve].ty === "pb" ? (Ne ? (Ee = x[ve], Ee.closed = false) : (Ee = qo.getModifier(f[ve].ty), Ee.init(this, f[ve]), x[ve] = Ee, this.shapeModifiers.push(Ee)), Oe.push(Ee)) : f[ve].ty === "rp" && (Ne ? (Ee = x[ve], Ee.closed = true) : (Ee = qo.getModifier(f[ve].ty), x[ve] = Ee, Ee.init(this, f, ve, x), this.shapeModifiers.push(Ee), ge = false), Oe.push(Ee));
          this.addProcessedElement(f[ve], ve + 1);
        }
        for (Fe = me.length, ve = 0; ve < Fe; ve += 1)
          me[ve].closed = true;
        for (Fe = Oe.length, ve = 0; ve < Fe; ve += 1)
          Oe[ve].closed = true;
      }, jr.prototype.renderInnerContent = function() {
        this.renderModifiers();
        var f, x = this.stylesList.length;
        for (f = 0; f < x; f += 1)
          this.stylesList[f].reset();
        for (this.renderShape(), f = 0; f < x; f += 1)
          (this.stylesList[f]._mdf || this._isFirstFrame) && (this.stylesList[f].msElem && (this.stylesList[f].msElem.setAttribute("d", this.stylesList[f].d), this.stylesList[f].d = "M0 0" + this.stylesList[f].d), this.stylesList[f].pElem.setAttribute("d", this.stylesList[f].d || "M0 0"));
      }, jr.prototype.renderShape = function() {
        var f, x = this.animatedContents.length, E;
        for (f = 0; f < x; f += 1)
          E = this.animatedContents[f], (this._isFirstFrame || E.element._isAnimated) && E.data !== true && E.fn(E.data, E.element, this._isFirstFrame);
      }, jr.prototype.destroy = function() {
        this.destroyBaseElement(), this.shapesData = null, this.itemsData = null;
      };
      function Za(f, x, E, D, W, V) {
        this.o = f, this.sw = x, this.sc = E, this.fc = D, this.m = W, this.p = V, this._mdf = {
          o: true,
          sw: !!x,
          sc: !!E,
          fc: !!D,
          m: true,
          p: true
        };
      }
      Za.prototype.update = function(f, x, E, D, W, V) {
        this._mdf.o = false, this._mdf.sw = false, this._mdf.sc = false, this._mdf.fc = false, this._mdf.m = false, this._mdf.p = false;
        var ge = false;
        return this.o !== f && (this.o = f, this._mdf.o = true, ge = true), this.sw !== x && (this.sw = x, this._mdf.sw = true, ge = true), this.sc !== E && (this.sc = E, this._mdf.sc = true, ge = true), this.fc !== D && (this.fc = D, this._mdf.fc = true, ge = true), this.m !== W && (this.m = W, this._mdf.m = true, ge = true), V.length && (this.p[0] !== V[0] || this.p[1] !== V[1] || this.p[4] !== V[4] || this.p[5] !== V[5] || this.p[12] !== V[12] || this.p[13] !== V[13]) && (this.p = V, this._mdf.p = true, ge = true), ge;
      };
      function Zo(f, x) {
        this._frameId = i, this.pv = "", this.v = "", this.kf = false, this._isFirstFrame = true, this._mdf = false, this.data = x, this.elem = f, this.comp = this.elem.comp, this.keysIndex = 0, this.canResize = false, this.minimumFontSize = 1, this.effectsSequence = [], this.currentData = {
          ascent: 0,
          boxWidth: this.defaultBoxWidth,
          f: "",
          fStyle: "",
          fWeight: "",
          fc: "",
          j: "",
          justifyOffset: "",
          l: [],
          lh: 0,
          lineWidths: [],
          ls: "",
          of: "",
          s: "",
          sc: "",
          sw: 0,
          t: 0,
          tr: 0,
          sz: 0,
          ps: null,
          fillColorAnim: false,
          strokeColorAnim: false,
          strokeWidthAnim: false,
          yOffset: 0,
          finalSize: 0,
          finalText: [],
          finalLineHeight: 0,
          __complete: false
        }, this.copyData(this.currentData, this.data.d.k[0].s), this.searchProperty() || this.completeTextData(this.currentData);
      }
      Zo.prototype.defaultBoxWidth = [0, 0], Zo.prototype.copyData = function(f, x) {
        for (var E in x)
          Object.prototype.hasOwnProperty.call(x, E) && (f[E] = x[E]);
        return f;
      }, Zo.prototype.setCurrentData = function(f) {
        f.__complete || this.completeTextData(f), this.currentData = f, this.currentData.boxWidth = this.currentData.boxWidth || this.defaultBoxWidth, this._mdf = true;
      }, Zo.prototype.searchProperty = function() {
        return this.searchKeyframes();
      }, Zo.prototype.searchKeyframes = function() {
        return this.kf = this.data.d.k.length > 1, this.kf && this.addEffect(this.getKeyframeValue.bind(this)), this.kf;
      }, Zo.prototype.addEffect = function(f) {
        this.effectsSequence.push(f), this.elem.addDynamicProperty(this);
      }, Zo.prototype.getValue = function(f) {
        if (!((this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length) && !f)) {
          this.currentData.t = this.data.d.k[this.keysIndex].s.t;
          var x = this.currentData, E = this.keysIndex;
          if (this.lock) {
            this.setCurrentData(this.currentData);
            return;
          }
          this.lock = true, this._mdf = false;
          var D, W = this.effectsSequence.length, V = f || this.data.d.k[this.keysIndex].s;
          for (D = 0; D < W; D += 1)
            E !== this.keysIndex ? V = this.effectsSequence[D](V, V.t) : V = this.effectsSequence[D](this.currentData, V.t);
          x !== V && this.setCurrentData(V), this.v = this.currentData, this.pv = this.v, this.lock = false, this.frameId = this.elem.globalData.frameId;
        }
      }, Zo.prototype.getKeyframeValue = function() {
        for (var f = this.data.d.k, x = this.elem.comp.renderedFrame, E = 0, D = f.length; E <= D - 1 && !(E === D - 1 || f[E + 1].t > x); )
          E += 1;
        return this.keysIndex !== E && (this.keysIndex = E), this.data.d.k[this.keysIndex].s;
      }, Zo.prototype.buildFinalText = function(f) {
        for (var x = [], E = 0, D = f.length, W, V, ge = false; E < D; )
          W = f.charCodeAt(E), pn.isCombinedCharacter(W) ? x[x.length - 1] += f.charAt(E) : W >= 55296 && W <= 56319 ? (V = f.charCodeAt(E + 1), V >= 56320 && V <= 57343 ? (ge || pn.isModifier(W, V) ? (x[x.length - 1] += f.substr(E, 2), ge = false) : x.push(f.substr(E, 2)), E += 1) : x.push(f.charAt(E))) : W > 56319 ? (V = f.charCodeAt(E + 1), pn.isZeroWidthJoiner(W, V) ? (ge = true, x[x.length - 1] += f.substr(E, 2), E += 1) : x.push(f.charAt(E))) : pn.isZeroWidthJoiner(W) ? (x[x.length - 1] += f.charAt(E), ge = true) : x.push(f.charAt(E)), E += 1;
        return x;
      }, Zo.prototype.completeTextData = function(f) {
        f.__complete = true;
        var x = this.elem.globalData.fontManager, E = this.data, D = [], W, V, ge, De = 0, ve, Fe = E.m.g, He = 0, tt = 0, me = 0, Oe = [], ye = 0, Ee = 0, Ne, j, ee = x.getFontByName(f.f), K, J = 0, se = kt(ee);
        f.fWeight = se.weight, f.fStyle = se.style, f.finalSize = f.s, f.finalText = this.buildFinalText(f.t), V = f.finalText.length, f.finalLineHeight = f.lh;
        var fe = f.tr / 1e3 * f.finalSize, Ce;
        if (f.sz)
          for (var Se = true, ft = f.sz[0], tn = f.sz[1], qt, Gt; Se; ) {
            Gt = this.buildFinalText(f.t), qt = 0, ye = 0, V = Gt.length, fe = f.tr / 1e3 * f.finalSize;
            var vn = -1;
            for (W = 0; W < V; W += 1)
              Ce = Gt[W].charCodeAt(0), ge = false, Gt[W] === " " ? vn = W : (Ce === 13 || Ce === 3) && (ye = 0, ge = true, qt += f.finalLineHeight || f.finalSize * 1.2), x.chars ? (K = x.getCharData(Gt[W], ee.fStyle, ee.fFamily), J = ge ? 0 : K.w * f.finalSize / 100) : J = x.measureText(Gt[W], f.f, f.finalSize), ye + J > ft && Gt[W] !== " " ? (vn === -1 ? V += 1 : W = vn, qt += f.finalLineHeight || f.finalSize * 1.2, Gt.splice(W, vn === W ? 1 : 0, "\r"), vn = -1, ye = 0) : (ye += J, ye += fe);
            qt += ee.ascent * f.finalSize / 100, this.canResize && f.finalSize > this.minimumFontSize && tn < qt ? (f.finalSize -= 1, f.finalLineHeight = f.finalSize * f.lh / f.s) : (f.finalText = Gt, V = f.finalText.length, Se = false);
          }
        ye = -fe, J = 0;
        var gn = 0, Et;
        for (W = 0; W < V; W += 1)
          if (ge = false, Et = f.finalText[W], Ce = Et.charCodeAt(0), Ce === 13 || Ce === 3 ? (gn = 0, Oe.push(ye), Ee = ye > Ee ? ye : Ee, ye = -2 * fe, ve = "", ge = true, me += 1) : ve = Et, x.chars ? (K = x.getCharData(Et, ee.fStyle, x.getFontByName(f.f).fFamily), J = ge ? 0 : K.w * f.finalSize / 100) : J = x.measureText(ve, f.f, f.finalSize), Et === " " ? gn += J + fe : (ye += J + fe + gn, gn = 0), D.push({
            l: J,
            an: J,
            add: He,
            n: ge,
            anIndexes: [],
            val: ve,
            line: me,
            animatorJustifyOffset: 0
          }), Fe == 2) {
            if (He += J, ve === "" || ve === " " || W === V - 1) {
              for ((ve === "" || ve === " ") && (He -= J); tt <= W; )
                D[tt].an = He, D[tt].ind = De, D[tt].extra = J, tt += 1;
              De += 1, He = 0;
            }
          } else if (Fe == 3) {
            if (He += J, ve === "" || W === V - 1) {
              for (ve === "" && (He -= J); tt <= W; )
                D[tt].an = He, D[tt].ind = De, D[tt].extra = J, tt += 1;
              He = 0, De += 1;
            }
          } else
            D[De].ind = De, D[De].extra = 0, De += 1;
        if (f.l = D, Ee = ye > Ee ? ye : Ee, Oe.push(ye), f.sz)
          f.boxWidth = f.sz[0], f.justifyOffset = 0;
        else
          switch (f.boxWidth = Ee, f.j) {
            case 1:
              f.justifyOffset = -f.boxWidth;
              break;
            case 2:
              f.justifyOffset = -f.boxWidth / 2;
              break;
            default:
              f.justifyOffset = 0;
          }
        f.lineWidths = Oe;
        var Ye = E.a, Pe, ue;
        j = Ye.length;
        var Ie, It, pt = [];
        for (Ne = 0; Ne < j; Ne += 1) {
          for (Pe = Ye[Ne], Pe.a.sc && (f.strokeColorAnim = true), Pe.a.sw && (f.strokeWidthAnim = true), (Pe.a.fc || Pe.a.fh || Pe.a.fs || Pe.a.fb) && (f.fillColorAnim = true), It = 0, Ie = Pe.s.b, W = 0; W < V; W += 1)
            ue = D[W], ue.anIndexes[Ne] = It, (Ie == 1 && ue.val !== "" || Ie == 2 && ue.val !== "" && ue.val !== " " || Ie == 3 && (ue.n || ue.val == " " || W == V - 1) || Ie == 4 && (ue.n || W == V - 1)) && (Pe.s.rn === 1 && pt.push(It), It += 1);
          E.a[Ne].s.totalChars = It;
          var yn = -1, zn;
          if (Pe.s.rn === 1)
            for (W = 0; W < V; W += 1)
              ue = D[W], yn != ue.anIndexes[Ne] && (yn = ue.anIndexes[Ne], zn = pt.splice(Math.floor(Math.random() * pt.length), 1)[0]), ue.anIndexes[Ne] = zn;
        }
        f.yOffset = f.finalLineHeight || f.finalSize * 1.2, f.ls = f.ls || 0, f.ascent = ee.ascent * f.finalSize / 100;
      }, Zo.prototype.updateDocumentData = function(f, x) {
        x = x === void 0 ? this.keysIndex : x;
        var E = this.copyData({}, this.data.d.k[x].s);
        E = this.copyData(E, f), this.data.d.k[x].s = E, this.recalculate(x), this.elem.addDynamicProperty(this);
      }, Zo.prototype.recalculate = function(f) {
        var x = this.data.d.k[f].s;
        x.__complete = false, this.keysIndex = 0, this._isFirstFrame = true, this.getValue(x);
      }, Zo.prototype.canResizeFont = function(f) {
        this.canResize = f, this.recalculate(this.keysIndex), this.elem.addDynamicProperty(this);
      }, Zo.prototype.setMinimumFontSize = function(f) {
        this.minimumFontSize = Math.floor(f) || 1, this.recalculate(this.keysIndex), this.elem.addDynamicProperty(this);
      };
      var ol = (function() {
        var f = Math.max, x = Math.min, E = Math.floor;
        function D(V, ge) {
          this._currentTextLength = -1, this.k = false, this.data = ge, this.elem = V, this.comp = V.comp, this.finalS = 0, this.finalE = 0, this.initDynamicPropertyContainer(V), this.s = Wt.getProp(V, ge.s || {
            k: 0
          }, 0, 0, this), "e" in ge ? this.e = Wt.getProp(V, ge.e, 0, 0, this) : this.e = {
            v: 100
          }, this.o = Wt.getProp(V, ge.o || {
            k: 0
          }, 0, 0, this), this.xe = Wt.getProp(V, ge.xe || {
            k: 0
          }, 0, 0, this), this.ne = Wt.getProp(V, ge.ne || {
            k: 0
          }, 0, 0, this), this.sm = Wt.getProp(V, ge.sm || {
            k: 100
          }, 0, 0, this), this.a = Wt.getProp(V, ge.a, 0, 0.01, this), this.dynamicProperties.length || this.getValue();
        }
        D.prototype = {
          getMult: function(ge) {
            this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
            var De = 0, ve = 0, Fe = 1, He = 1;
            this.ne.v > 0 ? De = this.ne.v / 100 : ve = -this.ne.v / 100, this.xe.v > 0 ? Fe = 1 - this.xe.v / 100 : He = 1 + this.xe.v / 100;
            var tt = Ht.getBezierEasing(De, ve, Fe, He).get, me = 0, Oe = this.finalS, ye = this.finalE, Ee = this.data.sh;
            if (Ee === 2)
              ye === Oe ? me = ge >= ye ? 1 : 0 : me = f(0, x(0.5 / (ye - Oe) + (ge - Oe) / (ye - Oe), 1)), me = tt(me);
            else if (Ee === 3)
              ye === Oe ? me = ge >= ye ? 0 : 1 : me = 1 - f(0, x(0.5 / (ye - Oe) + (ge - Oe) / (ye - Oe), 1)), me = tt(me);
            else if (Ee === 4)
              ye === Oe ? me = 0 : (me = f(0, x(0.5 / (ye - Oe) + (ge - Oe) / (ye - Oe), 1)), me < 0.5 ? me *= 2 : me = 1 - 2 * (me - 0.5)), me = tt(me);
            else if (Ee === 5) {
              if (ye === Oe)
                me = 0;
              else {
                var Ne = ye - Oe;
                ge = x(f(0, ge + 0.5 - Oe), ye - Oe);
                var j = -Ne / 2 + ge, ee = Ne / 2;
                me = Math.sqrt(1 - j * j / (ee * ee));
              }
              me = tt(me);
            } else Ee === 6 ? (ye === Oe ? me = 0 : (ge = x(f(0, ge + 0.5 - Oe), ye - Oe), me = (1 + Math.cos(Math.PI + Math.PI * 2 * ge / (ye - Oe))) / 2), me = tt(me)) : (ge >= E(Oe) && (ge - Oe < 0 ? me = f(0, x(x(ye, 1) - (Oe - ge), 1)) : me = f(0, x(ye - ge, 1))), me = tt(me));
            if (this.sm.v !== 100) {
              var K = this.sm.v * 0.01;
              K === 0 && (K = 1e-8);
              var J = 0.5 - K * 0.5;
              me < J ? me = 0 : (me = (me - J) / K, me > 1 && (me = 1));
            }
            return me * this.a.v;
          },
          getValue: function(ge) {
            this.iterateDynamicProperties(), this._mdf = ge || this._mdf, this._currentTextLength = this.elem.textProperty.currentData.l.length || 0, ge && this.data.r === 2 && (this.e.v = this._currentTextLength);
            var De = this.data.r === 2 ? 1 : 100 / this.data.totalChars, ve = this.o.v / De, Fe = this.s.v / De + ve, He = this.e.v / De + ve;
            if (Fe > He) {
              var tt = Fe;
              Fe = He, He = tt;
            }
            this.finalS = Fe, this.finalE = He;
          }
        }, T([ir], D);
        function W(V, ge, De) {
          return new D(V, ge);
        }
        return {
          getTextSelectorProp: W
        };
      })();
      function Tl(f, x, E) {
        var D = {
          propType: false
        }, W = Wt.getProp, V = x.a;
        this.a = {
          r: V.r ? W(f, V.r, 0, pe, E) : D,
          rx: V.rx ? W(f, V.rx, 0, pe, E) : D,
          ry: V.ry ? W(f, V.ry, 0, pe, E) : D,
          sk: V.sk ? W(f, V.sk, 0, pe, E) : D,
          sa: V.sa ? W(f, V.sa, 0, pe, E) : D,
          s: V.s ? W(f, V.s, 1, 0.01, E) : D,
          a: V.a ? W(f, V.a, 1, 0, E) : D,
          o: V.o ? W(f, V.o, 0, 0.01, E) : D,
          p: V.p ? W(f, V.p, 1, 0, E) : D,
          sw: V.sw ? W(f, V.sw, 0, 0, E) : D,
          sc: V.sc ? W(f, V.sc, 1, 0, E) : D,
          fc: V.fc ? W(f, V.fc, 1, 0, E) : D,
          fh: V.fh ? W(f, V.fh, 0, 0, E) : D,
          fs: V.fs ? W(f, V.fs, 0, 0.01, E) : D,
          fb: V.fb ? W(f, V.fb, 0, 0.01, E) : D,
          t: V.t ? W(f, V.t, 0, 0, E) : D
        }, this.s = ol.getTextSelectorProp(f, x.s, E), this.s.t = x.s.t;
      }
      function Ko(f, x, E) {
        this._isFirstFrame = true, this._hasMaskedPath = false, this._frameId = -1, this._textData = f, this._renderType = x, this._elem = E, this._animatorsData = U(this._textData.a.length), this._pathData = {}, this._moreOptions = {
          alignment: {}
        }, this.renderedLetters = [], this.lettersChangedFlag = false, this.initDynamicPropertyContainer(E);
      }
      Ko.prototype.searchProperties = function() {
        var f, x = this._textData.a.length, E, D = Wt.getProp;
        for (f = 0; f < x; f += 1)
          E = this._textData.a[f], this._animatorsData[f] = new Tl(this._elem, E, this);
        this._textData.p && "m" in this._textData.p ? (this._pathData = {
          a: D(this._elem, this._textData.p.a, 0, 0, this),
          f: D(this._elem, this._textData.p.f, 0, 0, this),
          l: D(this._elem, this._textData.p.l, 0, 0, this),
          r: D(this._elem, this._textData.p.r, 0, 0, this),
          p: D(this._elem, this._textData.p.p, 0, 0, this),
          m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
        }, this._hasMaskedPath = true) : this._hasMaskedPath = false, this._moreOptions.alignment = D(this._elem, this._textData.m.a, 1, 0, this);
      }, Ko.prototype.getMeasures = function(f, x) {
        if (this.lettersChangedFlag = x, !(!this._mdf && !this._isFirstFrame && !x && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
          this._isFirstFrame = false;
          var E = this._moreOptions.alignment.v, D = this._animatorsData, W = this._textData, V = this.mHelper, ge = this._renderType, De = this.renderedLetters.length, ve, Fe, He, tt, me = f.l, Oe, ye, Ee, Ne, j, ee, K, J, se, fe, Ce, Se, ft, tn, qt;
          if (this._hasMaskedPath) {
            if (qt = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
              var Gt = qt.v;
              this._pathData.r.v && (Gt = Gt.reverse()), Oe = {
                tLength: 0,
                segments: []
              }, tt = Gt._length - 1;
              var vn;
              for (Se = 0, He = 0; He < tt; He += 1)
                vn = hr.buildBezierData(Gt.v[He], Gt.v[He + 1], [Gt.o[He][0] - Gt.v[He][0], Gt.o[He][1] - Gt.v[He][1]], [Gt.i[He + 1][0] - Gt.v[He + 1][0], Gt.i[He + 1][1] - Gt.v[He + 1][1]]), Oe.tLength += vn.segmentLength, Oe.segments.push(vn), Se += vn.segmentLength;
              He = tt, qt.v.c && (vn = hr.buildBezierData(Gt.v[He], Gt.v[0], [Gt.o[He][0] - Gt.v[He][0], Gt.o[He][1] - Gt.v[He][1]], [Gt.i[0][0] - Gt.v[0][0], Gt.i[0][1] - Gt.v[0][1]]), Oe.tLength += vn.segmentLength, Oe.segments.push(vn), Se += vn.segmentLength), this._pathData.pi = Oe;
            }
            if (Oe = this._pathData.pi, ye = this._pathData.f.v, K = 0, ee = 1, Ne = 0, j = true, fe = Oe.segments, ye < 0 && qt.v.c)
              for (Oe.tLength < Math.abs(ye) && (ye = -Math.abs(ye) % Oe.tLength), K = fe.length - 1, se = fe[K].points, ee = se.length - 1; ye < 0; )
                ye += se[ee].partialLength, ee -= 1, ee < 0 && (K -= 1, se = fe[K].points, ee = se.length - 1);
            se = fe[K].points, J = se[ee - 1], Ee = se[ee], Ce = Ee.partialLength;
          }
          tt = me.length, ve = 0, Fe = 0;
          var gn = f.finalSize * 1.2 * 0.714, Et = true, Ye, Pe, ue, Ie, It;
          Ie = D.length;
          var pt, yn = -1, zn, Bn, sr, Vr = ye, fo = K, zi = ee, Ii = -1, ho, So, Br, mn, xo, Wi, Qa, Ui, po = "", lo = this.defaultPropsArray, Hi;
          if (f.j === 2 || f.j === 1) {
            var rr = 0, pr = 0, ta = f.j === 2 ? -0.5 : -1, Mi = 0, ja = true;
            for (He = 0; He < tt; He += 1)
              if (me[He].n) {
                for (rr && (rr += pr); Mi < He; )
                  me[Mi].animatorJustifyOffset = rr, Mi += 1;
                rr = 0, ja = true;
              } else {
                for (ue = 0; ue < Ie; ue += 1)
                  Ye = D[ue].a, Ye.t.propType && (ja && f.j === 2 && (pr += Ye.t.v * ta), Pe = D[ue].s, pt = Pe.getMult(me[He].anIndexes[ue], W.a[ue].s.totalChars), pt.length ? rr += Ye.t.v * pt[0] * ta : rr += Ye.t.v * pt * ta);
                ja = false;
              }
            for (rr && (rr += pr); Mi < He; )
              me[Mi].animatorJustifyOffset = rr, Mi += 1;
          }
          for (He = 0; He < tt; He += 1) {
            if (V.reset(), ho = 1, me[He].n)
              ve = 0, Fe += f.yOffset, Fe += Et ? 1 : 0, ye = Vr, Et = false, this._hasMaskedPath && (K = fo, ee = zi, se = fe[K].points, J = se[ee - 1], Ee = se[ee], Ce = Ee.partialLength, Ne = 0), po = "", Ui = "", Wi = "", Hi = "", lo = this.defaultPropsArray;
            else {
              if (this._hasMaskedPath) {
                if (Ii !== me[He].line) {
                  switch (f.j) {
                    case 1:
                      ye += Se - f.lineWidths[me[He].line];
                      break;
                    case 2:
                      ye += (Se - f.lineWidths[me[He].line]) / 2;
                      break;
                  }
                  Ii = me[He].line;
                }
                yn !== me[He].ind && (me[yn] && (ye += me[yn].extra), ye += me[He].an / 2, yn = me[He].ind), ye += E[0] * me[He].an * 5e-3;
                var Oi = 0;
                for (ue = 0; ue < Ie; ue += 1)
                  Ye = D[ue].a, Ye.p.propType && (Pe = D[ue].s, pt = Pe.getMult(me[He].anIndexes[ue], W.a[ue].s.totalChars), pt.length ? Oi += Ye.p.v[0] * pt[0] : Oi += Ye.p.v[0] * pt), Ye.a.propType && (Pe = D[ue].s, pt = Pe.getMult(me[He].anIndexes[ue], W.a[ue].s.totalChars), pt.length ? Oi += Ye.a.v[0] * pt[0] : Oi += Ye.a.v[0] * pt);
                for (j = true, this._pathData.a.v && (ye = me[0].an * 0.5 + (Se - this._pathData.f.v - me[0].an * 0.5 - me[me.length - 1].an * 0.5) * yn / (tt - 1), ye += this._pathData.f.v); j; )
                  Ne + Ce >= ye + Oi || !se ? (ft = (ye + Oi - Ne) / Ee.partialLength, Bn = J.point[0] + (Ee.point[0] - J.point[0]) * ft, sr = J.point[1] + (Ee.point[1] - J.point[1]) * ft, V.translate(-E[0] * me[He].an * 5e-3, -(E[1] * gn) * 0.01), j = false) : se && (Ne += Ee.partialLength, ee += 1, ee >= se.length && (ee = 0, K += 1, fe[K] ? se = fe[K].points : qt.v.c ? (ee = 0, K = 0, se = fe[K].points) : (Ne -= Ee.partialLength, se = null)), se && (J = Ee, Ee = se[ee], Ce = Ee.partialLength));
                zn = me[He].an / 2 - me[He].add, V.translate(-zn, 0, 0);
              } else
                zn = me[He].an / 2 - me[He].add, V.translate(-zn, 0, 0), V.translate(-E[0] * me[He].an * 5e-3, -E[1] * gn * 0.01, 0);
              for (ue = 0; ue < Ie; ue += 1)
                Ye = D[ue].a, Ye.t.propType && (Pe = D[ue].s, pt = Pe.getMult(me[He].anIndexes[ue], W.a[ue].s.totalChars), (ve !== 0 || f.j !== 0) && (this._hasMaskedPath ? pt.length ? ye += Ye.t.v * pt[0] : ye += Ye.t.v * pt : pt.length ? ve += Ye.t.v * pt[0] : ve += Ye.t.v * pt));
              for (f.strokeWidthAnim && (Br = f.sw || 0), f.strokeColorAnim && (f.sc ? So = [f.sc[0], f.sc[1], f.sc[2]] : So = [0, 0, 0]), f.fillColorAnim && f.fc && (mn = [f.fc[0], f.fc[1], f.fc[2]]), ue = 0; ue < Ie; ue += 1)
                Ye = D[ue].a, Ye.a.propType && (Pe = D[ue].s, pt = Pe.getMult(me[He].anIndexes[ue], W.a[ue].s.totalChars), pt.length ? V.translate(-Ye.a.v[0] * pt[0], -Ye.a.v[1] * pt[1], Ye.a.v[2] * pt[2]) : V.translate(-Ye.a.v[0] * pt, -Ye.a.v[1] * pt, Ye.a.v[2] * pt));
              for (ue = 0; ue < Ie; ue += 1)
                Ye = D[ue].a, Ye.s.propType && (Pe = D[ue].s, pt = Pe.getMult(me[He].anIndexes[ue], W.a[ue].s.totalChars), pt.length ? V.scale(1 + (Ye.s.v[0] - 1) * pt[0], 1 + (Ye.s.v[1] - 1) * pt[1], 1) : V.scale(1 + (Ye.s.v[0] - 1) * pt, 1 + (Ye.s.v[1] - 1) * pt, 1));
              for (ue = 0; ue < Ie; ue += 1) {
                if (Ye = D[ue].a, Pe = D[ue].s, pt = Pe.getMult(me[He].anIndexes[ue], W.a[ue].s.totalChars), Ye.sk.propType && (pt.length ? V.skewFromAxis(-Ye.sk.v * pt[0], Ye.sa.v * pt[1]) : V.skewFromAxis(-Ye.sk.v * pt, Ye.sa.v * pt)), Ye.r.propType && (pt.length ? V.rotateZ(-Ye.r.v * pt[2]) : V.rotateZ(-Ye.r.v * pt)), Ye.ry.propType && (pt.length ? V.rotateY(Ye.ry.v * pt[1]) : V.rotateY(Ye.ry.v * pt)), Ye.rx.propType && (pt.length ? V.rotateX(Ye.rx.v * pt[0]) : V.rotateX(Ye.rx.v * pt)), Ye.o.propType && (pt.length ? ho += (Ye.o.v * pt[0] - ho) * pt[0] : ho += (Ye.o.v * pt - ho) * pt), f.strokeWidthAnim && Ye.sw.propType && (pt.length ? Br += Ye.sw.v * pt[0] : Br += Ye.sw.v * pt), f.strokeColorAnim && Ye.sc.propType)
                  for (xo = 0; xo < 3; xo += 1)
                    pt.length ? So[xo] += (Ye.sc.v[xo] - So[xo]) * pt[0] : So[xo] += (Ye.sc.v[xo] - So[xo]) * pt;
                if (f.fillColorAnim && f.fc) {
                  if (Ye.fc.propType)
                    for (xo = 0; xo < 3; xo += 1)
                      pt.length ? mn[xo] += (Ye.fc.v[xo] - mn[xo]) * pt[0] : mn[xo] += (Ye.fc.v[xo] - mn[xo]) * pt;
                  Ye.fh.propType && (pt.length ? mn = Ge(mn, Ye.fh.v * pt[0]) : mn = Ge(mn, Ye.fh.v * pt)), Ye.fs.propType && (pt.length ? mn = Ue(mn, Ye.fs.v * pt[0]) : mn = Ue(mn, Ye.fs.v * pt)), Ye.fb.propType && (pt.length ? mn = We(mn, Ye.fb.v * pt[0]) : mn = We(mn, Ye.fb.v * pt));
                }
              }
              for (ue = 0; ue < Ie; ue += 1)
                Ye = D[ue].a, Ye.p.propType && (Pe = D[ue].s, pt = Pe.getMult(me[He].anIndexes[ue], W.a[ue].s.totalChars), this._hasMaskedPath ? pt.length ? V.translate(0, Ye.p.v[1] * pt[0], -Ye.p.v[2] * pt[1]) : V.translate(0, Ye.p.v[1] * pt, -Ye.p.v[2] * pt) : pt.length ? V.translate(Ye.p.v[0] * pt[0], Ye.p.v[1] * pt[1], -Ye.p.v[2] * pt[2]) : V.translate(Ye.p.v[0] * pt, Ye.p.v[1] * pt, -Ye.p.v[2] * pt));
              if (f.strokeWidthAnim && (Wi = Br < 0 ? 0 : Br), f.strokeColorAnim && (Qa = "rgb(" + Math.round(So[0] * 255) + "," + Math.round(So[1] * 255) + "," + Math.round(So[2] * 255) + ")"), f.fillColorAnim && f.fc && (Ui = "rgb(" + Math.round(mn[0] * 255) + "," + Math.round(mn[1] * 255) + "," + Math.round(mn[2] * 255) + ")"), this._hasMaskedPath) {
                if (V.translate(0, -f.ls), V.translate(0, E[1] * gn * 0.01 + Fe, 0), this._pathData.p.v) {
                  tn = (Ee.point[1] - J.point[1]) / (Ee.point[0] - J.point[0]);
                  var $s = Math.atan(tn) * 180 / Math.PI;
                  Ee.point[0] < J.point[0] && ($s += 180), V.rotate(-$s * Math.PI / 180);
                }
                V.translate(Bn, sr, 0), ye -= E[0] * me[He].an * 5e-3, me[He + 1] && yn !== me[He + 1].ind && (ye += me[He].an / 2, ye += f.tr * 1e-3 * f.finalSize);
              } else {
                switch (V.translate(ve, Fe, 0), f.ps && V.translate(f.ps[0], f.ps[1] + f.ascent, 0), f.j) {
                  case 1:
                    V.translate(me[He].animatorJustifyOffset + f.justifyOffset + (f.boxWidth - f.lineWidths[me[He].line]), 0, 0);
                    break;
                  case 2:
                    V.translate(me[He].animatorJustifyOffset + f.justifyOffset + (f.boxWidth - f.lineWidths[me[He].line]) / 2, 0, 0);
                    break;
                }
                V.translate(0, -f.ls), V.translate(zn, 0, 0), V.translate(E[0] * me[He].an * 5e-3, E[1] * gn * 0.01, 0), ve += me[He].l + f.tr * 1e-3 * f.finalSize;
              }
              ge === "html" ? po = V.toCSS() : ge === "svg" ? po = V.to2dCSS() : lo = [V.props[0], V.props[1], V.props[2], V.props[3], V.props[4], V.props[5], V.props[6], V.props[7], V.props[8], V.props[9], V.props[10], V.props[11], V.props[12], V.props[13], V.props[14], V.props[15]], Hi = ho;
            }
            De <= He ? (It = new Za(Hi, Wi, Qa, Ui, po, lo), this.renderedLetters.push(It), De += 1, this.lettersChangedFlag = true) : (It = this.renderedLetters[He], this.lettersChangedFlag = It.update(Hi, Wi, Qa, Ui, po, lo) || this.lettersChangedFlag);
          }
        }
      }, Ko.prototype.getValue = function() {
        this._elem.globalData.frameId !== this._frameId && (this._frameId = this._elem.globalData.frameId, this.iterateDynamicProperties());
      }, Ko.prototype.mHelper = new bn(), Ko.prototype.defaultPropsArray = [], T([ir], Ko);
      function Ci() {
      }
      Ci.prototype.initElement = function(f, x, E) {
        this.lettersChangedFlag = true, this.initFrame(), this.initBaseData(f, x, E), this.textProperty = new Zo(this, f.t, this.dynamicProperties), this.textAnimator = new Ko(f.t, this.renderType, this), this.initTransform(f, x, E), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide(), this.textAnimator.searchProperties(this.dynamicProperties);
      }, Ci.prototype.prepareFrame = function(f) {
        this._mdf = false, this.prepareRenderableFrame(f), this.prepareProperties(f, this.isInRange), (this.textProperty._mdf || this.textProperty._isFirstFrame) && (this.buildNewText(), this.textProperty._isFirstFrame = false, this.textProperty._mdf = false);
      }, Ci.prototype.createPathShape = function(f, x) {
        var E, D = x.length, W, V = "";
        for (E = 0; E < D; E += 1)
          x[E].ty === "sh" && (W = x[E].ks.k, V += ms(W, W.i.length, true, f));
        return V;
      }, Ci.prototype.updateDocumentData = function(f, x) {
        this.textProperty.updateDocumentData(f, x);
      }, Ci.prototype.canResizeFont = function(f) {
        this.textProperty.canResizeFont(f);
      }, Ci.prototype.setMinimumFontSize = function(f) {
        this.textProperty.setMinimumFontSize(f);
      }, Ci.prototype.applyTextPropertiesToMatrix = function(f, x, E, D, W) {
        switch (f.ps && x.translate(f.ps[0], f.ps[1] + f.ascent, 0), x.translate(0, -f.ls, 0), f.j) {
          case 1:
            x.translate(f.justifyOffset + (f.boxWidth - f.lineWidths[E]), 0, 0);
            break;
          case 2:
            x.translate(f.justifyOffset + (f.boxWidth - f.lineWidths[E]) / 2, 0, 0);
            break;
        }
        x.translate(D, W, 0);
      }, Ci.prototype.buildColor = function(f) {
        return "rgb(" + Math.round(f[0] * 255) + "," + Math.round(f[1] * 255) + "," + Math.round(f[2] * 255) + ")";
      }, Ci.prototype.emptyProp = new Za(), Ci.prototype.destroy = function() {
      };
      var Ka = {
        shapes: []
      };
      function Ja(f, x, E) {
        this.textSpans = [], this.renderType = "svg", this.initElement(f, x, E);
      }
      T([Oa, fs, Lr, rl, Ya, Ta, Ci], Ja), Ja.prototype.createContent = function() {
        this.data.singleShape && !this.globalData.fontManager.chars && (this.textContainer = ct("text"));
      }, Ja.prototype.buildTextContents = function(f) {
        for (var x = 0, E = f.length, D = [], W = ""; x < E; )
          f[x] === "\r" || f[x] === "" ? (D.push(W), W = "") : W += f[x], x += 1;
        return D.push(W), D;
      }, Ja.prototype.buildShapeData = function(f, x) {
        if (f.shapes && f.shapes.length) {
          var E = f.shapes[0];
          if (E.it) {
            var D = E.it[E.it.length - 1];
            D.s && (D.s.k[0] = x, D.s.k[1] = x);
          }
        }
        return f;
      }, Ja.prototype.buildNewText = function() {
        this.addDynamicProperty(this);
        var f, x, E = this.textProperty.currentData;
        this.renderedLetters = U(E ? E.l.length : 0), E.fc ? this.layerElement.setAttribute("fill", this.buildColor(E.fc)) : this.layerElement.setAttribute("fill", "rgba(0,0,0,0)"), E.sc && (this.layerElement.setAttribute("stroke", this.buildColor(E.sc)), this.layerElement.setAttribute("stroke-width", E.sw)), this.layerElement.setAttribute("font-size", E.finalSize);
        var D = this.globalData.fontManager.getFontByName(E.f);
        if (D.fClass)
          this.layerElement.setAttribute("class", D.fClass);
        else {
          this.layerElement.setAttribute("font-family", D.fFamily);
          var W = E.fWeight, V = E.fStyle;
          this.layerElement.setAttribute("font-style", V), this.layerElement.setAttribute("font-weight", W);
        }
        this.layerElement.setAttribute("aria-label", E.t);
        var ge = E.l || [], De = !!this.globalData.fontManager.chars;
        x = ge.length;
        var ve, Fe = this.mHelper, He = "", tt = this.data.singleShape, me = 0, Oe = 0, ye = true, Ee = E.tr * 1e-3 * E.finalSize;
        if (tt && !De && !E.sz) {
          var Ne = this.textContainer, j = "start";
          switch (E.j) {
            case 1:
              j = "end";
              break;
            case 2:
              j = "middle";
              break;
            default:
              j = "start";
              break;
          }
          Ne.setAttribute("text-anchor", j), Ne.setAttribute("letter-spacing", Ee);
          var ee = this.buildTextContents(E.finalText);
          for (x = ee.length, Oe = E.ps ? E.ps[1] + E.ascent : 0, f = 0; f < x; f += 1)
            ve = this.textSpans[f].span || ct("tspan"), ve.textContent = ee[f], ve.setAttribute("x", 0), ve.setAttribute("y", Oe), ve.style.display = "inherit", Ne.appendChild(ve), this.textSpans[f] || (this.textSpans[f] = {
              span: null,
              glyph: null
            }), this.textSpans[f].span = ve, Oe += E.finalLineHeight;
          this.layerElement.appendChild(Ne);
        } else {
          var K = this.textSpans.length, J;
          for (f = 0; f < x; f += 1) {
            if (this.textSpans[f] || (this.textSpans[f] = {
              span: null,
              childSpan: null,
              glyph: null
            }), !De || !tt || f === 0) {
              if (ve = K > f ? this.textSpans[f].span : ct(De ? "g" : "text"), K <= f) {
                if (ve.setAttribute("stroke-linecap", "butt"), ve.setAttribute("stroke-linejoin", "round"), ve.setAttribute("stroke-miterlimit", "4"), this.textSpans[f].span = ve, De) {
                  var se = ct("g");
                  ve.appendChild(se), this.textSpans[f].childSpan = se;
                }
                this.textSpans[f].span = ve, this.layerElement.appendChild(ve);
              }
              ve.style.display = "inherit";
            }
            if (Fe.reset(), tt && (ge[f].n && (me = -Ee, Oe += E.yOffset, Oe += ye ? 1 : 0, ye = false), this.applyTextPropertiesToMatrix(E, Fe, ge[f].line, me, Oe), me += ge[f].l || 0, me += Ee), De) {
              J = this.globalData.fontManager.getCharData(E.finalText[f], D.fStyle, this.globalData.fontManager.getFontByName(E.f).fFamily);
              var fe;
              if (J.t === 1)
                fe = new ys(J.data, this.globalData, this);
              else {
                var Ce = Ka;
                J.data && J.data.shapes && (Ce = this.buildShapeData(J.data, E.finalSize)), fe = new jr(Ce, this.globalData, this);
              }
              if (this.textSpans[f].glyph) {
                var Se = this.textSpans[f].glyph;
                this.textSpans[f].childSpan.removeChild(Se.layerElement), Se.destroy();
              }
              this.textSpans[f].glyph = fe, fe._debug = true, fe.prepareFrame(0), fe.renderFrame(), this.textSpans[f].childSpan.appendChild(fe.layerElement), J.t === 1 && this.textSpans[f].childSpan.setAttribute("transform", "scale(" + E.finalSize / 100 + "," + E.finalSize / 100 + ")");
            } else
              tt && ve.setAttribute("transform", "translate(" + Fe.props[12] + "," + Fe.props[13] + ")"), ve.textContent = ge[f].val, ve.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
          }
          tt && ve && ve.setAttribute("d", He);
        }
        for (; f < this.textSpans.length; )
          this.textSpans[f].span.style.display = "none", f += 1;
        this._sizeChanged = true;
      }, Ja.prototype.sourceRectAtTime = function() {
        if (this.prepareFrame(this.comp.renderedFrame - this.data.st), this.renderInnerContent(), this._sizeChanged) {
          this._sizeChanged = false;
          var f = this.layerElement.getBBox();
          this.bbox = {
            top: f.y,
            left: f.x,
            width: f.width,
            height: f.height
          };
        }
        return this.bbox;
      }, Ja.prototype.getValue = function() {
        var f, x = this.textSpans.length, E;
        for (this.renderedFrame = this.comp.renderedFrame, f = 0; f < x; f += 1)
          E = this.textSpans[f].glyph, E && (E.prepareFrame(this.comp.renderedFrame - this.data.st), E._mdf && (this._mdf = true));
      }, Ja.prototype.renderInnerContent = function() {
        if ((!this.data.singleShape || this._mdf) && (this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag), this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)) {
          this._sizeChanged = true;
          var f, x, E = this.textAnimator.renderedLetters, D = this.textProperty.currentData.l;
          x = D.length;
          var W, V, ge;
          for (f = 0; f < x; f += 1)
            D[f].n || (W = E[f], V = this.textSpans[f].span, ge = this.textSpans[f].glyph, ge && ge.renderFrame(), W._mdf.m && V.setAttribute("transform", W.m), W._mdf.o && V.setAttribute("opacity", W.o), W._mdf.sw && V.setAttribute("stroke-width", W.sw), W._mdf.sc && V.setAttribute("stroke", W.sc), W._mdf.fc && V.setAttribute("fill", W.fc));
        }
      };
      function fu(f, x, E) {
        this.initElement(f, x, E);
      }
      T([Bi], fu), fu.prototype.createContent = function() {
        var f = ct("rect");
        f.setAttribute("width", this.data.sw), f.setAttribute("height", this.data.sh), f.setAttribute("fill", this.data.sc), this.layerElement.appendChild(f);
      };
      function vs(f, x, E) {
        this.initFrame(), this.initBaseData(f, x, E), this.initFrame(), this.initTransform(f, x, E), this.initHierarchy();
      }
      vs.prototype.prepareFrame = function(f) {
        this.prepareProperties(f, true);
      }, vs.prototype.renderFrame = function() {
      }, vs.prototype.getBaseElement = function() {
        return null;
      }, vs.prototype.destroy = function() {
      }, vs.prototype.sourceRectAtTime = function() {
      }, vs.prototype.hide = function() {
      }, T([Oa, fs, rl, Ya], vs);
      function zo() {
      }
      T([Ei], zo), zo.prototype.createNull = function(f) {
        return new vs(f, this.globalData, this);
      }, zo.prototype.createShape = function(f) {
        return new jr(f, this.globalData, this);
      }, zo.prototype.createText = function(f) {
        return new Ja(f, this.globalData, this);
      }, zo.prototype.createImage = function(f) {
        return new Bi(f, this.globalData, this);
      }, zo.prototype.createSolid = function(f) {
        return new fu(f, this.globalData, this);
      }, zo.prototype.configAnimation = function(f) {
        this.svgElement.setAttribute("xmlns", "http://www.w3.org/2000/svg"), this.renderConfig.viewBoxSize ? this.svgElement.setAttribute("viewBox", this.renderConfig.viewBoxSize) : this.svgElement.setAttribute("viewBox", "0 0 " + f.w + " " + f.h), this.renderConfig.viewBoxOnly || (this.svgElement.setAttribute("width", f.w), this.svgElement.setAttribute("height", f.h), this.svgElement.style.width = "100%", this.svgElement.style.height = "100%", this.svgElement.style.transform = "translate3d(0,0,0)", this.svgElement.style.contentVisibility = this.renderConfig.contentVisibility), this.renderConfig.width && this.svgElement.setAttribute("width", this.renderConfig.width), this.renderConfig.height && this.svgElement.setAttribute("height", this.renderConfig.height), this.renderConfig.className && this.svgElement.setAttribute("class", this.renderConfig.className), this.renderConfig.id && this.svgElement.setAttribute("id", this.renderConfig.id), this.renderConfig.focusable !== void 0 && this.svgElement.setAttribute("focusable", this.renderConfig.focusable), this.svgElement.setAttribute("preserveAspectRatio", this.renderConfig.preserveAspectRatio), this.animationItem.wrapper.appendChild(this.svgElement);
        var x = this.globalData.defs;
        this.setupGlobalData(f, x), this.globalData.progressiveLoad = this.renderConfig.progressiveLoad, this.data = f;
        var E = ct("clipPath"), D = ct("rect");
        D.setAttribute("width", f.w), D.setAttribute("height", f.h), D.setAttribute("x", 0), D.setAttribute("y", 0);
        var W = ut();
        E.setAttribute("id", W), E.appendChild(D), this.layerElement.setAttribute("clip-path", "url(" + y() + "#" + W + ")"), x.appendChild(E), this.layers = f.layers, this.elements = U(f.layers.length);
      }, zo.prototype.destroy = function() {
        this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ""), this.layerElement = null, this.globalData.defs = null;
        var f, x = this.layers ? this.layers.length : 0;
        for (f = 0; f < x; f += 1)
          this.elements[f] && this.elements[f].destroy();
        this.elements.length = 0, this.destroyed = true, this.animationItem = null;
      }, zo.prototype.updateContainerSize = function() {
      }, zo.prototype.buildItem = function(f) {
        var x = this.elements;
        if (!(x[f] || this.layers[f].ty === 99)) {
          x[f] = true;
          var E = this.createItem(this.layers[f]);
          x[f] = E, Ke() && (this.layers[f].ty === 0 && this.globalData.projectInterface.registerComposition(E), E.initExpressions()), this.appendElementInPos(E, f), this.layers[f].tt && (!this.elements[f - 1] || this.elements[f - 1] === true ? (this.buildItem(f - 1), this.addPendingElement(E)) : E.setMatte(x[f - 1].layerId));
        }
      }, zo.prototype.checkPendingElements = function() {
        for (; this.pendingElements.length; ) {
          var f = this.pendingElements.pop();
          if (f.checkParenting(), f.data.tt)
            for (var x = 0, E = this.elements.length; x < E; ) {
              if (this.elements[x] === f) {
                f.setMatte(this.elements[x - 1].layerId);
                break;
              }
              x += 1;
            }
        }
      }, zo.prototype.renderFrame = function(f) {
        if (!(this.renderedFrame === f || this.destroyed)) {
          f === null ? f = this.renderedFrame : this.renderedFrame = f, this.globalData.frameNum = f, this.globalData.frameId += 1, this.globalData.projectInterface.currentFrame = f, this.globalData._mdf = false;
          var x, E = this.layers.length;
          for (this.completeLayers || this.checkLayers(f), x = E - 1; x >= 0; x -= 1)
            (this.completeLayers || this.elements[x]) && this.elements[x].prepareFrame(f - this.layers[x].st);
          if (this.globalData._mdf)
            for (x = 0; x < E; x += 1)
              (this.completeLayers || this.elements[x]) && this.elements[x].renderFrame();
        }
      }, zo.prototype.appendElementInPos = function(f, x) {
        var E = f.getBaseElement();
        if (E) {
          for (var D = 0, W; D < x; )
            this.elements[D] && this.elements[D] !== true && this.elements[D].getBaseElement() && (W = this.elements[D].getBaseElement()), D += 1;
          W ? this.layerElement.insertBefore(E, W) : this.layerElement.appendChild(E);
        }
      }, zo.prototype.hide = function() {
        this.layerElement.style.display = "none";
      }, zo.prototype.show = function() {
        this.layerElement.style.display = "block";
      };
      function ea() {
      }
      T([Oa, fs, rl, Ya, Ta], ea), ea.prototype.initElement = function(f, x, E) {
        this.initFrame(), this.initBaseData(f, x, E), this.initTransform(f, x, E), this.initRenderable(), this.initHierarchy(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), (this.data.xt || !x.progressiveLoad) && this.buildAllItems(), this.hide();
      }, ea.prototype.prepareFrame = function(f) {
        if (this._mdf = false, this.prepareRenderableFrame(f), this.prepareProperties(f, this.isInRange), !(!this.isInRange && !this.data.xt)) {
          if (this.tm._placeholder)
            this.renderedFrame = f / this.data.sr;
          else {
            var x = this.tm.v;
            x === this.data.op && (x = this.data.op - 1), this.renderedFrame = x;
          }
          var E, D = this.elements.length;
          for (this.completeLayers || this.checkLayers(this.renderedFrame), E = D - 1; E >= 0; E -= 1)
            (this.completeLayers || this.elements[E]) && (this.elements[E].prepareFrame(this.renderedFrame - this.layers[E].st), this.elements[E]._mdf && (this._mdf = true));
        }
      }, ea.prototype.renderInnerContent = function() {
        var f, x = this.layers.length;
        for (f = 0; f < x; f += 1)
          (this.completeLayers || this.elements[f]) && this.elements[f].renderFrame();
      }, ea.prototype.setElements = function(f) {
        this.elements = f;
      }, ea.prototype.getElements = function() {
        return this.elements;
      }, ea.prototype.destroyElements = function() {
        var f, x = this.layers.length;
        for (f = 0; f < x; f += 1)
          this.elements[f] && this.elements[f].destroy();
      }, ea.prototype.destroy = function() {
        this.destroyElements(), this.destroyBaseElement();
      };
      function ys(f, x, E) {
        this.layers = f.layers, this.supports3d = true, this.completeLayers = false, this.pendingElements = [], this.elements = this.layers ? U(this.layers.length) : [], this.initElement(f, x, E), this.tm = f.tm ? Wt.getProp(this, f.tm, 0, x.frameRate, this) : {
          _placeholder: true
        };
      }
      T([zo, ea, Lr], ys), ys.prototype.createComp = function(f) {
        return new ys(f, this.globalData, this);
      };
      function Jo(f, x) {
        this.animationItem = f, this.layers = null, this.renderedFrame = -1, this.svgElement = ct("svg");
        var E = "";
        if (x && x.title) {
          var D = ct("title"), W = ut();
          D.setAttribute("id", W), D.textContent = x.title, this.svgElement.appendChild(D), E += W;
        }
        if (x && x.description) {
          var V = ct("desc"), ge = ut();
          V.setAttribute("id", ge), V.textContent = x.description, this.svgElement.appendChild(V), E += " " + ge;
        }
        E && this.svgElement.setAttribute("aria-labelledby", E);
        var De = ct("defs");
        this.svgElement.appendChild(De);
        var ve = ct("g");
        this.svgElement.appendChild(ve), this.layerElement = ve, this.renderConfig = {
          preserveAspectRatio: x && x.preserveAspectRatio || "xMidYMid meet",
          imagePreserveAspectRatio: x && x.imagePreserveAspectRatio || "xMidYMid slice",
          contentVisibility: x && x.contentVisibility || "visible",
          progressiveLoad: x && x.progressiveLoad || false,
          hideOnTransparent: !(x && x.hideOnTransparent === false),
          viewBoxOnly: x && x.viewBoxOnly || false,
          viewBoxSize: x && x.viewBoxSize || false,
          className: x && x.className || "",
          id: x && x.id || "",
          focusable: x && x.focusable,
          filterSize: {
            width: x && x.filterSize && x.filterSize.width || "100%",
            height: x && x.filterSize && x.filterSize.height || "100%",
            x: x && x.filterSize && x.filterSize.x || "0%",
            y: x && x.filterSize && x.filterSize.y || "0%"
          },
          width: x && x.width,
          height: x && x.height
        }, this.globalData = {
          _mdf: false,
          frameNum: -1,
          defs: De,
          renderConfig: this.renderConfig
        }, this.elements = [], this.pendingElements = [], this.destroyed = false, this.rendererType = "svg";
      }
      return T([zo], Jo), Jo.prototype.createComp = function(f) {
        return new ys(f, this.globalData, this);
      }, dn("svg", Jo), qo.registerModifier("tm", At), qo.registerModifier("pb", it), qo.registerModifier("rp", un), qo.registerModifier("rd", dt), Mn;
    }));
  })(W0, W0.exports)), W0.exports;
}
var a4e = i4e();
const s4e = /* @__PURE__ */ jc(a4e), l4e = (e10, t) => {
  const {
    animationData: n,
    loop: r,
    autoplay: o,
    initialSegment: i,
    onComplete: u,
    onLoopComplete: p,
    onEnterFrame: v,
    onSegmentStart: y,
    onConfigReady: k,
    onDataReady: T,
    onDataFailed: R,
    onLoadedImages: I,
    onDOMLoaded: P,
    onDestroy: S,
    // Specified here to take them out from the 'rest'
    lottieRef: U,
    renderer: B,
    name: X,
    assetsPath: Z,
    rendererSettings: te,
    // TODO: find a better way to extract the html props to avoid specifying
    //  all the props that we want to exclude (as you can see above)
    ...Q
  } = e10, [q, F] = reactExports.useState(false), ne = reactExports.useRef(null), ae = reactExports.useRef(null), pe = () => {
    var We;
    (We = ne.current) == null || We.play();
  }, Ve = () => {
    var We;
    (We = ne.current) == null || We.stop();
  }, we = () => {
    var We;
    (We = ne.current) == null || We.pause();
  }, Te = (We) => {
    var Ge;
    (Ge = ne.current) == null || Ge.setSpeed(We);
  }, be = (We, Ge) => {
    var Ze;
    (Ze = ne.current) == null || Ze.goToAndPlay(We, Ge);
  }, ie = (We, Ge) => {
    var Ze;
    (Ze = ne.current) == null || Ze.goToAndStop(We, Ge);
  }, de = (We) => {
    var Ge;
    (Ge = ne.current) == null || Ge.setDirection(We);
  }, ze = (We, Ge) => {
    var Ze;
    (Ze = ne.current) == null || Ze.playSegments(We, Ge);
  }, nt = (We) => {
    var Ge;
    (Ge = ne.current) == null || Ge.setSubframe(We);
  }, ut = (We) => {
    var Ge;
    return (Ge = ne.current) == null ? void 0 : Ge.getDuration(We);
  }, Le = () => {
    var We;
    (We = ne.current) == null || We.destroy(), ne.current = void 0;
  }, oe = (We = {}) => {
    var _e;
    if (!ae.current)
      return;
    (_e = ne.current) == null || _e.destroy();
    const Ge = n && JSON.parse(JSON.stringify(n)), Ze = {
      ...e10,
      ...We,
      animationData: Ge,
      container: ae.current
    };
    return ne.current = s4e.loadAnimation(Ze), F(!!ne.current), () => {
      var st;
      (st = ne.current) == null || st.destroy(), ne.current = void 0;
    };
  };
  return reactExports.useEffect(() => {
    const We = oe();
    return () => We == null ? void 0 : We();
  }, [n, r]), reactExports.useEffect(() => {
    ne.current && (ne.current.autoplay = !!o);
  }, [o]), reactExports.useEffect(() => {
    if (ne.current) {
      if (!i) {
        ne.current.resetSegments(true);
        return;
      }
      !Array.isArray(i) || !i.length || ((ne.current.currentRawFrame < i[0] || ne.current.currentRawFrame > i[1]) && (ne.current.currentRawFrame = i[0]), ne.current.setSegment(i[0], i[1]));
    }
  }, [i]), reactExports.useEffect(() => {
    const Ge = [{
      name: "complete",
      handler: u
    }, {
      name: "loopComplete",
      handler: p
    }, {
      name: "enterFrame",
      handler: v
    }, {
      name: "segmentStart",
      handler: y
    }, {
      name: "config_ready",
      handler: k
    }, {
      name: "data_ready",
      handler: T
    }, {
      name: "data_failed",
      handler: R
    }, {
      name: "loaded_images",
      handler: I
    }, {
      name: "DOMLoaded",
      handler: P
    }, {
      name: "destroy",
      handler: S
    }].filter((_e) => _e.handler != null);
    if (!Ge.length)
      return;
    const Ze = Ge.map(
      /**
       * Handle the process of adding an event listener
       * @param {Listener} listener
       * @return {Function} Function that deregister the listener
       */
      (_e) => {
        var st;
        return (st = ne.current) == null || st.addEventListener(_e.name, _e.handler), () => {
          var Ke;
          (Ke = ne.current) == null || Ke.removeEventListener(_e.name, _e.handler);
        };
      }
    );
    return () => {
      Ze.forEach((_e) => _e());
    };
  }, [u, p, v, y, k, T, R, I, P, S]), {
    View: jsxRuntimeExports.jsx("div", {
      style: t,
      ref: ae,
      ...Q
    }),
    play: pe,
    stop: Ve,
    pause: we,
    setSpeed: Te,
    goToAndStop: ie,
    goToAndPlay: be,
    setDirection: de,
    playSegments: ze,
    setSubframe: nt,
    getDuration: ut,
    destroy: Le,
    animationContainerRef: ae,
    animationLoaded: q,
    animationItem: ne.current
  };
};
function u4e(e10) {
  const {
    top: t,
    height: n
  } = e10.getBoundingClientRect(), r = window.innerHeight - t, o = window.innerHeight + n;
  return r / o;
}
function c4e(e10, t, n) {
  const {
    top: r,
    left: o,
    width: i,
    height: u
  } = e10.getBoundingClientRect(), p = (t - o) / i, v = (n - r) / u;
  return {
    x: p,
    y: v
  };
}
const d4e = ({
  wrapperRef: e10,
  animationItem: t,
  mode: n,
  actions: r
}) => {
  reactExports.useEffect(() => {
    const o = e10.current;
    if (!o || !t || !r.length)
      return;
    t.stop();
    const i = () => {
      let p = null;
      const v = () => {
        const y = u4e(o), k = r.find(({
          visibility: T
        }) => T && y >= T[0] && y <= T[1]);
        if (k) {
          if (k.type === "seek" && k.visibility && k.frames.length === 2) {
            const T = k.frames[0] + Math.ceil((y - k.visibility[0]) / (k.visibility[1] - k.visibility[0]) * k.frames[1]);
            t.goToAndStop(T - t.firstFrame - 1, true);
          }
          k.type === "loop" && (p === null || p !== k.frames || t.isPaused) && (t.playSegments(k.frames, true), p = k.frames), k.type === "play" && t.isPaused && (t.resetSegments(true), t.play()), k.type === "stop" && t.goToAndStop(k.frames[0] - t.firstFrame - 1, true);
        }
      };
      return document.addEventListener("scroll", v), () => {
        document.removeEventListener("scroll", v);
      };
    }, u = () => {
      const p = (k, T) => {
        let R = k, I = T;
        if (R !== -1 && I !== -1) {
          const S = c4e(o, R, I);
          R = S.x, I = S.y;
        }
        const P = r.find(({
          position: S
        }) => S && Array.isArray(S.x) && Array.isArray(S.y) ? R >= S.x[0] && R <= S.x[1] && I >= S.y[0] && I <= S.y[1] : S && !Number.isNaN(S.x) && !Number.isNaN(S.y) ? R === S.x && I === S.y : false);
        if (P) {
          if (P.type === "seek" && P.position && Array.isArray(P.position.x) && Array.isArray(P.position.y) && P.frames.length === 2) {
            const S = (R - P.position.x[0]) / (P.position.x[1] - P.position.x[0]), U = (I - P.position.y[0]) / (P.position.y[1] - P.position.y[0]);
            t.playSegments(P.frames, true), t.goToAndStop(Math.ceil((S + U) / 2 * (P.frames[1] - P.frames[0])), true);
          }
          P.type === "loop" && t.playSegments(P.frames, true), P.type === "play" && (t.isPaused && t.resetSegments(false), t.playSegments(P.frames)), P.type === "stop" && t.goToAndStop(P.frames[0], true);
        }
      }, v = (k) => {
        p(k.clientX, k.clientY);
      }, y = () => {
        p(-1, -1);
      };
      return o.addEventListener("mousemove", v), o.addEventListener("mouseout", y), () => {
        o.removeEventListener("mousemove", v), o.removeEventListener("mouseout", y);
      };
    };
    switch (n) {
      case "scroll":
        return i();
      case "cursor":
        return u();
    }
  }, [n, t]);
}, f4e = ({
  actions: e10,
  mode: t,
  lottieObj: n
}) => {
  const {
    animationItem: r,
    View: o,
    animationContainerRef: i
  } = n;
  return d4e({
    actions: e10,
    animationItem: r,
    mode: t,
    wrapperRef: i
  }), o;
}, h4e = (e10) => {
  var Z;
  const {
    style: t,
    interactivity: n,
    ...r
  } = e10, {
    View: o,
    play: i,
    stop: u,
    pause: p,
    setSpeed: v,
    goToAndStop: y,
    goToAndPlay: k,
    setDirection: T,
    playSegments: R,
    setSubframe: I,
    getDuration: P,
    destroy: S,
    animationContainerRef: U,
    animationLoaded: B,
    animationItem: X
  } = l4e(r, t);
  return reactExports.useEffect(() => {
    e10.lottieRef && (e10.lottieRef.current = {
      play: i,
      stop: u,
      pause: p,
      setSpeed: v,
      goToAndPlay: k,
      goToAndStop: y,
      setDirection: T,
      playSegments: R,
      setSubframe: I,
      getDuration: P,
      destroy: S,
      animationContainerRef: U,
      animationLoaded: B,
      animationItem: X
    });
  }, [(Z = e10.lottieRef) == null ? void 0 : Z.current]), f4e({
    lottieObj: {
      View: o,
      animationContainerRef: U,
      animationItem: X
    },
    actions: (n == null ? void 0 : n.actions) ?? [],
    mode: (n == null ? void 0 : n.mode) ?? "scroll"
  });
}, $8e = (e10) => {
  const {
    src: t,
    placeholder: n,
    translations: r
  } = e10, [o, i] = reactExports.useState(null), u = (v) => {
    if (!v)
      return false;
    if (typeof v == "string")
      i(null), fetch(v).then((y) => y.json()).then((y) => {
        const k = p(y, r);
        i(k);
      });
    else if (v) {
      const y = p(v, r);
      i(y);
    }
  }, p = (v, y) => {
    if (!v)
      return false;
    if (!y)
      return v;
    let k = JSON.stringify(v);
    if (typeof y == "string" && (y = JSON.parse(y)), typeof y != "string")
      for (const T in y) {
        const R = `${T}`, I = new RegExp(R, "g");
        k = k.replace(I, y[T]);
      }
    return JSON.parse(k);
  };
  return reactExports.useEffect(() => {
    u(t);
  }, [t]), o ? jsxRuntimeExports.jsx(h4e, {
    animationData: o
  }) : n ? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
    children: n
  }) : jsxRuntimeExports.jsx(li, {
    spin: true,
    forceSize: 90,
    children: Ln.settings
  });
};
reactExports.createContext(void 0);
const gw = "PubSub Service";
class p4e {
  constructor() {
    vo(this, "events", {});
  }
  /**
   * a void function when we don't want to use the subscription from 'RxJs';
   * @param {event} event - the specific name to subscribe on - the names must be specific to those we publish.
   * @param {(value: any) => void} callback - callback function
   * @param {(error: any) => void} error - exception catch function
   * @param {() => void} complete - complete function
   */
  $sub(t, n, r, o) {
    if (!t)
      throw new Error(`[${gw}] => Subscription method must get event name.`);
    return this.events[t] === void 0 && (this.events[t] = new rE()), typeof n != "function" ? this.events[t].asObservable() : this.events[t].asObservable().subscribe(n, r, o);
  }
  /**
   * Base Module needed to use PubSubService.
   * @param {event} event - the specific name to subscribe on
   * @param {eventObject} eventObject - the optional paramter to send when raising the event
   */
  $pub(t, n) {
    if (t) {
      if (!this.events[t])
        return;
    } else throw new Error(`[${gw}] => Publish method must get event name.`);
    this.events[t].next(n);
  }
}
const ag = new p4e();
var qp;
(function(e10) {
  e10.reactModalOpen = "REACT_MODAL_OPEN", e10.reactModalClose = "REACT_MODAL_CLOSE", e10.reactSnackbarOpen = "REACT_SNACKBAR_OPEN", e10.reactSnackbarClose = "REACT_SNACKBAR_CLOSE", e10.reactActionBarAddMessage = "REACT_ACTION_BAR_ADD", e10.reactActionBarRemoveMessage = "REACT_ACTION_BAR_REMOVE", e10.reactActionBarSetFooter = "REACT_ACTION_BAR_SET_FOOTER", e10.reactActionBarHideFooter = "REACT_ACTION_BAR_HIDE_FOOTER", e10.reactDrawerOpen = "REACT_DRAWER_OPEN", e10.reactDrawerClose = "REACT_DRAWER_CLOSE";
})(qp || (qp = {}));
const Yh = class Yh2 {
  constructor() {
    vo(this, "token");
    vo(this, "host");
    vo(this, "locationId");
    vo(this, "widgetId");
  }
  static getInstance() {
    return Yh2.instance || (Yh2.instance = new Yh2()), Yh2.instance;
  }
  set({
    token: t,
    locationId: n,
    host: r,
    widgetId: o
  }) {
    this.token = t, this.host = r, this.locationId = n, this.widgetId || (this.widgetId = o);
  }
  get() {
    const {
      token: t,
      host: n,
      locationId: r,
      widgetId: o
    } = this;
    return {
      token: t,
      host: n,
      locationId: r,
      widgetId: o
    };
  }
};
vo(Yh, "instance");
let qh = Yh;
const g4e = () => {
  let e10 = (/* @__PURE__ */ new Date()).getTime(), t = typeof performance < "u" && performance.now && performance.now() * 1e3 || 0;
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (n) => {
    let r = Math.random() * 16;
    return e10 > 0 ? (r = (e10 + r) % 16 | 0, e10 = Math.floor(e10 / 16)) : (r = (t + r) % 16 | 0, t = Math.floor(t / 16)), (n === "x" ? r : r & 3 | 8).toString(16);
  });
}, eb = {
  mobile: 767,
  tablet: 1025,
  desktop: 1200
};
class m4e {
  constructor() {
    vo(this, "clientWidth");
    this.clientWidth = wi.document.body.clientWidth;
  }
  isMobile() {
    return this.clientWidth <= eb.mobile;
  }
  isTablet() {
    return this.clientWidth <= eb.tablet;
  }
  isDesktop() {
    return this.clientWidth > eb.tablet;
  }
}
const M6 = new m4e(), kh = (e10) => {
  const {
    children: t,
    className: n,
    modalPosition: r = "top",
    testId: o,
    onOutsideClick: i,
    onContentClick: u,
    modalContentClassName: p,
    disableOutsideClick: v,
    backgroundColor: y
  } = e10;
  let {
    fullscreen: k,
    width: T,
    maxWidth: R,
    minHeight: I
  } = e10;
  k === void 0 && (k = M6.isMobile()), k && (T = void 0, I = void 0, R = void 0);
  const P = () => {
    const U = `modal-position-${r}`;
    return Kt(U, k ? "modal-fullscreen" : "", n);
  }, S = () => ({
    width: T,
    maxWidth: R,
    backgroundColor: y,
    minHeight: I
  });
  return jsxRuntimeExports.jsx("div", {
    onClick: (U) => {
      i && i(U);
    },
    "data-testid": o,
    className: Kt("rc-modal", P()),
    children: jsxRuntimeExports.jsx("div", {
      onClick: (U) => {
        v || (U.stopPropagation(), u && u(U));
      },
      className: Kt("modal-content", p),
      style: S(),
      children: t
    })
  });
}, Eh = (e10) => {
  const {
    children: t,
    closeFn: n,
    className: r,
    type: o = "default",
    hideCloseButtonOnMobile: i = true,
    hideHeaderCloseBtn: u = false,
    hideTypeIcon: p = false,
    title: v,
    titleTextType: y = Er.heading3,
    replacements: k
  } = e10, T = reactExports.useCallback((R) => {
    switch (R) {
      case "danger":
        return {
          color: "--e500",
          containerStyle: {
            borderTop: "2px solid var(--e500)",
            borderRadius: 8
          },
          icon: jsxRuntimeExports.jsx(li, {
            type: ai.small,
            color: "--e500",
            hasCircle: true,
            children: Ln.exclamation
          })
        };
      case "warn":
        return {
          color: "--w500",
          containerStyle: {
            borderTop: "2px solid var(--w500)",
            borderRadius: 8
          },
          icon: jsxRuntimeExports.jsx(li, {
            type: ai.large,
            color: "--w500",
            hasCircle: false,
            children: Ln.warning
          })
        };
      case "success":
        return {
          color: "--s500",
          containerStyle: {
            borderTop: "2px solid var(--s500)",
            borderRadius: 8
          },
          icon: jsxRuntimeExports.jsx(li, {
            type: ai.small,
            color: "--s500",
            hasCircle: true,
            children: Ln.check
          })
        };
      case "info":
        return {
          color: "--p500",
          containerStyle: {
            borderTop: "2px solid var(--p500)",
            borderRadius: 8
          },
          icon: jsxRuntimeExports.jsx(li, {
            type: ai.small,
            color: "--p500",
            hasCircle: true,
            children: Ln.info
          })
        };
      default:
        return {
          color: "transparent",
          containerStyle: {
            borderTop: "2px solid transparent"
          },
          icon: null
        };
    }
  }, [o]);
  return jsxRuntimeExports.jsxs("div", {
    className: Kt("modal-header", r),
    style: T(o).containerStyle,
    children: [jsxRuntimeExports.jsxs("div", {
      className: "modal-header-title-container",
      children: [jsxRuntimeExports.jsx(mh, {
        condition: o !== "default" && !p,
        children: jsxRuntimeExports.jsx("div", {
          className: "modal-header-icon-container",
          children: T(o).icon
        })
      }), jsxRuntimeExports.jsx(nr, {
        type: y,
        fontWeight: si.bold,
        replacements: k,
        children: v
      }), t]
    }), !u && n && typeof n == "function" ? jsxRuntimeExports.jsx(gh, {
      className: Kt("modal-header-close-btn", i ? "modal-header-close-btn-hidden-mobile" : ""),
      testId: "modal-close-header-cta",
      type: Vo.default,
      size: uf.small,
      iconLeft: Ln.close,
      iconSize: ai.large,
      iconColor: "--n500",
      iconHoverColor: "--n700",
      onClick: () => n()
    }) : null]
  }, o);
}, op = (e10) => {
  const {
    padding: t,
    className: n,
    bgColor: r,
    innerRef: o,
    mode: i
  } = e10;
  let u = {};
  return i === "fill" && (u = {
    display: "flex",
    flexDirection: "column",
    height: "100%",
    flex: 1
  }), jsxRuntimeExports.jsx("div", {
    ref: o,
    className: Kt("modal-body", n),
    style: {
      padding: t !== void 0 ? t : "",
      backgroundColor: r ?? "",
      ...u
    },
    children: e10.children
  });
}, rm = (e10) => {
  const {
    positive: t,
    negative: n,
    neutral: r,
    className: o,
    buttonsPosition: i,
    padding: u,
    buttonsShape: p = "default",
    children: v,
    showTopBorder: y
  } = e10;
  let k = "";
  switch (i) {
    case "start":
      k = t2;
      break;
    case "end":
      k = M1;
      break;
    case "between":
      k = e2;
      break;
    case "center":
      k = fg;
      break;
    default:
      k = M1;
  }
  const T = (t == null ? void 0 : t.iconPlacement) ?? "right", R = (n == null ? void 0 : n.iconPlacement) ?? "left", I = (r == null ? void 0 : r.iconPlacement) ?? "left", P = !!t, S = !!n && !(n != null && n.hidden), U = !!r && !(r != null && r.hidden);
  return jsxRuntimeExports.jsx(Li, {
    style: {
      padding: u ?? "16px 32px 32px 32px"
    },
    className: Kt("modal-footer", y ? "modal-footer-border" : "", o),
    children: v || jsxRuntimeExports.jsxs("div", {
      className: Kt("modal-footer-buttons", k),
      children: [jsxRuntimeExports.jsx(mh, {
        animation: "none",
        condition: S,
        children: jsxRuntimeExports.jsx(gh, {
          type: (n == null ? void 0 : n.type) ?? Vo.default,
          testId: "modal-negative-cta",
          iconLeft: R === "left" ? n == null ? void 0 : n.icon : void 0,
          iconRight: R === "right" ? n == null ? void 0 : n.icon : void 0,
          disabled: n == null ? void 0 : n.disabled,
          isLoading: n == null ? void 0 : n.isLoading,
          className: "right-btn",
          onClick: () => {
            n == null || n.cta();
          },
          shape: p,
          replacements: n == null ? void 0 : n.replacements,
          children: n == null ? void 0 : n.text
        })
      }), jsxRuntimeExports.jsxs(Va, {
        className: "modal-footer-group",
        if: U || P,
        children: [jsxRuntimeExports.jsx(Va, {
          if: U,
          children: jsxRuntimeExports.jsx(jp, {
            position: "right",
            message: r == null ? void 0 : r.popoverMessage,
            children: jsxRuntimeExports.jsx(gh, {
              type: (r == null ? void 0 : r.type) ?? Vo.secondary,
              testId: "modal-negative-cta",
              iconLeft: I === "left" ? r == null ? void 0 : r.icon : void 0,
              iconRight: I === "right" ? r == null ? void 0 : r.icon : void 0,
              disabled: r == null ? void 0 : r.disabled,
              isLoading: r == null ? void 0 : r.isLoading,
              className: "center-btn",
              onClick: () => {
                r == null || r.cta();
              },
              shape: p,
              replacements: r == null ? void 0 : r.replacements,
              children: r == null ? void 0 : r.text
            })
          })
        }), jsxRuntimeExports.jsx(mh, {
          animation: "none",
          condition: P,
          children: jsxRuntimeExports.jsx(jp, {
            position: "right",
            message: t == null ? void 0 : t.popoverMessage,
            children: jsxRuntimeExports.jsx(gh, {
              type: (t == null ? void 0 : t.type) ?? Vo.primary,
              testId: "modal-positive-cta",
              iconLeft: T === "left" ? t == null ? void 0 : t.icon : void 0,
              iconRight: T === "right" ? t == null ? void 0 : t.icon : void 0,
              disabled: t == null ? void 0 : t.disabled,
              isLoading: t == null ? void 0 : t.isLoading,
              onClick: () => {
                t == null || t.cta();
              },
              shape: p,
              replacements: t == null ? void 0 : t.replacements,
              children: t == null ? void 0 : t.text
            })
          })
        })]
      })]
    })
  });
}, v4e = (e10) => {
  const {
    close: t,
    message: n,
    title: r,
    positiveCtaText: o,
    headerType: i,
    positiveIconLeft: u,
    replacements: p,
    hideHeaderCloseBtn: v = false
  } = e10;
  return jsxRuntimeExports.jsx(Li, {
    className: "AcceptModal-container",
    children: jsxRuntimeExports.jsxs(kh, {
      className: "accept-modal",
      width: "672px",
      children: [jsxRuntimeExports.jsx(Eh, {
        hideHeaderCloseBtn: v,
        type: i,
        closeFn: t,
        title: r,
        replacements: p
      }), jsxRuntimeExports.jsx(op, {
        children: jsxRuntimeExports.jsx("div", {
          className: Kt(_b),
          children: typeof n == "string" ? jsxRuntimeExports.jsx(nr, {
            textAlign: "center",
            type: Er.text,
            replacements: p,
            children: n
          }) : n
        })
      }), jsxRuntimeExports.jsx(rm, {
        buttonsPosition: "center",
        positive: {
          cta: () => {
            t({
              isOk: true
            });
          },
          text: o === "" ? "Yes" : o ?? "Yes",
          icon: u ?? void 0
        }
      })]
    })
  });
};
class y4e {
  hasIntercom() {
    return wi.hasOwnProperty("Intercom");
  }
  showIntercom() {
    wi.Intercom("show");
  }
  hasIonosSupport() {
    return document.querySelector("[data-target-id=oao-navi-support-button]") !== null;
  }
  showIonosSupport() {
    try {
      document.querySelector("[data-target-id=oao-navi-support-button]").click();
    } catch {
    }
  }
  hasAnySupportService() {
    return this.hasIntercom() || this.hasIonosSupport();
  }
  show() {
    try {
      this.hasIntercom() ? this.showIntercom() : this.hasIonosSupport() && this.showIonosSupport();
    } catch {
    }
  }
}
const x4e = new y4e();
var sg;
(function(e10) {
  e10.local = "local", e10.dev = "dev", e10.test = "test", e10.prod = "prod";
})(sg || (sg = {}));
const _4e = (e10 = sg.dev) => ({
  local: () => ({
    authBase: "",
    apiBase: "",
    businessProcessorBase: "https://staging.k8s.rankingcoach.com/arg-business-processor-arango/"
  }),
  dev: () => ({
    authBase: "",
    apiBase: "",
    businessProcessorBase: "https://staging.k8s.rankingcoach.com/arg-business-processor-arango/"
  }),
  test: () => ({
    authBase: "",
    apiBase: "",
    businessProcessorBase: "https://staging.k8s.rankingcoach.com/arg-business-processor-arango-test/"
  })
})[e10](), w4e = _4e(sg.dev);
class T4e {
  constructor(t, n = w4e.apiBase) {
    vo(this, "base");
    vo(this, "endPoint");
    this.base = n, this.endPoint = t;
  }
  get() {
    return `${this.base}${this.endPoint}`;
  }
}
var h1 = { exports: {} }, fv, mw;
function O6() {
  return mw || (mw = 1, fv = function(t, n) {
    return function() {
      return t.apply(n, arguments);
    };
  }), fv;
}
var hv, vw;
function Bs() {
  if (vw) return hv;
  vw = 1;
  var e10 = O6(), t = Object.prototype.toString, n = /* @__PURE__ */ (function(oe) {
    return function(Ue) {
      var We = t.call(Ue);
      return oe[We] || (oe[We] = We.slice(8, -1).toLowerCase());
    };
  })(/* @__PURE__ */ Object.create(null));
  function r(oe) {
    return oe = oe.toLowerCase(), function(We) {
      return n(We) === oe;
    };
  }
  function o(oe) {
    return Array.isArray(oe);
  }
  function i(oe) {
    return typeof oe > "u";
  }
  function u(oe) {
    return oe !== null && !i(oe) && oe.constructor !== null && !i(oe.constructor) && typeof oe.constructor.isBuffer == "function" && oe.constructor.isBuffer(oe);
  }
  var p = r("ArrayBuffer");
  function v(oe) {
    var Ue;
    return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? Ue = ArrayBuffer.isView(oe) : Ue = oe && oe.buffer && p(oe.buffer), Ue;
  }
  function y(oe) {
    return typeof oe == "string";
  }
  function k(oe) {
    return typeof oe == "number";
  }
  function T(oe) {
    return oe !== null && typeof oe == "object";
  }
  function R(oe) {
    if (n(oe) !== "object")
      return false;
    var Ue = Object.getPrototypeOf(oe);
    return Ue === null || Ue === Object.prototype;
  }
  function I(oe) {
    return oe && Object.keys(oe).length === 0 && Object.getPrototypeOf(oe) === Object.prototype;
  }
  var P = r("Date"), S = r("File"), U = r("Blob"), B = r("FileList");
  function X(oe) {
    return t.call(oe) === "[object Function]";
  }
  function Z(oe) {
    return T(oe) && X(oe.pipe);
  }
  function te(oe) {
    var Ue = "[object FormData]";
    return oe && (typeof FormData == "function" && oe instanceof FormData || t.call(oe) === Ue || X(oe.toString) && oe.toString() === Ue);
  }
  var Q = r("URLSearchParams");
  function q(oe) {
    return oe.trim ? oe.trim() : oe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
  }
  function F() {
    var oe;
    return typeof navigator < "u" && ((oe = navigator.product) === "ReactNative" || oe === "NativeScript" || oe === "NS") ? false : typeof window < "u" && typeof document < "u";
  }
  function ne(oe, Ue) {
    if (!(oe === null || typeof oe > "u"))
      if (typeof oe != "object" && (oe = [oe]), o(oe))
        for (var We = 0, Ge = oe.length; We < Ge; We++)
          Ue.call(null, oe[We], We, oe);
      else
        for (var Ze in oe)
          Object.prototype.hasOwnProperty.call(oe, Ze) && Ue.call(null, oe[Ze], Ze, oe);
  }
  function ae() {
    var oe = {};
    function Ue(Ze, _e) {
      R(oe[_e]) && R(Ze) ? oe[_e] = ae(oe[_e], Ze) : R(Ze) ? oe[_e] = ae({}, Ze) : o(Ze) ? oe[_e] = Ze.slice() : oe[_e] = Ze;
    }
    for (var We = 0, Ge = arguments.length; We < Ge; We++)
      ne(arguments[We], Ue);
    return oe;
  }
  function pe(oe, Ue, We) {
    return ne(Ue, function(Ze, _e) {
      We && typeof Ze == "function" ? oe[_e] = e10(Ze, We) : oe[_e] = Ze;
    }), oe;
  }
  function Ve(oe) {
    return oe.charCodeAt(0) === 65279 && (oe = oe.slice(1)), oe;
  }
  function we(oe, Ue, We, Ge) {
    oe.prototype = Object.create(Ue.prototype, Ge), oe.prototype.constructor = oe, We && Object.assign(oe.prototype, We);
  }
  function Te(oe, Ue, We, Ge) {
    var Ze, _e, st, Ke = {};
    if (Ue = Ue || {}, oe == null) return Ue;
    do {
      for (Ze = Object.getOwnPropertyNames(oe), _e = Ze.length; _e-- > 0; )
        st = Ze[_e], (!Ge || Ge(st, oe, Ue)) && !Ke[st] && (Ue[st] = oe[st], Ke[st] = true);
      oe = We !== false && Object.getPrototypeOf(oe);
    } while (oe && (!We || We(oe, Ue)) && oe !== Object.prototype);
    return Ue;
  }
  function be(oe, Ue, We) {
    oe = String(oe), (We === void 0 || We > oe.length) && (We = oe.length), We -= Ue.length;
    var Ge = oe.indexOf(Ue, We);
    return Ge !== -1 && Ge === We;
  }
  function ie(oe) {
    if (!oe) return null;
    if (o(oe)) return oe;
    var Ue = oe.length;
    if (!k(Ue)) return null;
    for (var We = new Array(Ue); Ue-- > 0; )
      We[Ue] = oe[Ue];
    return We;
  }
  var de = /* @__PURE__ */ (function(oe) {
    return function(Ue) {
      return oe && Ue instanceof oe;
    };
  })(typeof Uint8Array < "u" && Object.getPrototypeOf(Uint8Array));
  function ze(oe, Ue) {
    for (var We = oe && oe[Symbol.iterator], Ge = We.call(oe), Ze; (Ze = Ge.next()) && !Ze.done; ) {
      var _e = Ze.value;
      Ue.call(oe, _e[0], _e[1]);
    }
  }
  function nt(oe, Ue) {
    for (var We, Ge = []; (We = oe.exec(Ue)) !== null; )
      Ge.push(We);
    return Ge;
  }
  var ut = r("HTMLFormElement"), Le = /* @__PURE__ */ (function(Ue) {
    return function(We, Ge) {
      return Ue.call(We, Ge);
    };
  })(Object.prototype.hasOwnProperty);
  return hv = {
    isArray: o,
    isArrayBuffer: p,
    isBuffer: u,
    isFormData: te,
    isArrayBufferView: v,
    isString: y,
    isNumber: k,
    isObject: T,
    isPlainObject: R,
    isEmptyObject: I,
    isUndefined: i,
    isDate: P,
    isFile: S,
    isBlob: U,
    isFunction: X,
    isStream: Z,
    isURLSearchParams: Q,
    isStandardBrowserEnv: F,
    forEach: ne,
    merge: ae,
    extend: pe,
    trim: q,
    stripBOM: Ve,
    inherits: we,
    toFlatObject: Te,
    kindOf: n,
    kindOfTest: r,
    endsWith: be,
    toArray: ie,
    isTypedArray: de,
    isFileList: B,
    forEachEntry: ze,
    matchAll: nt,
    isHTMLForm: ut,
    hasOwnProperty: Le
  }, hv;
}
var pv, yw;
function ip() {
  if (yw) return pv;
  yw = 1;
  var e10 = Bs();
  function t(o, i, u, p, v) {
    Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = o, this.name = "AxiosError", i && (this.code = i), u && (this.config = u), p && (this.request = p), v && (this.response = v);
  }
  e10.inherits(t, Error, {
    toJSON: function() {
      return {
        // Standard
        message: this.message,
        name: this.name,
        // Microsoft
        description: this.description,
        number: this.number,
        // Mozilla
        fileName: this.fileName,
        lineNumber: this.lineNumber,
        columnNumber: this.columnNumber,
        stack: this.stack,
        // Axios
        config: this.config,
        code: this.code,
        status: this.response && this.response.status ? this.response.status : null
      };
    }
  });
  var n = t.prototype, r = {};
  return [
    "ERR_BAD_OPTION_VALUE",
    "ERR_BAD_OPTION",
    "ECONNABORTED",
    "ETIMEDOUT",
    "ERR_NETWORK",
    "ERR_FR_TOO_MANY_REDIRECTS",
    "ERR_DEPRECATED",
    "ERR_BAD_RESPONSE",
    "ERR_BAD_REQUEST",
    "ERR_CANCELED",
    "ERR_NOT_SUPPORT",
    "ERR_INVALID_URL"
    // eslint-disable-next-line func-names
  ].forEach(function(o) {
    r[o] = { value: o };
  }), Object.defineProperties(t, r), Object.defineProperty(n, "isAxiosError", { value: true }), t.from = function(o, i, u, p, v, y) {
    var k = Object.create(n);
    return e10.toFlatObject(o, k, function(R) {
      return R !== Error.prototype;
    }), t.call(k, o.message, i, u, p, v), k.cause = o, k.name = o.name, y && Object.assign(k, y), k;
  }, pv = t, pv;
}
var bv, xw;
function k4e() {
  return xw || (xw = 1, bv = typeof self == "object" ? self.FormData : window.FormData), bv;
}
var gv, _w;
function E4e() {
  return _w || (_w = 1, gv = k4e()), gv;
}
var mv, ww;
function om() {
  if (ww) return mv;
  ww = 1;
  var e10 = Bs(), t = ip(), n = E4e();
  function r(k) {
    return e10.isPlainObject(k) || e10.isArray(k);
  }
  function o(k) {
    return e10.endsWith(k, "[]") ? k.slice(0, -2) : k;
  }
  function i(k, T, R) {
    return k ? k.concat(T).map(function(P, S) {
      return P = o(P), !R && S ? "[" + P + "]" : P;
    }).join(R ? "." : "") : T;
  }
  function u(k) {
    return e10.isArray(k) && !k.some(r);
  }
  var p = e10.toFlatObject(e10, {}, null, function(T) {
    return /^is[A-Z]/.test(T);
  });
  function v(k) {
    return k && e10.isFunction(k.append) && k[Symbol.toStringTag] === "FormData" && k[Symbol.iterator];
  }
  function y(k, T, R) {
    if (!e10.isObject(k))
      throw new TypeError("target must be an object");
    T = T || new (n || FormData)(), R = e10.toFlatObject(R, {
      metaTokens: true,
      dots: false,
      indexes: false
    }, false, function(ae, pe) {
      return !e10.isUndefined(pe[ae]);
    });
    var I = R.metaTokens, P = R.visitor || te, S = R.dots, U = R.indexes, B = R.Blob || typeof Blob < "u" && Blob, X = B && v(T);
    if (!e10.isFunction(P))
      throw new TypeError("visitor must be a function");
    function Z(ne) {
      if (ne === null) return "";
      if (e10.isDate(ne))
        return ne.toISOString();
      if (!X && e10.isBlob(ne))
        throw new t("Blob is not supported. Use a Buffer instead.");
      return e10.isArrayBuffer(ne) || e10.isTypedArray(ne) ? X && typeof Blob == "function" ? new Blob([ne]) : Buffer.from(ne) : ne;
    }
    function te(ne, ae, pe) {
      var Ve = ne;
      if (ne && !pe && typeof ne == "object") {
        if (e10.endsWith(ae, "{}"))
          ae = I ? ae : ae.slice(0, -2), ne = JSON.stringify(ne);
        else if (e10.isArray(ne) && u(ne) || e10.isFileList(ne) || e10.endsWith(ae, "[]") && (Ve = e10.toArray(ne)))
          return ae = o(ae), Ve.forEach(function(Te, be) {
            !e10.isUndefined(Te) && T.append(
              // eslint-disable-next-line no-nested-ternary
              U === true ? i([ae], be, S) : U === null ? ae : ae + "[]",
              Z(Te)
            );
          }), false;
      }
      return r(ne) ? true : (T.append(i(pe, ae, S), Z(ne)), false);
    }
    var Q = [], q = Object.assign(p, {
      defaultVisitor: te,
      convertValue: Z,
      isVisitable: r
    });
    function F(ne, ae) {
      if (!e10.isUndefined(ne)) {
        if (Q.indexOf(ne) !== -1)
          throw Error("Circular reference detected in " + ae.join("."));
        Q.push(ne), e10.forEach(ne, function(Ve, we) {
          var Te = !e10.isUndefined(Ve) && P.call(
            T,
            Ve,
            e10.isString(we) ? we.trim() : we,
            ae,
            q
          );
          Te === true && F(Ve, ae ? ae.concat(we) : [we]);
        }), Q.pop();
      }
    }
    if (!e10.isObject(k))
      throw new TypeError("data must be an object");
    return F(k), T;
  }
  return mv = y, mv;
}
var vv, Tw;
function D6() {
  if (Tw) return vv;
  Tw = 1;
  var e10 = om();
  function t(o) {
    var i = {
      "!": "%21",
      "'": "%27",
      "(": "%28",
      ")": "%29",
      "~": "%7E",
      "%20": "+",
      "%00": "\0"
    };
    return encodeURIComponent(o).replace(/[!'\(\)~]|%20|%00/g, function(p) {
      return i[p];
    });
  }
  function n(o, i) {
    this._pairs = [], o && e10(o, this, i);
  }
  var r = n.prototype;
  return r.append = function(i, u) {
    this._pairs.push([i, u]);
  }, r.toString = function(i) {
    var u = i ? function(p) {
      return i.call(this, p, t);
    } : t;
    return this._pairs.map(function(v) {
      return u(v[0]) + "=" + u(v[1]);
    }, "").join("&");
  }, vv = n, vv;
}
var yv, kw;
function F6() {
  if (kw) return yv;
  kw = 1;
  var e10 = Bs(), t = D6();
  function n(r) {
    return encodeURIComponent(r).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
  }
  return yv = function(o, i, u) {
    if (!i)
      return o;
    var p = o.indexOf("#");
    p !== -1 && (o = o.slice(0, p));
    var v = u && u.encode || n, y = u && u.serialize, k;
    return y ? k = y(i, u) : k = e10.isURLSearchParams(i) ? i.toString() : new t(i, u).toString(v), k && (o += (o.indexOf("?") === -1 ? "?" : "&") + k), o;
  }, yv;
}
var xv, Ew;
function C4e() {
  if (Ew) return xv;
  Ew = 1;
  var e10 = Bs();
  function t() {
    this.handlers = [];
  }
  return t.prototype.use = function(r, o, i) {
    return this.handlers.push({
      fulfilled: r,
      rejected: o,
      synchronous: i ? i.synchronous : false,
      runWhen: i ? i.runWhen : null
    }), this.handlers.length - 1;
  }, t.prototype.eject = function(r) {
    this.handlers[r] && (this.handlers[r] = null);
  }, t.prototype.clear = function() {
    this.handlers && (this.handlers = []);
  }, t.prototype.forEach = function(r) {
    e10.forEach(this.handlers, function(i) {
      i !== null && r(i);
    });
  }, xv = t, xv;
}
var _v, Cw;
function N6() {
  if (Cw) return _v;
  Cw = 1;
  var e10 = Bs();
  return _v = function(n, r) {
    e10.forEach(n, function(i, u) {
      u !== r && u.toUpperCase() === r.toUpperCase() && (n[r] = i, delete n[u]);
    });
  }, _v;
}
var wv, Sw;
function L6() {
  return Sw || (Sw = 1, wv = {
    silentJSONParsing: true,
    forcedJSONParsing: true,
    clarifyTimeoutError: false
  }), wv;
}
var Tv, Aw;
function S4e() {
  if (Aw) return Tv;
  Aw = 1;
  var e10 = D6();
  return Tv = typeof URLSearchParams < "u" ? URLSearchParams : e10, Tv;
}
var kv, Pw;
function A4e() {
  return Pw || (Pw = 1, kv = FormData), kv;
}
var Ev, Rw;
function P4e() {
  return Rw || (Rw = 1, Ev = {
    isBrowser: true,
    classes: {
      URLSearchParams: S4e(),
      FormData: A4e(),
      Blob
    },
    protocols: ["http", "https", "file", "blob", "url", "data"]
  }), Ev;
}
var Cv, Iw;
function f3() {
  return Iw || (Iw = 1, Cv = P4e()), Cv;
}
var Sv, Mw;
function R4e() {
  if (Mw) return Sv;
  Mw = 1;
  var e10 = Bs(), t = om(), n = f3();
  return Sv = function(o, i) {
    return t(o, new n.classes.URLSearchParams(), Object.assign({
      visitor: function(u, p, v, y) {
        return n.isNode && e10.isBuffer(u) ? (this.append(p, u.toString("base64")), false) : y.defaultVisitor.apply(this, arguments);
      }
    }, i));
  }, Sv;
}
var Av, Ow;
function B6() {
  if (Ow) return Av;
  Ow = 1;
  var e10 = Bs();
  function t(o) {
    return e10.matchAll(/\w+|\[(\w*)]/g, o).map(function(i) {
      return i[0] === "[]" ? "" : i[1] || i[0];
    });
  }
  function n(o) {
    var i = {}, u = Object.keys(o), p, v = u.length, y;
    for (p = 0; p < v; p++)
      y = u[p], i[y] = o[y];
    return i;
  }
  function r(o) {
    function i(p, v, y, k) {
      var T = p[k++], R = Number.isFinite(+T), I = k >= p.length;
      if (T = !T && e10.isArray(y) ? y.length : T, I)
        return e10.hasOwnProperty(y, T) ? y[T] = [y[T], v] : y[T] = v, !R;
      (!y[T] || !e10.isObject(y[T])) && (y[T] = []);
      var P = i(p, v, y[T], k);
      return P && e10.isArray(y[T]) && (y[T] = n(y[T])), !R;
    }
    if (e10.isFormData(o) && e10.isFunction(o.entries)) {
      var u = {};
      return e10.forEachEntry(o, function(p, v) {
        i(t(p), v, u, 0);
      }), u;
    }
    return null;
  }
  return Av = r, Av;
}
var Pv, Dw;
function I4e() {
  if (Dw) return Pv;
  Dw = 1;
  var e10 = ip();
  return Pv = function(n, r, o) {
    var i = o.config.validateStatus;
    !o.status || !i || i(o.status) ? n(o) : r(new e10(
      "Request failed with status code " + o.status,
      [e10.ERR_BAD_REQUEST, e10.ERR_BAD_RESPONSE][Math.floor(o.status / 100) - 4],
      o.config,
      o.request,
      o
    ));
  }, Pv;
}
var Rv, Fw;
function M4e() {
  if (Fw) return Rv;
  Fw = 1;
  var e10 = Bs();
  return Rv = e10.isStandardBrowserEnv() ? (
    // Standard browser envs support document.cookie
    /* @__PURE__ */ (function() {
      return {
        write: function(r, o, i, u, p, v) {
          var y = [];
          y.push(r + "=" + encodeURIComponent(o)), e10.isNumber(i) && y.push("expires=" + new Date(i).toGMTString()), e10.isString(u) && y.push("path=" + u), e10.isString(p) && y.push("domain=" + p), v === true && y.push("secure"), document.cookie = y.join("; ");
        },
        read: function(r) {
          var o = document.cookie.match(new RegExp("(^|;\\s*)(" + r + ")=([^;]*)"));
          return o ? decodeURIComponent(o[3]) : null;
        },
        remove: function(r) {
          this.write(r, "", Date.now() - 864e5);
        }
      };
    })()
  ) : (
    // Non standard browser env (web workers, react-native) lack needed support.
    /* @__PURE__ */ (function() {
      return {
        write: function() {
        },
        read: function() {
          return null;
        },
        remove: function() {
        }
      };
    })()
  ), Rv;
}
var Iv, Nw;
function O4e() {
  return Nw || (Nw = 1, Iv = function(t) {
    return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
  }), Iv;
}
var Mv, Lw;
function D4e() {
  return Lw || (Lw = 1, Mv = function(t, n) {
    return n ? t.replace(/\/+$/, "") + "/" + n.replace(/^\/+/, "") : t;
  }), Mv;
}
var Ov, Bw;
function z6() {
  if (Bw) return Ov;
  Bw = 1;
  var e10 = O4e(), t = D4e();
  return Ov = function(r, o) {
    return r && !e10(o) ? t(r, o) : o;
  }, Ov;
}
var Dv, zw;
function F4e() {
  if (zw) return Dv;
  zw = 1;
  var e10 = Bs(), t = [
    "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"
  ];
  return Dv = function(r) {
    var o = {}, i, u, p;
    return r && e10.forEach(r.split(`
`), function(y) {
      if (p = y.indexOf(":"), i = e10.trim(y.slice(0, p)).toLowerCase(), u = e10.trim(y.slice(p + 1)), i) {
        if (o[i] && t.indexOf(i) >= 0)
          return;
        i === "set-cookie" ? o[i] = (o[i] ? o[i] : []).concat([u]) : o[i] = o[i] ? o[i] + ", " + u : u;
      }
    }), o;
  }, Dv;
}
var Fv, Ww;
function N4e() {
  if (Ww) return Fv;
  Ww = 1;
  var e10 = Bs();
  return Fv = e10.isStandardBrowserEnv() ? (
    // Standard browser envs have full support of the APIs needed to test
    // whether the request URL is of the same origin as current location.
    (function() {
      var n = /(msie|trident)/i.test(navigator.userAgent), r = document.createElement("a"), o;
      function i(u) {
        var p = u;
        return n && (r.setAttribute("href", p), p = r.href), r.setAttribute("href", p), {
          href: r.href,
          protocol: r.protocol ? r.protocol.replace(/:$/, "") : "",
          host: r.host,
          search: r.search ? r.search.replace(/^\?/, "") : "",
          hash: r.hash ? r.hash.replace(/^#/, "") : "",
          hostname: r.hostname,
          port: r.port,
          pathname: r.pathname.charAt(0) === "/" ? r.pathname : "/" + r.pathname
        };
      }
      return o = i(window.location.href), function(p) {
        var v = e10.isString(p) ? i(p) : p;
        return v.protocol === o.protocol && v.host === o.host;
      };
    })()
  ) : (
    // Non standard browser envs (web workers, react-native) lack needed support.
    /* @__PURE__ */ (function() {
      return function() {
        return true;
      };
    })()
  ), Fv;
}
var Nv, Uw;
function im() {
  if (Uw) return Nv;
  Uw = 1;
  var e10 = ip(), t = Bs();
  function n(r, o, i) {
    e10.call(this, r ?? "canceled", e10.ERR_CANCELED, o, i), this.name = "CanceledError";
  }
  return t.inherits(n, e10, {
    __CANCEL__: true
  }), Nv = n, Nv;
}
var Lv, Hw;
function L4e() {
  return Hw || (Hw = 1, Lv = function(t) {
    var n = /^([-+\w]{1,25})(:?\/\/|:)/.exec(t);
    return n && n[1] || "";
  }), Lv;
}
var Bv, $w;
function Vw() {
  if ($w) return Bv;
  $w = 1;
  var e10 = Bs(), t = I4e(), n = M4e(), r = F6(), o = z6(), i = F4e(), u = N4e(), p = L6(), v = ip(), y = im(), k = L4e(), T = f3();
  return Bv = function(I) {
    return new Promise(function(S, U) {
      var B = I.data, X = I.headers, Z = I.responseType, te = I.withXSRFToken, Q;
      function q() {
        I.cancelToken && I.cancelToken.unsubscribe(Q), I.signal && I.signal.removeEventListener("abort", Q);
      }
      e10.isFormData(B) && e10.isStandardBrowserEnv() && delete X["Content-Type"];
      var F = new XMLHttpRequest();
      if (I.auth) {
        var ne = I.auth.username || "", ae = I.auth.password ? unescape(encodeURIComponent(I.auth.password)) : "";
        X.Authorization = "Basic " + btoa(ne + ":" + ae);
      }
      var pe = o(I.baseURL, I.url);
      F.open(I.method.toUpperCase(), r(pe, I.params, I.paramsSerializer), true), F.timeout = I.timeout;
      function Ve() {
        if (F) {
          var be = "getAllResponseHeaders" in F ? i(F.getAllResponseHeaders()) : null, ie = !Z || Z === "text" || Z === "json" ? F.responseText : F.response, de = {
            data: ie,
            status: F.status,
            statusText: F.statusText,
            headers: be,
            config: I,
            request: F
          };
          t(function(nt) {
            S(nt), q();
          }, function(nt) {
            U(nt), q();
          }, de), F = null;
        }
      }
      if ("onloadend" in F ? F.onloadend = Ve : F.onreadystatechange = function() {
        !F || F.readyState !== 4 || F.status === 0 && !(F.responseURL && F.responseURL.indexOf("file:") === 0) || setTimeout(Ve);
      }, F.onabort = function() {
        F && (U(new v("Request aborted", v.ECONNABORTED, I, F)), F = null);
      }, F.onerror = function() {
        U(new v("Network Error", v.ERR_NETWORK, I, F)), F = null;
      }, F.ontimeout = function() {
        var ie = I.timeout ? "timeout of " + I.timeout + "ms exceeded" : "timeout exceeded", de = I.transitional || p;
        I.timeoutErrorMessage && (ie = I.timeoutErrorMessage), U(new v(
          ie,
          de.clarifyTimeoutError ? v.ETIMEDOUT : v.ECONNABORTED,
          I,
          F
        )), F = null;
      }, e10.isStandardBrowserEnv() && (te && e10.isFunction(te) && (te = te(I)), te || te !== false && u(pe))) {
        var we = I.xsrfHeaderName && I.xsrfCookieName && n.read(I.xsrfCookieName);
        we && (X[I.xsrfHeaderName] = we);
      }
      "setRequestHeader" in F && e10.forEach(X, function(ie, de) {
        typeof B > "u" && de.toLowerCase() === "content-type" ? delete X[de] : F.setRequestHeader(de, ie);
      }), e10.isUndefined(I.withCredentials) || (F.withCredentials = !!I.withCredentials), Z && Z !== "json" && (F.responseType = I.responseType), typeof I.onDownloadProgress == "function" && F.addEventListener("progress", I.onDownloadProgress), typeof I.onUploadProgress == "function" && F.upload && F.upload.addEventListener("progress", I.onUploadProgress), (I.cancelToken || I.signal) && (Q = function(be) {
        F && (U(!be || be.type ? new y(null, I, F) : be), F.abort(), F = null);
      }, I.cancelToken && I.cancelToken.subscribe(Q), I.signal && (I.signal.aborted ? Q() : I.signal.addEventListener("abort", Q))), !B && B !== false && B !== 0 && B !== "" && (B = null);
      var Te = k(pe);
      if (Te && T.protocols.indexOf(Te) === -1) {
        U(new v("Unsupported protocol " + Te + ":", v.ERR_BAD_REQUEST, I));
        return;
      }
      F.send(B);
    });
  }, Bv;
}
var zv, Gw;
function h3() {
  if (Gw) return zv;
  Gw = 1;
  var e10 = Bs(), t = N6(), n = ip(), r = L6(), o = om(), i = R4e(), u = f3(), p = B6(), v = {
    "Content-Type": "application/x-www-form-urlencoded"
  };
  function y(I, P) {
    !e10.isUndefined(I) && e10.isUndefined(I["Content-Type"]) && (I["Content-Type"] = P);
  }
  function k() {
    var I;
    return (typeof XMLHttpRequest < "u" || typeof process < "u" && Object.prototype.toString.call(process) === "[object process]") && (I = Vw()), I;
  }
  function T(I, P, S) {
    if (e10.isString(I))
      try {
        return (P || JSON.parse)(I), e10.trim(I);
      } catch (U) {
        if (U.name !== "SyntaxError")
          throw U;
      }
    return (S || JSON.stringify)(I);
  }
  var R = {
    transitional: r,
    adapter: k(),
    transformRequest: [function(P, S) {
      t(S, "Accept"), t(S, "Content-Type");
      var U = S && S["Content-Type"] || "", B = U.indexOf("application/json") > -1, X = e10.isObject(P);
      X && e10.isHTMLForm(P) && (P = new FormData(P));
      var Z = e10.isFormData(P);
      if (Z)
        return B ? JSON.stringify(p(P)) : P;
      if (e10.isArrayBuffer(P) || e10.isBuffer(P) || e10.isStream(P) || e10.isFile(P) || e10.isBlob(P))
        return P;
      if (e10.isArrayBufferView(P))
        return P.buffer;
      if (e10.isURLSearchParams(P))
        return y(S, "application/x-www-form-urlencoded;charset=utf-8"), P.toString();
      var te;
      if (X) {
        if (U.indexOf("application/x-www-form-urlencoded") !== -1)
          return i(P, this.formSerializer).toString();
        if ((te = e10.isFileList(P)) || U.indexOf("multipart/form-data") > -1) {
          var Q = this.env && this.env.FormData;
          return o(
            te ? { "files[]": P } : P,
            Q && new Q(),
            this.formSerializer
          );
        }
      }
      return X || B ? (y(S, "application/json"), T(P)) : P;
    }],
    transformResponse: [function(P) {
      var S = this.transitional || R.transitional, U = S && S.forcedJSONParsing, B = this.responseType === "json";
      if (P && e10.isString(P) && (U && !this.responseType || B)) {
        var X = S && S.silentJSONParsing, Z = !X && B;
        try {
          return JSON.parse(P);
        } catch (te) {
          if (Z)
            throw te.name === "SyntaxError" ? n.from(te, n.ERR_BAD_RESPONSE, this, null, this.response) : te;
        }
      }
      return P;
    }],
    /**
     * A timeout in milliseconds to abort a request. If set to 0 (default) a
     * timeout is not created.
     */
    timeout: 0,
    xsrfCookieName: "XSRF-TOKEN",
    xsrfHeaderName: "X-XSRF-TOKEN",
    maxContentLength: -1,
    maxBodyLength: -1,
    env: {
      FormData: u.classes.FormData,
      Blob: u.classes.Blob
    },
    validateStatus: function(P) {
      return P >= 200 && P < 300;
    },
    headers: {
      common: {
        Accept: "application/json, text/plain, */*"
      }
    }
  };
  return e10.forEach(["delete", "get", "head"], function(P) {
    R.headers[P] = {};
  }), e10.forEach(["post", "put", "patch"], function(P) {
    R.headers[P] = e10.merge(v);
  }), zv = R, zv;
}
var Wv, Yw;
function B4e() {
  if (Yw) return Wv;
  Yw = 1;
  var e10 = Bs(), t = h3();
  return Wv = function(r, o, i, u) {
    var p = this || t;
    return e10.forEach(u, function(y) {
      r = y.call(p, r, o, i);
    }), r;
  }, Wv;
}
var Uv, Xw;
function W6() {
  return Xw || (Xw = 1, Uv = function(t) {
    return !!(t && t.__CANCEL__);
  }), Uv;
}
var Hv, Zw;
function z4e() {
  if (Zw) return Hv;
  Zw = 1;
  var e10 = Bs(), t = B4e(), n = W6(), r = h3(), o = im(), i = N6();
  function u(p) {
    if (p.cancelToken && p.cancelToken.throwIfRequested(), p.signal && p.signal.aborted)
      throw new o();
  }
  return Hv = function(v) {
    u(v), v.headers = v.headers || {}, v.data = t.call(
      v,
      v.data,
      v.headers,
      null,
      v.transformRequest
    ), i(v.headers, "Accept"), i(v.headers, "Content-Type"), v.headers = e10.merge(
      v.headers.common || {},
      v.headers[v.method] || {},
      v.headers
    ), e10.forEach(
      ["delete", "get", "head", "post", "put", "patch", "common"],
      function(T) {
        delete v.headers[T];
      }
    );
    var y = v.adapter || r.adapter;
    return y(v).then(function(T) {
      return u(v), T.data = t.call(
        v,
        T.data,
        T.headers,
        T.status,
        v.transformResponse
      ), T;
    }, function(T) {
      return n(T) || (u(v), T && T.response && (T.response.data = t.call(
        v,
        T.response.data,
        T.response.headers,
        T.response.status,
        v.transformResponse
      ))), Promise.reject(T);
    });
  }, Hv;
}
var $v, Kw;
function U6() {
  if (Kw) return $v;
  Kw = 1;
  var e10 = Bs();
  return $v = function(n, r) {
    r = r || {};
    var o = {};
    function i(T, R) {
      return e10.isPlainObject(T) && e10.isPlainObject(R) ? e10.merge(T, R) : e10.isEmptyObject(R) ? e10.merge({}, T) : e10.isPlainObject(R) ? e10.merge({}, R) : e10.isArray(R) ? R.slice() : R;
    }
    function u(T) {
      if (e10.isUndefined(r[T])) {
        if (!e10.isUndefined(n[T]))
          return i(void 0, n[T]);
      } else return i(n[T], r[T]);
    }
    function p(T) {
      if (!e10.isUndefined(r[T]))
        return i(void 0, r[T]);
    }
    function v(T) {
      if (e10.isUndefined(r[T])) {
        if (!e10.isUndefined(n[T]))
          return i(void 0, n[T]);
      } else return i(void 0, r[T]);
    }
    function y(T) {
      if (T in r)
        return i(n[T], r[T]);
      if (T in n)
        return i(void 0, n[T]);
    }
    var k = {
      url: p,
      method: p,
      data: p,
      baseURL: v,
      transformRequest: v,
      transformResponse: v,
      paramsSerializer: v,
      timeout: v,
      timeoutMessage: v,
      withCredentials: v,
      withXSRFToken: v,
      adapter: v,
      responseType: v,
      xsrfCookieName: v,
      xsrfHeaderName: v,
      onUploadProgress: v,
      onDownloadProgress: v,
      decompress: v,
      maxContentLength: v,
      maxBodyLength: v,
      beforeRedirect: v,
      transport: v,
      httpAgent: v,
      httpsAgent: v,
      cancelToken: v,
      socketPath: v,
      responseEncoding: v,
      validateStatus: y
    };
    return e10.forEach(Object.keys(n).concat(Object.keys(r)), function(R) {
      var I = k[R] || u, P = I(R);
      e10.isUndefined(P) && I !== y || (o[R] = P);
    }), o;
  }, $v;
}
var Vv, Jw;
function H6() {
  return Jw || (Jw = 1, Vv = {
    version: "0.28.1"
  }), Vv;
}
var Gv, Qw;
function W4e() {
  if (Qw) return Gv;
  Qw = 1;
  var e10 = H6().version, t = ip(), n = {};
  ["object", "boolean", "number", "function", "string", "symbol"].forEach(function(i, u) {
    n[i] = function(v) {
      return typeof v === i || "a" + (u < 1 ? "n " : " ") + i;
    };
  });
  var r = {};
  n.transitional = function(u, p, v) {
    function y(k, T) {
      return "[Axios v" + e10 + "] Transitional option '" + k + "'" + T + (v ? ". " + v : "");
    }
    return function(k, T, R) {
      if (u === false)
        throw new t(
          y(T, " has been removed" + (p ? " in " + p : "")),
          t.ERR_DEPRECATED
        );
      return p && !r[T] && (r[T] = true), u ? u(k, T, R) : true;
    };
  };
  function o(i, u, p) {
    if (typeof i != "object")
      throw new t("options must be an object", t.ERR_BAD_OPTION_VALUE);
    for (var v = Object.keys(i), y = v.length; y-- > 0; ) {
      var k = v[y], T = u[k];
      if (T) {
        var R = i[k], I = R === void 0 || T(R, k, i);
        if (I !== true)
          throw new t("option " + k + " must be " + I, t.ERR_BAD_OPTION_VALUE);
        continue;
      }
      if (p !== true)
        throw new t("Unknown option " + k, t.ERR_BAD_OPTION);
    }
  }
  return Gv = {
    assertOptions: o,
    validators: n
  }, Gv;
}
var Yv, jw;
function U4e() {
  if (jw) return Yv;
  jw = 1;
  var e10 = Bs(), t = F6(), n = C4e(), r = z4e(), o = U6(), i = z6(), u = W4e(), p = u.validators;
  function v(y) {
    this.defaults = y, this.interceptors = {
      request: new n(),
      response: new n()
    };
  }
  return v.prototype.request = function(k, T) {
    typeof k == "string" ? (T = T || {}, T.url = k) : T = k || {}, T = o(this.defaults, T), T.method ? T.method = T.method.toLowerCase() : this.defaults.method ? T.method = this.defaults.method.toLowerCase() : T.method = "get";
    var R = T.transitional;
    R !== void 0 && u.assertOptions(R, {
      silentJSONParsing: p.transitional(p.boolean),
      forcedJSONParsing: p.transitional(p.boolean),
      clarifyTimeoutError: p.transitional(p.boolean)
    }, false);
    var I = T.paramsSerializer;
    I !== void 0 && u.assertOptions(I, {
      encode: p.function,
      serialize: p.function
    }, true), e10.isFunction(I) && (T.paramsSerializer = { serialize: I });
    var P = [], S = true;
    this.interceptors.request.forEach(function(F) {
      typeof F.runWhen == "function" && F.runWhen(T) === false || (S = S && F.synchronous, P.unshift(F.fulfilled, F.rejected));
    });
    var U = [];
    this.interceptors.response.forEach(function(F) {
      U.push(F.fulfilled, F.rejected);
    });
    var B;
    if (!S) {
      var X = [r, void 0];
      for (Array.prototype.unshift.apply(X, P), X = X.concat(U), B = Promise.resolve(T); X.length; )
        B = B.then(X.shift(), X.shift());
      return B;
    }
    for (var Z = T; P.length; ) {
      var te = P.shift(), Q = P.shift();
      try {
        Z = te(Z);
      } catch (q) {
        Q(q);
        break;
      }
    }
    try {
      B = r(Z);
    } catch (q) {
      return Promise.reject(q);
    }
    for (; U.length; )
      B = B.then(U.shift(), U.shift());
    return B;
  }, v.prototype.getUri = function(k) {
    k = o(this.defaults, k);
    var T = i(k.baseURL, k.url);
    return t(T, k.params, k.paramsSerializer);
  }, e10.forEach(["delete", "get", "head", "options"], function(k) {
    v.prototype[k] = function(T, R) {
      return this.request(o(R || {}, {
        method: k,
        url: T,
        data: (R || {}).data
      }));
    };
  }), e10.forEach(["post", "put", "patch"], function(k) {
    function T(R) {
      return function(P, S, U) {
        return this.request(o(U || {}, {
          method: k,
          headers: R ? {
            "Content-Type": "multipart/form-data"
          } : {},
          url: P,
          data: S
        }));
      };
    }
    v.prototype[k] = T(), v.prototype[k + "Form"] = T(true);
  }), Yv = v, Yv;
}
var Xv, qw;
function H4e() {
  if (qw) return Xv;
  qw = 1;
  var e10 = im();
  function t(n) {
    if (typeof n != "function")
      throw new TypeError("executor must be a function.");
    var r;
    this.promise = new Promise(function(u) {
      r = u;
    });
    var o = this;
    this.promise.then(function(i) {
      if (o._listeners) {
        for (var u = o._listeners.length; u-- > 0; )
          o._listeners[u](i);
        o._listeners = null;
      }
    }), this.promise.then = function(i) {
      var u, p = new Promise(function(v) {
        o.subscribe(v), u = v;
      }).then(i);
      return p.cancel = function() {
        o.unsubscribe(u);
      }, p;
    }, n(function(u, p, v) {
      o.reason || (o.reason = new e10(u, p, v), r(o.reason));
    });
  }
  return t.prototype.throwIfRequested = function() {
    if (this.reason)
      throw this.reason;
  }, t.prototype.subscribe = function(r) {
    if (this.reason) {
      r(this.reason);
      return;
    }
    this._listeners ? this._listeners.push(r) : this._listeners = [r];
  }, t.prototype.unsubscribe = function(r) {
    if (this._listeners) {
      var o = this._listeners.indexOf(r);
      o !== -1 && this._listeners.splice(o, 1);
    }
  }, t.source = function() {
    var r, o = new t(function(u) {
      r = u;
    });
    return {
      token: o,
      cancel: r
    };
  }, Xv = t, Xv;
}
var Zv, eT;
function $4e() {
  return eT || (eT = 1, Zv = function(t) {
    return function(r) {
      return t.apply(null, r);
    };
  }), Zv;
}
var Kv, tT;
function V4e() {
  if (tT) return Kv;
  tT = 1;
  var e10 = Bs();
  return Kv = function(n) {
    return e10.isObject(n) && n.isAxiosError === true;
  }, Kv;
}
var nT;
function G4e() {
  if (nT) return h1.exports;
  nT = 1;
  var e10 = Bs(), t = O6(), n = U4e(), r = U6(), o = h3(), i = B6();
  function u(v) {
    var y = new n(v), k = t(n.prototype.request, y);
    return e10.extend(k, n.prototype, y), e10.extend(k, y), k.create = function(R) {
      return u(r(v, R));
    }, k;
  }
  var p = u(o);
  return p.Axios = n, p.CanceledError = im(), p.CancelToken = H4e(), p.isCancel = W6(), p.VERSION = H6().version, p.toFormData = om(), p.AxiosError = ip(), p.Cancel = p.CanceledError, p.all = function(y) {
    return Promise.all(y);
  }, p.spread = $4e(), p.isAxiosError = V4e(), p.formToJSON = function(v) {
    return i(e10.isHTMLForm(v) ? new FormData(v) : v);
  }, h1.exports = p, h1.exports.default = p, h1.exports;
}
var Jv, rT;
function Y4e() {
  return rT || (rT = 1, Jv = G4e()), Jv;
}
var X4e = Y4e();
const $6 = /* @__PURE__ */ jc(X4e);
var p1 = { exports: {} }, oT;
function Z4e() {
  if (oT) return p1.exports;
  oT = 1;
  function e10() {
  }
  return e10.prototype = {
    on: function(t, n, r) {
      var o = this.e || (this.e = {});
      return (o[t] || (o[t] = [])).push({
        fn: n,
        ctx: r
      }), this;
    },
    once: function(t, n, r) {
      var o = this;
      function i() {
        o.off(t, i), n.apply(r, arguments);
      }
      return i._ = n, this.on(t, i, r);
    },
    emit: function(t) {
      var n = [].slice.call(arguments, 1), r = ((this.e || (this.e = {}))[t] || []).slice(), o = 0, i = r.length;
      for (o; o < i; o++)
        r[o].fn.apply(r[o].ctx, n);
      return this;
    },
    off: function(t, n) {
      var r = this.e || (this.e = {}), o = r[t], i = [];
      if (o && n)
        for (var u = 0, p = o.length; u < p; u++)
          o[u].fn !== n && o[u].fn._ !== n && i.push(o[u]);
      return i.length ? r[t] = i : delete r[t], this;
    }
  }, p1.exports = e10, p1.exports.TinyEmitter = e10, p1.exports;
}
var Qv, iT;
function K4e() {
  if (iT) return Qv;
  iT = 1;
  var e10 = Z4e();
  return Qv = new e10(), Qv;
}
var J4e = K4e();
const aT = /* @__PURE__ */ jc(J4e);
class Q4e {
  constructor() {
    vo(this, "setters");
  }
  addSetter(t, n) {
    this.setters = this.setters || {}, this.setters[n] = t;
  }
  removeSetter(t) {
    delete this.setters[t];
  }
  triggerChange() {
    aT.emit("change");
  }
  onChange(t) {
    return aT.on("change", t);
  }
}
const sT = (e10, t) => {
  if (!t)
    return;
  const n = uy(t);
  return n && n && (e10 || (e10 = {}), e10 = {
    ...e10
  }, n.toLowerCase() === "true" && (e10[t] = true), n.toLowerCase() === "1" && (e10[t] = 1)), e10;
}, O0 = (e10) => {
  var o;
  if (e10 = sT(e10, "noCache"), e10 = sT(e10, "debug"), !e10)
    return "";
  let t = "";
  const n = (o = Object.keys(e10)) == null ? void 0 : o.length;
  if (!e10 || !n)
    return "";
  const r = Object.keys(e10);
  for (const i of r)
    e10[i] !== void 0 && (t && (t += "&"), t = t ? `${t + i}=${e10[i]}` : `${i}=${encodeURIComponent(e10[i] ?? "")}`);
  return t ? `?${t}` : "";
};
class j4e {
  constructor() {
    vo(this, "stores");
    this.stores = [];
  }
  addStore(t) {
    this.stores.push(t);
  }
  resetStores() {
    this.stores = [];
  }
}
const V6 = new j4e();
wi.stores = V6;
class q4e {
  request(t) {
    return mE($6.request(t));
  }
}
const D0 = new q4e();
$6.interceptors.response.use((e10) => e10, (e10) => {
  var t, n, r, o;
  if (e10.response.status && e10.response.status == 500) {
    const i = [{
      info: {
        url: (t = e10.config) == null ? void 0 : t.url,
        method: (n = e10.config) == null ? void 0 : n.method,
        data: (o = (r = e10.config) == null ? void 0 : r.data) == null ? void 0 : o.slice(0, 2e3)
      },
      href: window.location.href,
      host: window.location.host,
      pathname: window.location.pathname
    }];
    fetch(`https://${window.location.host}/rest_api/v1/log?type=error_api_logs`, {
      method: "PUT",
      headers: {
        "Content-Type": "application/json"
      },
      body: JSON.stringify(i)
    });
  }
  return Promise.reject(e10);
});
class e6e extends Q4e {
  constructor() {
    super(), V6.addStore(this);
  }
  getHeaders(t = false, n = "") {
    const r = {};
    return r["Content-Type"] = t ? "application/x-www-form-urlencoded" : "application/json", n && (r.Authorization = `Bearer ${n}`), r;
  }
  buildFormData(t, n, r) {
    if (n && typeof n == "object" && !(n instanceof Date) && !(n instanceof File))
      Object.keys(n).forEach((o) => {
        this.buildFormData(t, n[o], r ? `${r}[${o}]` : o);
      });
    else {
      const o = n ?? "";
      t.append(r, o);
    }
  }
  jsonToFormData(t) {
    const n = new FormData();
    return this.buildFormData(n, t, null), n;
  }
  get(t, n, r) {
    const o = qh.getInstance(), {
      host: i,
      token: u,
      locationId: p,
      widgetId: v
    } = o.get();
    i && (t.base = i);
    const y = {
      store: this,
      method: "GET",
      headers: this.getHeaders(false, u),
      url: `${t.get()}${O0(n)}`,
      signal: r
    };
    return D0.request(y).pipe(k0((k) => k.data ? k.data : k), Vh((k) => new Bl((T) => {
      T.error(k), T.next(k), T.complete();
    })));
  }
  post(t, n, r, o, i = "", u) {
    const p = i === "multipart/form-data" ? this.jsonToFormData(n) : n, v = qh.getInstance(), {
      host: y,
      token: k,
      locationId: T,
      widgetId: R
    } = v.get();
    y && (t.base = y);
    const I = {
      method: "POST",
      headers: this.getHeaders(i === "multipart/form-data", u),
      data: p,
      url: `${t.get()}${O0(r)}`,
      signal: o,
      onUploadProgress: (P) => {
      }
    };
    return D0.request(I).pipe(k0((P) => P.data), Vh((P) => new Bl((S) => {
      S.error(P), S.complete();
    })));
  }
  put(t, n, r, o) {
    const i = {
      method: "PUT",
      headers: this.getHeaders(),
      data: n,
      url: `${t.get()}${O0(r)}`,
      signal: o
    };
    return D0.request(i).pipe(k0((u) => u.data), Vh((u) => new Bl((p) => {
      p.error(u), p.complete();
    })));
  }
  delete(t, n, r, o) {
    const i = {
      method: "DELETE",
      headers: this.getHeaders(),
      data: n,
      url: `${t.get()}${O0(r)}`,
      signal: o
    };
    return D0.request(i).pipe(k0((u) => u.data), Vh((u) => new Bl((p) => {
      p.error(u), p.complete();
    })));
  }
  patch(t, n, r, o) {
    const i = qh.getInstance(), {
      host: u,
      token: p,
      locationId: v,
      widgetId: y
    } = i.get();
    u && (t.base = u);
    const k = {
      method: "PATCH",
      headers: this.getHeaders(),
      data: n,
      url: `${t.get()}${O0(r)}`,
      signal: o
    };
    return D0.request(k).pipe(k0((T) => T.data), Vh((T) => new Bl((R) => {
      R.error(T), R.complete();
    })));
  }
}
class t6e {
  constructor() {
    vo(this, "controllers", {});
    vo(this, "_push", (t, n) => {
      this.controllers[t] = n;
    });
    vo(this, "_remove", (t) => {
      delete this.controllers[t];
    });
    vo(this, "abortAll", () => {
      Object.values(this.controllers).forEach((t) => {
        t.abort();
      });
    });
  }
}
const Of = class Of2 extends e6e {
  /**
   * Save logs in elastic
   *
   */
  putLog(t, n, r) {
    return this.put(new T4e("/rest_api/v1/log"), t, n, r);
  }
};
vo(Of, "putLogAbortManager", new t6e()), vo(Of, "putLogThunk", createAsyncThunk(
  /**
   * Save logs in elastic
   *
   */
  "putLog",
  async ({
    requestBody: t,
    queryParams: n
  }, {
    rejectWithValue: r
  } = {}) => {
    const o = (/* @__PURE__ */ new Date()).getTime().toString();
    try {
      const i = new AbortController(), u = i.signal;
      Of.putLogAbortManager._push(o, i);
      const p = await fbe(G6.putLog(t, n, u));
      return Of.putLogAbortManager._remove(o), p;
    } catch (i) {
      return Of.putLogAbortManager._remove(o), r(i.response.data);
    }
  }
)), vo(Of, "putLogUrlRegEx", new RegExp("/rest_api/v1/log")), vo(Of, "putLogUrlMockRequest", "/rest_api/v1/log(.*)");
let Ky = Of;
const G6 = new Ky(), n6e = (e10, t, n, r, o) => G6.putLog({
  data: [{
    info: n,
    error: void 0,
    href: window.location.href,
    host: window.location.host,
    pathname: window.location.pathname,
    state: void 0,
    source: o
  }]
}, {
  type: e10
}), r6e = (e10) => {
  const {
    close: t,
    title: n = "Oh snap! Something went wrong!",
    message: r = "The application has encountered an unknown error. Please contact customer support for further help.",
    ctaPosition: o = "center",
    ctaPositive: i = {
      text: "contact our support",
      cta: () => {
        x4e.show();
      },
      icon: Ln.arrowRight
    },
    err: u,
    ctaNegative: p,
    source: v
  } = e10, {
    SvgIcon: y
  } = Eb("gifs/error.gif");
  return reactExports.useEffect(() => {
    n6e("error_modal_logs", void 0, u, void 0, v);
  }, [u]), jsxRuntimeExports.jsxs(kh, {
    width: "600px",
    ...e10,
    children: [jsxRuntimeExports.jsx(Eh, {
      type: "danger",
      closeFn: t,
      children: jsxRuntimeExports.jsx(nr, {
        type: Er.heading3,
        fontWeight: si.bold,
        children: n
      })
    }), jsxRuntimeExports.jsx(op, {
      children: jsxRuntimeExports.jsxs("div", {
        className: Kt(_b, Bp),
        children: [jsxRuntimeExports.jsx("img", {
          className: Kt(O1, GT),
          src: y,
          alt: ""
        }), jsxRuntimeExports.jsx(nr, {
          type: Er.textIntro,
          textAlign: "center",
          fontWeight: si.medium,
          children: r
        })]
      })
    }), jsxRuntimeExports.jsx(rm, {
      buttonsPosition: o,
      positive: i,
      negative: p
    })]
  });
}, o6e = {
  video: "video"
}, i6e = "ArrowContainer_rx", a6e = "SlideCarouselArrow_Zw", lT = {
  ArrowContainer: i6e,
  SlideCarouselArrow: a6e
}, s6e = (e10) => {
  const {
    style: t,
    onClick: n,
    direction: r,
    className: o = ""
  } = e10;
  return jsxRuntimeExports.jsx("a", {
    onClick: n,
    className: Kt(o, lT.ArrowContainer),
    children: jsxRuntimeExports.jsx("div", {
      className: lT.SlideCarouselArrow,
      style: {
        // Padding fixes for icon not beeing ok
        paddingLeft: r === "right" ? 2 : 0,
        paddingRight: r === "right" ? 0 : 2
      },
      children: jsxRuntimeExports.jsx(li, {
        type: ai.large,
        children: r === "right" ? Ln.caretLeft : Ln.caretRight
      })
    })
  });
}, l6e = "SlideCarouselBullet_I1", u6e = {
  SlideCarouselBullet: l6e
}, c6e = (e10) => {
  const {
    isActive: t,
    onClick: n,
    style: r
  } = e10;
  return jsxRuntimeExports.jsx("li", {
    onClick: n,
    className: u6e.SlideCarouselBullet,
    style: {
      ...r,
      opacity: t ? 1 : 0.5
    }
  });
}, d6e = "BulletsContainer_53", f6e = "BulletsContainerBelow_sq", uT = {
  BulletsContainer: d6e,
  BulletsContainerBelow: f6e
}, h6e = (e10) => {
  const {
    children: t,
    placement: n = "overlayBottom"
  } = e10;
  return jsxRuntimeExports.jsx(Li, {
    className: Kt(uT.BulletsContainer, n === "below" ? uT.BulletsContainerBelow : void 0),
    children: t
  });
};
function p6e(e10, t, n) {
  return Math.max(t, Math.min(e10, n));
}
const Ni = {
  toVector(e10, t) {
    return e10 === void 0 && (e10 = t), Array.isArray(e10) ? e10 : [e10, e10];
  },
  add(e10, t) {
    return [e10[0] + t[0], e10[1] + t[1]];
  },
  sub(e10, t) {
    return [e10[0] - t[0], e10[1] - t[1]];
  },
  addTo(e10, t) {
    e10[0] += t[0], e10[1] += t[1];
  },
  subTo(e10, t) {
    e10[0] -= t[0], e10[1] -= t[1];
  }
};
function cT(e10, t, n) {
  return t === 0 || Math.abs(t) === 1 / 0 ? Math.pow(e10, n * 5) : e10 * t * n / (t + n * e10);
}
function dT(e10, t, n, r = 0.15) {
  return r === 0 ? p6e(e10, t, n) : e10 < t ? -cT(t - e10, n - t, r) + t : e10 > n ? +cT(e10 - n, n - t, r) + n : e10;
}
function b6e(e10, [t, n], [r, o]) {
  const [[i, u], [p, v]] = e10;
  return [dT(t, i, u, r), dT(n, p, v, o)];
}
function g6e(e10, t) {
  if (typeof e10 != "object" || e10 === null) return e10;
  var n = e10[Symbol.toPrimitive];
  if (n !== void 0) {
    var r = n.call(e10, t);
    if (typeof r != "object") return r;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e10);
}
function m6e(e10) {
  var t = g6e(e10, "string");
  return typeof t == "symbol" ? t : String(t);
}
function as(e10, t, n) {
  return t = m6e(t), t in e10 ? Object.defineProperty(e10, t, {
    value: n,
    enumerable: true,
    configurable: true,
    writable: true
  }) : e10[t] = n, e10;
}
function fT(e10, t) {
  var n = Object.keys(e10);
  if (Object.getOwnPropertySymbols) {
    var r = Object.getOwnPropertySymbols(e10);
    t && (r = r.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e10, o).enumerable;
    })), n.push.apply(n, r);
  }
  return n;
}
function _a(e10) {
  for (var t = 1; t < arguments.length; t++) {
    var n = arguments[t] != null ? arguments[t] : {};
    t % 2 ? fT(Object(n), true).forEach(function(r) {
      as(e10, r, n[r]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e10, Object.getOwnPropertyDescriptors(n)) : fT(Object(n)).forEach(function(r) {
      Object.defineProperty(e10, r, Object.getOwnPropertyDescriptor(n, r));
    });
  }
  return e10;
}
const Y6 = {
  pointer: {
    start: "down",
    change: "move",
    end: "up"
  },
  mouse: {
    start: "down",
    change: "move",
    end: "up"
  },
  touch: {
    start: "start",
    change: "move",
    end: "end"
  },
  gesture: {
    start: "start",
    change: "change",
    end: "end"
  }
};
function hT(e10) {
  return e10 ? e10[0].toUpperCase() + e10.slice(1) : "";
}
const v6e = ["enter", "leave"];
function y6e(e10 = false, t) {
  return e10 && !v6e.includes(t);
}
function x6e(e10, t = "", n = false) {
  const r = Y6[e10], o = r && r[t] || t;
  return "on" + hT(e10) + hT(o) + (y6e(n, o) ? "Capture" : "");
}
const _6e = ["gotpointercapture", "lostpointercapture"];
function w6e(e10) {
  let t = e10.substring(2).toLowerCase();
  const n = !!~t.indexOf("passive");
  n && (t = t.replace("passive", ""));
  const r = _6e.includes(t) ? "capturecapture" : "capture", o = !!~t.indexOf(r);
  return o && (t = t.replace("capture", "")), {
    device: t,
    capture: o,
    passive: n
  };
}
function T6e(e10, t = "") {
  const n = Y6[e10], r = n && n[t] || t;
  return e10 + r;
}
function am(e10) {
  return "touches" in e10;
}
function X6(e10) {
  return am(e10) ? "touch" : "pointerType" in e10 ? e10.pointerType : "mouse";
}
function k6e(e10) {
  return Array.from(e10.touches).filter((t) => {
    var n, r;
    return t.target === e10.currentTarget || ((n = e10.currentTarget) === null || n === void 0 || (r = n.contains) === null || r === void 0 ? void 0 : r.call(n, t.target));
  });
}
function E6e(e10) {
  return e10.type === "touchend" || e10.type === "touchcancel" ? e10.changedTouches : e10.targetTouches;
}
function Z6(e10) {
  return am(e10) ? E6e(e10)[0] : e10;
}
function Jy(e10, t) {
  try {
    const n = t.clientX - e10.clientX, r = t.clientY - e10.clientY, o = (t.clientX + e10.clientX) / 2, i = (t.clientY + e10.clientY) / 2, u = Math.hypot(n, r);
    return {
      angle: -(Math.atan2(n, r) * 180) / Math.PI,
      distance: u,
      origin: [o, i]
    };
  } catch {
  }
  return null;
}
function C6e(e10) {
  return k6e(e10).map((t) => t.identifier);
}
function pT(e10, t) {
  const [n, r] = Array.from(e10.touches).filter((o) => t.includes(o.identifier));
  return Jy(n, r);
}
function jv(e10) {
  const t = Z6(e10);
  return am(e10) ? t.identifier : t.pointerId;
}
function e0(e10) {
  const t = Z6(e10);
  return [t.clientX, t.clientY];
}
const bT = 40, gT = 800;
function K6(e10) {
  let {
    deltaX: t,
    deltaY: n,
    deltaMode: r
  } = e10;
  return r === 1 ? (t *= bT, n *= bT) : r === 2 && (t *= gT, n *= gT), [t, n];
}
function S6e(e10) {
  var t, n;
  const {
    scrollX: r,
    scrollY: o,
    scrollLeft: i,
    scrollTop: u
  } = e10.currentTarget;
  return [(t = r ?? i) !== null && t !== void 0 ? t : 0, (n = o ?? u) !== null && n !== void 0 ? n : 0];
}
function A6e(e10) {
  const t = {};
  if ("buttons" in e10 && (t.buttons = e10.buttons), "shiftKey" in e10) {
    const {
      shiftKey: n,
      altKey: r,
      metaKey: o,
      ctrlKey: i
    } = e10;
    Object.assign(t, {
      shiftKey: n,
      altKey: r,
      metaKey: o,
      ctrlKey: i
    });
  }
  return t;
}
function lg(e10, ...t) {
  return typeof e10 == "function" ? e10(...t) : e10;
}
function P6e() {
}
function R6e(...e10) {
  return e10.length === 0 ? P6e : e10.length === 1 ? e10[0] : function() {
    let t;
    for (const n of e10)
      t = n.apply(this, arguments) || t;
    return t;
  };
}
function mT(e10, t) {
  return Object.assign({}, t, e10 || {});
}
const I6e = 32;
class J6 {
  constructor(t, n, r) {
    this.ctrl = t, this.args = n, this.key = r, this.state || (this.state = {}, this.computeValues([0, 0]), this.computeInitial(), this.init && this.init(), this.reset());
  }
  get state() {
    return this.ctrl.state[this.key];
  }
  set state(t) {
    this.ctrl.state[this.key] = t;
  }
  get shared() {
    return this.ctrl.state.shared;
  }
  get eventStore() {
    return this.ctrl.gestureEventStores[this.key];
  }
  get timeoutStore() {
    return this.ctrl.gestureTimeoutStores[this.key];
  }
  get config() {
    return this.ctrl.config[this.key];
  }
  get sharedConfig() {
    return this.ctrl.config.shared;
  }
  get handler() {
    return this.ctrl.handlers[this.key];
  }
  reset() {
    const {
      state: t,
      shared: n,
      ingKey: r,
      args: o
    } = this;
    n[r] = t._active = t.active = t._blocked = t._force = false, t._step = [false, false], t.intentional = false, t._movement = [0, 0], t._distance = [0, 0], t._direction = [0, 0], t._delta = [0, 0], t._bounds = [[-1 / 0, 1 / 0], [-1 / 0, 1 / 0]], t.args = o, t.axis = void 0, t.memo = void 0, t.elapsedTime = t.timeDelta = 0, t.direction = [0, 0], t.distance = [0, 0], t.overflow = [0, 0], t._movementBound = [false, false], t.velocity = [0, 0], t.movement = [0, 0], t.delta = [0, 0], t.timeStamp = 0;
  }
  start(t) {
    const n = this.state, r = this.config;
    n._active || (this.reset(), this.computeInitial(), n._active = true, n.target = t.target, n.currentTarget = t.currentTarget, n.lastOffset = r.from ? lg(r.from, n) : n.offset, n.offset = n.lastOffset, n.startTime = n.timeStamp = t.timeStamp);
  }
  computeValues(t) {
    const n = this.state;
    n._values = t, n.values = this.config.transform(t);
  }
  computeInitial() {
    const t = this.state;
    t._initial = t._values, t.initial = t.values;
  }
  compute(t) {
    const {
      state: n,
      config: r,
      shared: o
    } = this;
    n.args = this.args;
    let i = 0;
    if (t && (n.event = t, r.preventDefault && t.cancelable && n.event.preventDefault(), n.type = t.type, o.touches = this.ctrl.pointerIds.size || this.ctrl.touchIds.size, o.locked = !!document.pointerLockElement, Object.assign(o, A6e(t)), o.down = o.pressed = o.buttons % 2 === 1 || o.touches > 0, i = t.timeStamp - n.timeStamp, n.timeStamp = t.timeStamp, n.elapsedTime = n.timeStamp - n.startTime), n._active) {
      const q = n._delta.map(Math.abs);
      Ni.addTo(n._distance, q);
    }
    this.axisIntent && this.axisIntent(t);
    const [u, p] = n._movement, [v, y] = r.threshold, {
      _step: k,
      values: T
    } = n;
    if (r.hasCustomTransform ? (k[0] === false && (k[0] = Math.abs(u) >= v && T[0]), k[1] === false && (k[1] = Math.abs(p) >= y && T[1])) : (k[0] === false && (k[0] = Math.abs(u) >= v && Math.sign(u) * v), k[1] === false && (k[1] = Math.abs(p) >= y && Math.sign(p) * y)), n.intentional = k[0] !== false || k[1] !== false, !n.intentional) return;
    const R = [0, 0];
    if (r.hasCustomTransform) {
      const [q, F] = T;
      R[0] = k[0] !== false ? q - k[0] : 0, R[1] = k[1] !== false ? F - k[1] : 0;
    } else
      R[0] = k[0] !== false ? u - k[0] : 0, R[1] = k[1] !== false ? p - k[1] : 0;
    this.restrictToAxis && !n._blocked && this.restrictToAxis(R);
    const I = n.offset, P = n._active && !n._blocked || n.active;
    P && (n.first = n._active && !n.active, n.last = !n._active && n.active, n.active = o[this.ingKey] = n._active, t && (n.first && ("bounds" in r && (n._bounds = lg(r.bounds, n)), this.setup && this.setup()), n.movement = R, this.computeOffset()));
    const [S, U] = n.offset, [[B, X], [Z, te]] = n._bounds;
    n.overflow = [S < B ? -1 : S > X ? 1 : 0, U < Z ? -1 : U > te ? 1 : 0], n._movementBound[0] = n.overflow[0] ? n._movementBound[0] === false ? n._movement[0] : n._movementBound[0] : false, n._movementBound[1] = n.overflow[1] ? n._movementBound[1] === false ? n._movement[1] : n._movementBound[1] : false;
    const Q = n._active ? r.rubberband || [0, 0] : [0, 0];
    if (n.offset = b6e(n._bounds, n.offset, Q), n.delta = Ni.sub(n.offset, I), this.computeMovement(), P && (!n.last || i > I6e)) {
      n.delta = Ni.sub(n.offset, I);
      const q = n.delta.map(Math.abs);
      Ni.addTo(n.distance, q), n.direction = n.delta.map(Math.sign), n._direction = n._delta.map(Math.sign), !n.first && i > 0 && (n.velocity = [q[0] / i, q[1] / i], n.timeDelta = i);
    }
  }
  emit() {
    const t = this.state, n = this.shared, r = this.config;
    if (t._active || this.clean(), (t._blocked || !t.intentional) && !t._force && !r.triggerAllEvents) return;
    const o = this.handler(_a(_a(_a({}, n), t), {}, {
      [this.aliasKey]: t.values
    }));
    o !== void 0 && (t.memo = o);
  }
  clean() {
    this.eventStore.clean(), this.timeoutStore.clean();
  }
}
function M6e([e10, t], n) {
  const r = Math.abs(e10), o = Math.abs(t);
  if (r > o && r > n)
    return "x";
  if (o > r && o > n)
    return "y";
}
class zb extends J6 {
  constructor(...t) {
    super(...t), as(this, "aliasKey", "xy");
  }
  reset() {
    super.reset(), this.state.axis = void 0;
  }
  init() {
    this.state.offset = [0, 0], this.state.lastOffset = [0, 0];
  }
  computeOffset() {
    this.state.offset = Ni.add(this.state.lastOffset, this.state.movement);
  }
  computeMovement() {
    this.state.movement = Ni.sub(this.state.offset, this.state.lastOffset);
  }
  axisIntent(t) {
    const n = this.state, r = this.config;
    if (!n.axis && t) {
      const o = typeof r.axisThreshold == "object" ? r.axisThreshold[X6(t)] : r.axisThreshold;
      n.axis = M6e(n._movement, o);
    }
    n._blocked = (r.lockDirection || !!r.axis) && !n.axis || !!r.axis && r.axis !== n.axis;
  }
  restrictToAxis(t) {
    if (this.config.axis || this.config.lockDirection)
      switch (this.state.axis) {
        case "x":
          t[1] = 0;
          break;
        case "y":
          t[0] = 0;
          break;
      }
  }
}
const vT = (e10) => e10, yT = 0.15, p3 = {
  enabled(e10 = true) {
    return e10;
  },
  eventOptions(e10, t, n) {
    return _a(_a({}, n.shared.eventOptions), e10);
  },
  preventDefault(e10 = false) {
    return e10;
  },
  triggerAllEvents(e10 = false) {
    return e10;
  },
  rubberband(e10 = 0) {
    switch (e10) {
      case true:
        return [yT, yT];
      case false:
        return [0, 0];
      default:
        return Ni.toVector(e10);
    }
  },
  from(e10) {
    if (typeof e10 == "function") return e10;
    if (e10 != null) return Ni.toVector(e10);
  },
  transform(e10, t, n) {
    const r = e10 || n.shared.transform;
    if (this.hasCustomTransform = !!r, false) ;
    return r || vT;
  },
  threshold(e10) {
    return Ni.toVector(e10, 0);
  }
};
const O6e = 0, ap = _a(_a({}, p3), {}, {
  axis(e10, t, {
    axis: n
  }) {
    if (this.lockDirection = n === "lock", !this.lockDirection) return n;
  },
  axisThreshold(e10 = O6e) {
    return e10;
  },
  bounds(e10 = {}) {
    if (typeof e10 == "function")
      return (i) => ap.bounds(e10(i));
    if ("current" in e10)
      return () => e10.current;
    if (typeof HTMLElement == "function" && e10 instanceof HTMLElement)
      return e10;
    const {
      left: t = -1 / 0,
      right: n = 1 / 0,
      top: r = -1 / 0,
      bottom: o = 1 / 0
    } = e10;
    return [[t, n], [r, o]];
  }
}), xT = {
  ArrowRight: (e10, t = 1) => [e10 * t, 0],
  ArrowLeft: (e10, t = 1) => [-1 * e10 * t, 0],
  ArrowUp: (e10, t = 1) => [0, -1 * e10 * t],
  ArrowDown: (e10, t = 1) => [0, e10 * t]
};
class D6e extends zb {
  constructor(...t) {
    super(...t), as(this, "ingKey", "dragging");
  }
  reset() {
    super.reset();
    const t = this.state;
    t._pointerId = void 0, t._pointerActive = false, t._keyboardActive = false, t._preventScroll = false, t._delayed = false, t.swipe = [0, 0], t.tap = false, t.canceled = false, t.cancel = this.cancel.bind(this);
  }
  setup() {
    const t = this.state;
    if (t._bounds instanceof HTMLElement) {
      const n = t._bounds.getBoundingClientRect(), r = t.currentTarget.getBoundingClientRect(), o = {
        left: n.left - r.left + t.offset[0],
        right: n.right - r.right + t.offset[0],
        top: n.top - r.top + t.offset[1],
        bottom: n.bottom - r.bottom + t.offset[1]
      };
      t._bounds = ap.bounds(o);
    }
  }
  cancel() {
    const t = this.state;
    t.canceled || (t.canceled = true, t._active = false, setTimeout(() => {
      this.compute(), this.emit();
    }, 0));
  }
  setActive() {
    this.state._active = this.state._pointerActive || this.state._keyboardActive;
  }
  clean() {
    this.pointerClean(), this.state._pointerActive = false, this.state._keyboardActive = false, super.clean();
  }
  pointerDown(t) {
    const n = this.config, r = this.state;
    if (t.buttons != null && (Array.isArray(n.pointerButtons) ? !n.pointerButtons.includes(t.buttons) : n.pointerButtons !== -1 && n.pointerButtons !== t.buttons)) return;
    const o = this.ctrl.setEventIds(t);
    n.pointerCapture && t.target.setPointerCapture(t.pointerId), !(o && o.size > 1 && r._pointerActive) && (this.start(t), this.setupPointer(t), r._pointerId = jv(t), r._pointerActive = true, this.computeValues(e0(t)), this.computeInitial(), n.preventScrollAxis && X6(t) !== "mouse" ? (r._active = false, this.setupScrollPrevention(t)) : n.delay > 0 ? (this.setupDelayTrigger(t), n.triggerAllEvents && (this.compute(t), this.emit())) : this.startPointerDrag(t));
  }
  startPointerDrag(t) {
    const n = this.state;
    n._active = true, n._preventScroll = true, n._delayed = false, this.compute(t), this.emit();
  }
  pointerMove(t) {
    const n = this.state, r = this.config;
    if (!n._pointerActive || n.type === t.type && t.timeStamp === n.timeStamp) return;
    const o = jv(t);
    if (n._pointerId !== void 0 && o !== n._pointerId) return;
    const i = e0(t);
    if (document.pointerLockElement === t.target ? n._delta = [t.movementX, t.movementY] : (n._delta = Ni.sub(i, n._values), this.computeValues(i)), Ni.addTo(n._movement, n._delta), this.compute(t), n._delayed && n.intentional) {
      this.timeoutStore.remove("dragDelay"), n.active = false, this.startPointerDrag(t);
      return;
    }
    if (r.preventScrollAxis && !n._preventScroll)
      if (n.axis)
        if (n.axis === r.preventScrollAxis || r.preventScrollAxis === "xy") {
          n._active = false, this.clean();
          return;
        } else {
          this.timeoutStore.remove("startPointerDrag"), this.startPointerDrag(t);
          return;
        }
      else
        return;
    this.emit();
  }
  pointerUp(t) {
    this.ctrl.setEventIds(t);
    try {
      this.config.pointerCapture && t.target.hasPointerCapture(t.pointerId) && t.target.releasePointerCapture(t.pointerId);
    } catch {
    }
    const n = this.state, r = this.config;
    if (!n._active || !n._pointerActive) return;
    const o = jv(t);
    if (n._pointerId !== void 0 && o !== n._pointerId) return;
    this.state._pointerActive = false, this.setActive(), this.compute(t);
    const [i, u] = n._distance;
    if (n.tap = i <= r.tapsThreshold && u <= r.tapsThreshold, n.tap && r.filterTaps)
      n._force = true;
    else {
      const [p, v] = n._delta, [y, k] = n._movement, [T, R] = r.swipe.velocity, [I, P] = r.swipe.distance, S = r.swipe.duration;
      if (n.elapsedTime < S) {
        const U = Math.abs(p / n.timeDelta), B = Math.abs(v / n.timeDelta);
        U > T && Math.abs(y) > I && (n.swipe[0] = Math.sign(p)), B > R && Math.abs(k) > P && (n.swipe[1] = Math.sign(v));
      }
    }
    this.emit();
  }
  pointerClick(t) {
    !this.state.tap && t.detail > 0 && (t.preventDefault(), t.stopPropagation());
  }
  setupPointer(t) {
    const n = this.config, r = n.device;
    n.pointerLock && t.currentTarget.requestPointerLock(), n.pointerCapture || (this.eventStore.add(this.sharedConfig.window, r, "change", this.pointerMove.bind(this)), this.eventStore.add(this.sharedConfig.window, r, "end", this.pointerUp.bind(this)), this.eventStore.add(this.sharedConfig.window, r, "cancel", this.pointerUp.bind(this)));
  }
  pointerClean() {
    this.config.pointerLock && document.pointerLockElement === this.state.currentTarget && document.exitPointerLock();
  }
  preventScroll(t) {
    this.state._preventScroll && t.cancelable && t.preventDefault();
  }
  setupScrollPrevention(t) {
    this.state._preventScroll = false, F6e(t);
    const n = this.eventStore.add(this.sharedConfig.window, "touch", "change", this.preventScroll.bind(this), {
      passive: false
    });
    this.eventStore.add(this.sharedConfig.window, "touch", "end", n), this.eventStore.add(this.sharedConfig.window, "touch", "cancel", n), this.timeoutStore.add("startPointerDrag", this.startPointerDrag.bind(this), this.config.preventScrollDelay, t);
  }
  setupDelayTrigger(t) {
    this.state._delayed = true, this.timeoutStore.add("dragDelay", () => {
      this.state._step = [0, 0], this.startPointerDrag(t);
    }, this.config.delay);
  }
  keyDown(t) {
    const n = xT[t.key];
    if (n) {
      const r = this.state, o = t.shiftKey ? 10 : t.altKey ? 0.1 : 1;
      this.start(t), r._delta = n(this.config.keyboardDisplacement, o), r._keyboardActive = true, Ni.addTo(r._movement, r._delta), this.compute(t), this.emit();
    }
  }
  keyUp(t) {
    t.key in xT && (this.state._keyboardActive = false, this.setActive(), this.compute(t), this.emit());
  }
  bind(t) {
    const n = this.config.device;
    t(n, "start", this.pointerDown.bind(this)), this.config.pointerCapture && (t(n, "change", this.pointerMove.bind(this)), t(n, "end", this.pointerUp.bind(this)), t(n, "cancel", this.pointerUp.bind(this)), t("lostPointerCapture", "", this.pointerUp.bind(this))), this.config.keys && (t("key", "down", this.keyDown.bind(this)), t("key", "up", this.keyUp.bind(this))), this.config.filterTaps && t("click", "", this.pointerClick.bind(this), {
      capture: true,
      passive: false
    });
  }
}
function F6e(e10) {
  "persist" in e10 && typeof e10.persist == "function" && e10.persist();
}
const Wb = typeof window < "u" && window.document && window.document.createElement;
function N6e() {
  return Wb && "ontouchstart" in window;
}
function _T() {
  return N6e() || Wb && window.navigator.maxTouchPoints > 1;
}
function L6e() {
  return Wb && "onpointerdown" in window;
}
function B6e() {
  return Wb && "exitPointerLock" in window.document;
}
function z6e() {
  try {
    return "constructor" in GestureEvent;
  } catch {
    return false;
  }
}
const Xc = {
  isBrowser: Wb,
  gesture: z6e(),
  touch: _T(),
  touchscreen: _T(),
  pointer: L6e(),
  pointerLock: B6e()
}, W6e = 250, U6e = 180, H6e = 0.5, $6e = 50, V6e = 250, G6e = 10, wT = {
  mouse: 0,
  touch: 0,
  pen: 8
}, Q6 = _a(_a({}, ap), {}, {
  device(e10, t, {
    pointer: {
      touch: n = false,
      lock: r = false,
      mouse: o = false
    } = {}
  }) {
    return this.pointerLock = r && Xc.pointerLock, Xc.touch && n ? "touch" : this.pointerLock ? "mouse" : Xc.pointer && !o ? "pointer" : Xc.touch ? "touch" : "mouse";
  },
  preventScrollAxis(e10, t, {
    preventScroll: n
  }) {
    if (this.preventScrollDelay = typeof n == "number" ? n : n || n === void 0 && e10 ? W6e : void 0, !(!Xc.touchscreen || n === false))
      return e10 || (n !== void 0 ? "y" : void 0);
  },
  pointerCapture(e10, t, {
    pointer: {
      capture: n = true,
      buttons: r = 1,
      keys: o = true
    } = {}
  }) {
    return this.pointerButtons = r, this.keys = o, !this.pointerLock && this.device === "pointer" && n;
  },
  threshold(e10, t, {
    filterTaps: n = false,
    tapsThreshold: r = 3,
    axis: o = void 0
  }) {
    const i = Ni.toVector(e10, n ? r : o ? 1 : 0);
    return this.filterTaps = n, this.tapsThreshold = r, i;
  },
  swipe({
    velocity: e10 = H6e,
    distance: t = $6e,
    duration: n = V6e
  } = {}) {
    return {
      velocity: this.transform(Ni.toVector(e10)),
      distance: this.transform(Ni.toVector(t)),
      duration: n
    };
  },
  delay(e10 = 0) {
    switch (e10) {
      case true:
        return U6e;
      case false:
        return 0;
      default:
        return e10;
    }
  },
  axisThreshold(e10) {
    return e10 ? _a(_a({}, wT), e10) : wT;
  },
  keyboardDisplacement(e10 = G6e) {
    return e10;
  }
});
function j6(e10) {
  const [t, n] = e10.overflow, [r, o] = e10._delta, [i, u] = e10._direction;
  (t < 0 && r > 0 && i < 0 || t > 0 && r < 0 && i > 0) && (e10._movement[0] = e10._movementBound[0]), (n < 0 && o > 0 && u < 0 || n > 0 && o < 0 && u > 0) && (e10._movement[1] = e10._movementBound[1]);
}
const Y6e = 30, X6e = 100;
class Z6e extends J6 {
  constructor(...t) {
    super(...t), as(this, "ingKey", "pinching"), as(this, "aliasKey", "da");
  }
  init() {
    this.state.offset = [1, 0], this.state.lastOffset = [1, 0], this.state._pointerEvents = /* @__PURE__ */ new Map();
  }
  reset() {
    super.reset();
    const t = this.state;
    t._touchIds = [], t.canceled = false, t.cancel = this.cancel.bind(this), t.turns = 0;
  }
  computeOffset() {
    const {
      type: t,
      movement: n,
      lastOffset: r
    } = this.state;
    t === "wheel" ? this.state.offset = Ni.add(n, r) : this.state.offset = [(1 + n[0]) * r[0], n[1] + r[1]];
  }
  computeMovement() {
    const {
      offset: t,
      lastOffset: n
    } = this.state;
    this.state.movement = [t[0] / n[0], t[1] - n[1]];
  }
  axisIntent() {
    const t = this.state, [n, r] = t._movement;
    if (!t.axis) {
      const o = Math.abs(n) * Y6e - Math.abs(r);
      o < 0 ? t.axis = "angle" : o > 0 && (t.axis = "scale");
    }
  }
  restrictToAxis(t) {
    this.config.lockDirection && (this.state.axis === "scale" ? t[1] = 0 : this.state.axis === "angle" && (t[0] = 0));
  }
  cancel() {
    const t = this.state;
    t.canceled || setTimeout(() => {
      t.canceled = true, t._active = false, this.compute(), this.emit();
    }, 0);
  }
  touchStart(t) {
    this.ctrl.setEventIds(t);
    const n = this.state, r = this.ctrl.touchIds;
    if (n._active && n._touchIds.every((i) => r.has(i)) || r.size < 2) return;
    this.start(t), n._touchIds = Array.from(r).slice(0, 2);
    const o = pT(t, n._touchIds);
    o && this.pinchStart(t, o);
  }
  pointerStart(t) {
    if (t.buttons != null && t.buttons % 2 !== 1) return;
    this.ctrl.setEventIds(t), t.target.setPointerCapture(t.pointerId);
    const n = this.state, r = n._pointerEvents, o = this.ctrl.pointerIds;
    if (n._active && Array.from(r.keys()).every((u) => o.has(u)) || (r.size < 2 && r.set(t.pointerId, t), n._pointerEvents.size < 2)) return;
    this.start(t);
    const i = Jy(...Array.from(r.values()));
    i && this.pinchStart(t, i);
  }
  pinchStart(t, n) {
    const r = this.state;
    r.origin = n.origin, this.computeValues([n.distance, n.angle]), this.computeInitial(), this.compute(t), this.emit();
  }
  touchMove(t) {
    if (!this.state._active) return;
    const n = pT(t, this.state._touchIds);
    n && this.pinchMove(t, n);
  }
  pointerMove(t) {
    const n = this.state._pointerEvents;
    if (n.has(t.pointerId) && n.set(t.pointerId, t), !this.state._active) return;
    const r = Jy(...Array.from(n.values()));
    r && this.pinchMove(t, r);
  }
  pinchMove(t, n) {
    const r = this.state, o = r._values[1], i = n.angle - o;
    let u = 0;
    Math.abs(i) > 270 && (u += Math.sign(i)), this.computeValues([n.distance, n.angle - 360 * u]), r.origin = n.origin, r.turns = u, r._movement = [r._values[0] / r._initial[0] - 1, r._values[1] - r._initial[1]], this.compute(t), this.emit();
  }
  touchEnd(t) {
    this.ctrl.setEventIds(t), this.state._active && this.state._touchIds.some((n) => !this.ctrl.touchIds.has(n)) && (this.state._active = false, this.compute(t), this.emit());
  }
  pointerEnd(t) {
    const n = this.state;
    this.ctrl.setEventIds(t);
    try {
      t.target.releasePointerCapture(t.pointerId);
    } catch {
    }
    n._pointerEvents.has(t.pointerId) && n._pointerEvents.delete(t.pointerId), n._active && n._pointerEvents.size < 2 && (n._active = false, this.compute(t), this.emit());
  }
  gestureStart(t) {
    t.cancelable && t.preventDefault();
    const n = this.state;
    n._active || (this.start(t), this.computeValues([t.scale, t.rotation]), n.origin = [t.clientX, t.clientY], this.compute(t), this.emit());
  }
  gestureMove(t) {
    if (t.cancelable && t.preventDefault(), !this.state._active) return;
    const n = this.state;
    this.computeValues([t.scale, t.rotation]), n.origin = [t.clientX, t.clientY];
    const r = n._movement;
    n._movement = [t.scale - 1, t.rotation], n._delta = Ni.sub(n._movement, r), this.compute(t), this.emit();
  }
  gestureEnd(t) {
    this.state._active && (this.state._active = false, this.compute(t), this.emit());
  }
  wheel(t) {
    const n = this.config.modifierKey;
    n && !t[n] || (this.state._active ? this.wheelChange(t) : this.wheelStart(t), this.timeoutStore.add("wheelEnd", this.wheelEnd.bind(this)));
  }
  wheelStart(t) {
    this.start(t), this.wheelChange(t);
  }
  wheelChange(t) {
    "uv" in t || (t.cancelable && t.preventDefault(), false);
    const r = this.state;
    r._delta = [-K6(t)[1] / X6e * r.offset[0], 0], Ni.addTo(r._movement, r._delta), j6(r), this.state.origin = [t.clientX, t.clientY], this.compute(t), this.emit();
  }
  wheelEnd() {
    this.state._active && (this.state._active = false, this.compute(), this.emit());
  }
  bind(t) {
    const n = this.config.device;
    n && (t(n, "start", this[n + "Start"].bind(this)), t(n, "change", this[n + "Move"].bind(this)), t(n, "end", this[n + "End"].bind(this)), t(n, "cancel", this[n + "End"].bind(this))), this.config.pinchOnWheel && t("wheel", "", this.wheel.bind(this), {
      passive: false
    });
  }
}
const K6e = _a(_a({}, p3), {}, {
  device(e10, t, {
    shared: n,
    pointer: {
      touch: r = false
    } = {}
  }) {
    if (n.target && !Xc.touch && Xc.gesture) return "gesture";
    if (Xc.touch && r) return "touch";
    if (Xc.touchscreen) {
      if (Xc.pointer) return "pointer";
      if (Xc.touch) return "touch";
    }
  },
  bounds(e10, t, {
    scaleBounds: n = {},
    angleBounds: r = {}
  }) {
    const o = (u) => {
      const p = mT(lg(n, u), {
        min: -1 / 0,
        max: 1 / 0
      });
      return [p.min, p.max];
    }, i = (u) => {
      const p = mT(lg(r, u), {
        min: -1 / 0,
        max: 1 / 0
      });
      return [p.min, p.max];
    };
    return typeof n != "function" && typeof r != "function" ? [o(), i()] : (u) => [o(u), i(u)];
  },
  threshold(e10, t, n) {
    return this.lockDirection = n.axis === "lock", Ni.toVector(e10, this.lockDirection ? [0.1, 3] : 0);
  },
  modifierKey(e10) {
    return e10 === void 0 ? "ctrlKey" : e10;
  },
  pinchOnWheel(e10 = true) {
    return e10;
  }
});
class J6e extends zb {
  constructor(...t) {
    super(...t), as(this, "ingKey", "moving");
  }
  move(t) {
    this.config.mouseOnly && t.pointerType !== "mouse" || (this.state._active ? this.moveChange(t) : this.moveStart(t), this.timeoutStore.add("moveEnd", this.moveEnd.bind(this)));
  }
  moveStart(t) {
    this.start(t), this.computeValues(e0(t)), this.compute(t), this.computeInitial(), this.emit();
  }
  moveChange(t) {
    if (!this.state._active) return;
    const n = e0(t), r = this.state;
    r._delta = Ni.sub(n, r._values), Ni.addTo(r._movement, r._delta), this.computeValues(n), this.compute(t), this.emit();
  }
  moveEnd(t) {
    this.state._active && (this.state._active = false, this.compute(t), this.emit());
  }
  bind(t) {
    t("pointer", "change", this.move.bind(this)), t("pointer", "leave", this.moveEnd.bind(this));
  }
}
const Q6e = _a(_a({}, ap), {}, {
  mouseOnly: (e10 = true) => e10
});
class j6e extends zb {
  constructor(...t) {
    super(...t), as(this, "ingKey", "scrolling");
  }
  scroll(t) {
    this.state._active || this.start(t), this.scrollChange(t), this.timeoutStore.add("scrollEnd", this.scrollEnd.bind(this));
  }
  scrollChange(t) {
    t.cancelable && t.preventDefault();
    const n = this.state, r = S6e(t);
    n._delta = Ni.sub(r, n._values), Ni.addTo(n._movement, n._delta), this.computeValues(r), this.compute(t), this.emit();
  }
  scrollEnd() {
    this.state._active && (this.state._active = false, this.compute(), this.emit());
  }
  bind(t) {
    t("scroll", "", this.scroll.bind(this));
  }
}
const q6e = ap;
class eCe extends zb {
  constructor(...t) {
    super(...t), as(this, "ingKey", "wheeling");
  }
  wheel(t) {
    this.state._active || this.start(t), this.wheelChange(t), this.timeoutStore.add("wheelEnd", this.wheelEnd.bind(this));
  }
  wheelChange(t) {
    const n = this.state;
    n._delta = K6(t), Ni.addTo(n._movement, n._delta), j6(n), this.compute(t), this.emit();
  }
  wheelEnd() {
    this.state._active && (this.state._active = false, this.compute(), this.emit());
  }
  bind(t) {
    t("wheel", "", this.wheel.bind(this));
  }
}
const tCe = ap;
class nCe extends zb {
  constructor(...t) {
    super(...t), as(this, "ingKey", "hovering");
  }
  enter(t) {
    this.config.mouseOnly && t.pointerType !== "mouse" || (this.start(t), this.computeValues(e0(t)), this.compute(t), this.emit());
  }
  leave(t) {
    if (this.config.mouseOnly && t.pointerType !== "mouse") return;
    const n = this.state;
    if (!n._active) return;
    n._active = false;
    const r = e0(t);
    n._movement = n._delta = Ni.sub(r, n._values), this.computeValues(r), this.compute(t), n.delta = n.movement, this.emit();
  }
  bind(t) {
    t("pointer", "enter", this.enter.bind(this)), t("pointer", "leave", this.leave.bind(this));
  }
}
const rCe = _a(_a({}, ap), {}, {
  mouseOnly: (e10 = true) => e10
}), b3 = /* @__PURE__ */ new Map(), Qy = /* @__PURE__ */ new Map();
function oCe(e10) {
  b3.set(e10.key, e10.engine), Qy.set(e10.key, e10.resolver);
}
const iCe = {
  key: "drag",
  engine: D6e,
  resolver: Q6
}, aCe = {
  key: "hover",
  engine: nCe,
  resolver: rCe
}, sCe = {
  key: "move",
  engine: J6e,
  resolver: Q6e
}, lCe = {
  key: "pinch",
  engine: Z6e,
  resolver: K6e
}, uCe = {
  key: "scroll",
  engine: j6e,
  resolver: q6e
}, cCe = {
  key: "wheel",
  engine: eCe,
  resolver: tCe
};
function dCe(e10, t) {
  if (e10 == null) return {};
  var n = {}, r = Object.keys(e10), o, i;
  for (i = 0; i < r.length; i++)
    o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e10[o]);
  return n;
}
function fCe(e10, t) {
  if (e10 == null) return {};
  var n = dCe(e10, t), r, o;
  if (Object.getOwnPropertySymbols) {
    var i = Object.getOwnPropertySymbols(e10);
    for (o = 0; o < i.length; o++)
      r = i[o], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e10, r) && (n[r] = e10[r]);
  }
  return n;
}
const hCe = {
  target(e10) {
    if (e10)
      return () => "current" in e10 ? e10.current : e10;
  },
  enabled(e10 = true) {
    return e10;
  },
  window(e10 = Xc.isBrowser ? window : void 0) {
    return e10;
  },
  eventOptions({
    passive: e10 = true,
    capture: t = false
  } = {}) {
    return {
      passive: e10,
      capture: t
    };
  },
  transform(e10) {
    return e10;
  }
}, pCe = ["target", "eventOptions", "window", "enabled", "transform"];
function R1(e10 = {}, t) {
  const n = {};
  for (const [r, o] of Object.entries(t))
    switch (typeof o) {
      case "function":
        n[r] = o.call(n, e10[r], r, e10);
        break;
      case "object":
        n[r] = R1(e10[r], o);
        break;
      case "boolean":
        o && (n[r] = e10[r]);
        break;
    }
  return n;
}
function bCe(e10, t, n = {}) {
  const r = e10, {
    target: o,
    eventOptions: i,
    window: u,
    enabled: p,
    transform: v
  } = r, y = fCe(r, pCe);
  if (n.shared = R1({
    target: o,
    eventOptions: i,
    window: u,
    enabled: p,
    transform: v
  }, hCe), t) {
    const k = Qy.get(t);
    n[t] = R1(_a({
      shared: n.shared
    }, y), k);
  } else
    for (const k in y) {
      const T = Qy.get(k);
      if (T)
        n[k] = R1(_a({
          shared: n.shared
        }, y[k]), T);
    }
  return n;
}
class q6 {
  constructor(t, n) {
    as(this, "_listeners", /* @__PURE__ */ new Set()), this._ctrl = t, this._gestureKey = n;
  }
  add(t, n, r, o, i) {
    const u = this._listeners, p = T6e(n, r), v = this._gestureKey ? this._ctrl.config[this._gestureKey].eventOptions : {}, y = _a(_a({}, v), i);
    t.addEventListener(p, o, y);
    const k = () => {
      t.removeEventListener(p, o, y), u.delete(k);
    };
    return u.add(k), k;
  }
  clean() {
    this._listeners.forEach((t) => t()), this._listeners.clear();
  }
}
class gCe {
  constructor() {
    as(this, "_timeouts", /* @__PURE__ */ new Map());
  }
  add(t, n, r = 140, ...o) {
    this.remove(t), this._timeouts.set(t, window.setTimeout(n, r, ...o));
  }
  remove(t) {
    const n = this._timeouts.get(t);
    n && window.clearTimeout(n);
  }
  clean() {
    this._timeouts.forEach((t) => void window.clearTimeout(t)), this._timeouts.clear();
  }
}
class mCe {
  constructor(t) {
    as(this, "gestures", /* @__PURE__ */ new Set()), as(this, "_targetEventStore", new q6(this)), as(this, "gestureEventStores", {}), as(this, "gestureTimeoutStores", {}), as(this, "handlers", {}), as(this, "config", {}), as(this, "pointerIds", /* @__PURE__ */ new Set()), as(this, "touchIds", /* @__PURE__ */ new Set()), as(this, "state", {
      shared: {
        shiftKey: false,
        metaKey: false,
        ctrlKey: false,
        altKey: false
      }
    }), vCe(this, t);
  }
  setEventIds(t) {
    if (am(t))
      return this.touchIds = new Set(C6e(t)), this.touchIds;
    if ("pointerId" in t)
      return t.type === "pointerup" || t.type === "pointercancel" ? this.pointerIds.delete(t.pointerId) : t.type === "pointerdown" && this.pointerIds.add(t.pointerId), this.pointerIds;
  }
  applyHandlers(t, n) {
    this.handlers = t, this.nativeHandlers = n;
  }
  applyConfig(t, n) {
    this.config = bCe(t, n, this.config);
  }
  clean() {
    this._targetEventStore.clean();
    for (const t of this.gestures)
      this.gestureEventStores[t].clean(), this.gestureTimeoutStores[t].clean();
  }
  effect() {
    return this.config.shared.target && this.bind(), () => this._targetEventStore.clean();
  }
  bind(...t) {
    const n = this.config.shared, r = {};
    let o;
    if (!(n.target && (o = n.target(), !o))) {
      if (n.enabled) {
        for (const u of this.gestures) {
          const p = this.config[u], v = TT(r, p.eventOptions, !!o);
          if (p.enabled) {
            const y = b3.get(u);
            new y(this, t, u).bind(v);
          }
        }
        const i = TT(r, n.eventOptions, !!o);
        for (const u in this.nativeHandlers)
          i(u, "", (p) => this.nativeHandlers[u](_a(_a({}, this.state.shared), {}, {
            event: p,
            args: t
          })), void 0, true);
      }
      for (const i in r)
        r[i] = R6e(...r[i]);
      if (!o) return r;
      for (const i in r) {
        const {
          device: u,
          capture: p,
          passive: v
        } = w6e(i);
        this._targetEventStore.add(o, u, "", r[i], {
          capture: p,
          passive: v
        });
      }
    }
  }
}
function Ep(e10, t) {
  e10.gestures.add(t), e10.gestureEventStores[t] = new q6(e10, t), e10.gestureTimeoutStores[t] = new gCe();
}
function vCe(e10, t) {
  t.drag && Ep(e10, "drag"), t.wheel && Ep(e10, "wheel"), t.scroll && Ep(e10, "scroll"), t.move && Ep(e10, "move"), t.pinch && Ep(e10, "pinch"), t.hover && Ep(e10, "hover");
}
const TT = (e10, t, n) => (r, o, i, u = {}, p = false) => {
  var v, y;
  const k = (v = u.capture) !== null && v !== void 0 ? v : t.capture, T = (y = u.passive) !== null && y !== void 0 ? y : t.passive;
  let R = p ? r : x6e(r, o, k);
  n && T && (R += "Passive"), e10[R] = e10[R] || [], e10[R].push(i);
}, yCe = /^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;
function xCe(e10) {
  const t = {}, n = {}, r = /* @__PURE__ */ new Set();
  for (let o in e10)
    yCe.test(o) ? (r.add(RegExp.lastMatch), n[o] = e10[o]) : t[o] = e10[o];
  return [n, t, r];
}
function Cp(e10, t, n, r, o, i) {
  if (!e10.has(n)) return;
  if (!b3.has(r)) {
    return;
  }
  const u = n + "Start", p = n + "End", v = (y) => {
    let k;
    return y.first && u in t && t[u](y), n in t && (k = t[n](y)), y.last && p in t && t[p](y), k;
  };
  o[r] = v, i[r] = i[r] || {};
}
function _Ce(e10, t) {
  const [n, r, o] = xCe(e10), i = {};
  return Cp(o, n, "onDrag", "drag", i, t), Cp(o, n, "onWheel", "wheel", i, t), Cp(o, n, "onScroll", "scroll", i, t), Cp(o, n, "onPinch", "pinch", i, t), Cp(o, n, "onMove", "move", i, t), Cp(o, n, "onHover", "hover", i, t), {
    handlers: i,
    config: t,
    nativeHandlers: r
  };
}
function wCe(e10, t = {}, n, r) {
  const o = React.useMemo(() => new mCe(e10), []);
  if (o.applyHandlers(e10, r), o.applyConfig(t, n), React.useEffect(o.effect.bind(o)), React.useEffect(() => o.clean.bind(o), []), t.target === void 0)
    return o.bind.bind(o);
}
function TCe(e10) {
  return e10.forEach(oCe), function(n, r) {
    const {
      handlers: o,
      nativeHandlers: i,
      config: u
    } = _Ce(n, r || {});
    return wCe(o, u, void 0, i);
  };
}
function kCe(e10, t) {
  return TCe([iCe, lCe, uCe, cCe, sCe, aCe])(e10, t || {});
}
const kT = (e10, t, n) => Math.min(Math.max(e10, t), n), ECe = (e10, t) => Math.max(0, e10 - t), ET = (e10) => {
  const t = reactExports.useRef(e10);
  return t.current = e10, t;
}, CCe = ({
  activeIndex: e10,
  auto: t,
  initialIndex: n,
  length: r,
  onSlideChange: o,
  setSlideCustom: i,
  slideGap: u,
  slidesAtOnce: p,
  slidesToSlide: v,
  viewportRef: y
}) => {
  const k = ECe(r, p), T = () => {
    var ie;
    const Te = ((ie = y.current) == null ? void 0 : ie.getBoundingClientRect().width) ?? 0, be = u * Math.max(p - 1, 0);
    return (Te - be) / p;
  }, R = (Te) => {
    const be = i ? i(Te) : Te;
    return kT(be, 0, k);
  }, [I, P] = reactExports.useState(() => R(n)), S = ET(I), U = ET(o), [B, X] = np(() => ({
    x: 0,
    config: {
      tension: 280,
      friction: 30,
      mass: 1
    }
  })), Z = (Te) => {
    P(R(Te));
  }, te = (Te, be = false) => {
    const ie = T(), de = ie + u;
    ie <= 0 || X.start({
      x: -Te * de,
      immediate: be
    });
  }, Q = (Te) => {
    X.start({
      x: Te,
      immediate: true
    });
  }, q = (Te, be) => kT(Te + (be > 0 ? -1 : 1), 0, k), F = kCe({
    onDrag: ({
      down: Te,
      movement: [be],
      direction: [ie],
      cancel: de,
      active: ze,
      last: nt
    }) => {
      const ut = T(), Le = ut + u;
      if (ut <= 0) return;
      const oe = S.current, Ue = -oe * Le;
      if (Te && Math.abs(be) > Le / 2) {
        const Ge = q(oe, ie);
        de == null || de(), ze && (Ge === oe ? te(oe) : Z(Ge));
        return;
      }
      if (ze && Te) {
        Q(Ue + be);
        return;
      }
      (nt || !Te) && te(oe);
    }
  }, {
    drag: {
      delay: 200,
      filterTaps: true
    }
  });
  reactExports.useEffect(() => {
    te(I), U.current(I);
  }, [I, p]), reactExports.useEffect(() => {
    let Te;
    return t > 0 && r > 0 && (Te = window.setInterval(() => {
      const be = S.current >= k ? 0 : S.current + 1;
      Z(be);
    }, t)), () => {
      Te && clearInterval(Te);
    };
  }, [t, r, k]), reactExports.useEffect(() => {
    const Te = r > 0 ? R(e10 % r) : 0;
    Te !== S.current && Z(Te);
  }, [e10, r, k]), reactExports.useEffect(() => {
    if (!y.current || typeof ResizeObserver > "u") return;
    const Te = new ResizeObserver(() => {
      te(S.current, true);
    });
    return Te.observe(y.current), () => Te.disconnect();
  }, [p]);
  const ne = () => {
    Z(0);
  }, ae = () => {
    Z(k);
  }, pe = () => {
    const Te = I >= k, be = I + p - 1 + v < r - 1;
    if (Te) {
      ne();
      return;
    }
    if (!be) {
      ae();
      return;
    }
    Z(I + v);
  }, Ve = () => {
    if (I === 0) {
      ae();
      return;
    }
    if (I - v <= 0) {
      ne();
      return;
    }
    Z(I - v);
  }, we = reactExports.useMemo(() => ({
    transform: B.x.to((Te) => `translate3d(${Te}px, 0, 0)`),
    willChange: "transform",
    touchAction: "pan-y"
  }), [B.x]);
  return {
    gestureBinds: F,
    maxSlide: k,
    nextSlide: pe,
    previousSlide: Ve,
    slide: I,
    trackStyle: we,
    updateSlide: Z
  };
}, SCe = "SlideCarouselContainer_uf", ACe = "carousel-main_E6", PCe = "carousel-main-outside-arrows_8B", RCe = "slide-carousel_NQ", ICe = "slide-carousel-arrow_R5", MCe = "arrow-left_zm", OCe = "arrow-right_Y7", DCe = "slide-carousel-bullets_g-", FCe = "slide-carousel-viewport_6P", NCe = "slide-carousel-track_p9", LCe = "slide-carousel-slide_ZA", fc = {
  SlideCarouselContainer: SCe,
  carouselMain: ACe,
  carouselMainOutsideArrows: PCe,
  slideCarousel: RCe,
  slideCarouselArrow: ICe,
  arrowLeft: MCe,
  arrowRight: OCe,
  slideCarouselBullets: DCe,
  slideCarouselViewport: FCe,
  slideCarouselTrack: NCe,
  slideCarouselSlide: LCe
}, BCe = 16, zCe = ({
  activeIndex: e10 = 0,
  initialIndex: t = e10,
  ArrowComponent: n = s6e,
  arrowStyle: r = {},
  auto: o = 0,
  BulletComponent: i = c6e,
  BulletsComponent: u = h6e,
  bulletStyle: p = {},
  children: v = [],
  hasArrows: y = false,
  hasBullets: k = false,
  onSlideChange: T = () => {
  },
  setSlideCustom: R = void 0,
  slidesAtOnce: I = 1,
  slidesToSlide: P = 1,
  className: S,
  arrowPlacement: U = "overlay",
  bulletPlacement: B = "overlayBottom"
}) => {
  const X = reactExports.useRef(null), Z = reactExports.useRef(null), te = v || [], Q = te.length, q = Q > 1 ? BCe : 0, F = `calc((100% - ${q * Math.max(I - 1, 0)}px) / ${I})`, {
    gestureBinds: ne,
    maxSlide: ae,
    nextSlide: pe,
    previousSlide: Ve,
    slide: we,
    trackStyle: Te,
    updateSlide: be
  } = CCe({
    activeIndex: e10,
    auto: o,
    initialIndex: t,
    length: Q,
    onSlideChange: T,
    setSlideCustom: R,
    slideGap: q,
    slidesAtOnce: I,
    slidesToSlide: P,
    viewportRef: Z
  }), ie = () => {
    const oe = [];
    for (let Ue = 0; Ue <= ae; Ue++)
      oe.push(jsxRuntimeExports.jsx(i, {
        isActive: Ue === we,
        onClick: () => be(Ue),
        style: p
      }, Ue));
    return oe;
  }, de = () => !y || U !== "overlay" ? null : jsxRuntimeExports.jsxs(React.Fragment, {
    children: [jsxRuntimeExports.jsx(n, {
      className: Kt(fc.slideCarouselArrow, fc.arrowLeft),
      style: r,
      direction: "left",
      onClick: Ve
    }), jsxRuntimeExports.jsx(n, {
      className: Kt(fc.slideCarouselArrow, fc.arrowRight),
      style: r,
      direction: "right",
      onClick: pe
    })]
  }), ze = () => !y || U !== "outside" ? null : jsxRuntimeExports.jsx(n, {
    style: r,
    direction: "left",
    onClick: Ve
  }), nt = () => !y || U !== "outside" ? null : jsxRuntimeExports.jsx(n, {
    style: r,
    direction: "right",
    onClick: pe
  }), ut = () => !k || B !== "overlayBottom" ? null : jsxRuntimeExports.jsx(u, {
    placement: "overlayBottom",
    children: jsxRuntimeExports.jsx("ul", {
      className: fc.slideCarouselBullets,
      children: ie()
    })
  }), Le = () => !k || B !== "below" ? null : jsxRuntimeExports.jsx(u, {
    placement: "below",
    children: jsxRuntimeExports.jsx("ul", {
      className: fc.slideCarouselBullets,
      children: ie()
    })
  });
  return jsxRuntimeExports.jsxs(Li, {
    className: Kt(fc.SlideCarouselContainer, S),
    innerRef: X,
    children: [jsxRuntimeExports.jsxs("div", {
      className: Kt(fc.carouselMain, U === "outside" ? fc.carouselMainOutsideArrows : void 0),
      children: [ze(), jsxRuntimeExports.jsxs("div", {
        className: fc.slideCarousel,
        children: [de(), ut(), jsxRuntimeExports.jsx("div", {
          className: fc.slideCarouselViewport,
          ref: Z,
          children: jsxRuntimeExports.jsx(yh.div, {
            ...ne(),
            className: fc.slideCarouselTrack,
            style: {
              ...Te,
              gap: `${q}px`
            },
            children: te.map((oe, Ue) => jsxRuntimeExports.jsx("div", {
              className: Kt(fc.slideCarouselSlide, "slider__slide"),
              style: {
                flex: `0 0 ${F}`
              },
              children: oe
            }, Ue))
          })
        })]
      }), nt()]
    }), Le()]
  });
}, WCe = "container_O5", UCe = "carousel-video_g-", HCe = "carousel-photo_je", qv = {
  container: WCe,
  carouselVideo: UCe,
  carouselPhoto: HCe
}, $Ce = (e10) => {
  const {
    gallery: t,
    close: n,
    defaultMediaItem: r
  } = e10, [o, i] = reactExports.useState(0);
  return reactExports.useEffect(() => {
    r && i(t.map((u) => u.uuid).indexOf(r.uuid));
  }, [r]), jsxRuntimeExports.jsx(Li, {
    className: qv.container,
    children: jsxRuntimeExports.jsxs(kh, {
      ...e10,
      className: "confirm-modal",
      children: [jsxRuntimeExports.jsx(Eh, {
        className: O1,
        closeFn: n,
        hideCloseButtonOnMobile: false,
        children: jsxRuntimeExports.jsx(nr, {
          fontWeight: si.bold,
          type: Er.heading4,
          className: Kt(n2, O1),
          children: "Media gallery"
        })
      }), jsxRuntimeExports.jsx(op, {
        padding: 0,
        children: jsxRuntimeExports.jsx("div", {
          className: _b,
          children: jsxRuntimeExports.jsx(zCe, {
            activeIndex: o,
            initialIndex: o,
            hasBullets: t.length > 1,
            hasArrows: t.length != 1,
            children: t && t.map((u) => {
              var v, y;
              if (u.file && ((v = u.fileType) != null && v.includes("video")) || u.type === o6e.video) {
                let k = "";
                return u.file ? k = URL.createObjectURL(u.file) : k = u.publicUrl ?? "", jsxRuntimeExports.jsx("video", {
                  src: k,
                  width: "100%",
                  height: "100%",
                  controls: true,
                  className: qv.carouselVideo
                });
              }
              const p = u.publicThumbnailUrl ?? u.publicUrl ?? ((y = u.mediaItemContent) == null ? void 0 : y.base64EncodedContent);
              return jsxRuntimeExports.jsx("div", {
                draggable: "false",
                className: qv.carouselPhoto,
                style: {
                  backgroundImage: `url(${P6(p)})`,
                  backgroundColor: "var(--fn-bg-var)"
                }
              }, p);
            })
          })
        })
      })]
    })
  });
}, VCe = (e10) => {
  const {
    close: t,
    message: n,
    title: r,
    positiveCtaText: o,
    negativeCtaText: i,
    headerType: u,
    positiveIconLeft: p,
    replacements: v,
    customNegativeFn: y,
    hideHeaderCloseBtn: k = false
  } = e10;
  return jsxRuntimeExports.jsx(Li, {
    className: "ConfirmModal-container",
    children: jsxRuntimeExports.jsxs(kh, {
      className: "confirm-modal",
      width: "672px",
      children: [jsxRuntimeExports.jsx(Eh, {
        hideHeaderCloseBtn: k,
        type: u,
        closeFn: t,
        title: r,
        replacements: v
      }), jsxRuntimeExports.jsx(op, {
        children: jsxRuntimeExports.jsx("div", {
          className: Kt(_b),
          children: typeof n == "string" ? jsxRuntimeExports.jsx(nr, {
            textAlign: "center",
            type: Er.text,
            replacements: v,
            children: n
          }) : n
        })
      }), jsxRuntimeExports.jsx(rm, {
        positive: {
          cta: () => {
            t({
              isOk: true
            });
          },
          text: o === "" ? "Yes" : o ?? "Yes",
          icon: p ?? void 0
        },
        negative: {
          cta: y || (() => {
            t({
              isOk: false
            });
          }),
          text: i === "" ? "No" : i ?? "No"
        }
      })]
    })
  });
}, GCe = "ai-orb_-M", YCe = "orbs-container_G8", XCe = "orbs_-g", ZCe = "orbs-large_Wo", oi = {
  aiOrb: GCe,
  orbsContainer: YCe,
  orbs: XCe,
  orbsLarge: ZCe
};
var Ff;
(function(e10) {
  e10.Waiting = "waiting", e10.Thinking = "thinking", e10.Error = "error", e10.Warning = "warning", e10.Disconnected = "disconnected";
})(Ff || (Ff = {}));
var ug;
(function(e10) {
  e10[e10.Small = 40] = "Small", e10[e10.Medium = 72] = "Medium", e10[e10.Large = 140] = "Large";
})(ug || (ug = {}));
const KCe = (e10) => {
  const {
    state: t = Ff.Waiting,
    size: n = ug.Medium,
    className: r
  } = e10;
  reactExports.useEffect(() => {
    const i = document.documentElement, u = o();
    Object.keys(u).forEach((p) => {
      i.style.setProperty(p, u[p]);
    });
  }, [t]);
  const o = () => {
    let i = 8, u = 6, p = "var(--p500)", v = "hsl(from var(--ai-orb-base-color) calc(h + 123) s calc(l + 6))", y = "hsl(from var(--ai-orb-base-color) calc(h - 35) 62 62)", k = "hsl(from var(--ai-orb-base-color) h s 98)";
    switch (t) {
      case Ff.Thinking:
        i = 3, u = 1.5, p = "hsla(217, 100%, 50%, 1)";
        break;
      case Ff.Error:
        i = 5, u = 10, p = "hsla(15, 100%, 50%, 1)", v = "hsla(15, 100%, 56%, 1)", y = "hsla(25, 62%, 62%, 1)", k = "hsla(0, 100%, 80%, 1)";
        break;
      case Ff.Disconnected:
        i = 20, u = 25, p = "hsla(217, 20%, 50%, 0.5)", v = "hsla(217, 20%, 56%, 0.5)", y = "hsla(250, 20%, 62%, 0.5)", k = "hsla(217, 20%, 95%, 0.75)";
        break;
      case Ff.Warning:
        i = 5, u = 8, p = "hsla(40, 100%, 50%, 1)", v = "hsla(35, 100%, 56%, 1)", y = "hsla(45, 100%, 62%, 1)", k = "hsla(35, 100%, 45%, 1)";
        break;
      case Ff.Waiting:
    }
    return {
      "--animation-duration-rotation": `${i}s`,
      "--animation-duration-scale": `${u}s`,
      "--ai-orb-base-color": p,
      "--color1": v,
      "--color2": y,
      "--color3": k,
      "--container-size": `${n}px`
    };
  };
  return jsxRuntimeExports.jsxs("div", {
    className: Kt(oi.aiOrb, r),
    style: o(),
    children: [jsxRuntimeExports.jsx("div", {
      className: Kt(oi.orbsContainer)
    }), jsxRuntimeExports.jsxs("div", {
      className: Kt(oi.orbsContainer),
      children: [jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsLarge)
      }), jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsLarge)
      }), jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsLarge)
      }), jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsLarge)
      })]
    }), jsxRuntimeExports.jsxs("div", {
      className: Kt(oi.orbsContainer),
      children: [jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsSmall)
      }), jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsSmall)
      }), jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsSmall)
      }), jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsSmall)
      })]
    }), jsxRuntimeExports.jsxs("div", {
      className: Kt(oi.orbsContainer),
      children: [jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsLarge)
      }), jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsLarge)
      }), jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsLarge)
      }), jsxRuntimeExports.jsx("div", {
        className: Kt(oi.orbs, oi.orbsLarge)
      })]
    })]
  });
}, JCe = "loading-img_gP", QCe = "rocket_6E", jCe = "modal_--", qCe = "imgContainer_vq", b1 = {
  loadingImg: JCe,
  rocket: QCe,
  modal: jCe,
  imgContainer: qCe
}, eSe = (e10) => {
  const {
    title: t,
    message: n = "Loading...",
    loadingAnimation: r = "default",
    headerTitle: o
  } = e10;
  let i = "";
  r === "default" ? i = "gifs/loading.gif" : r === "rocket" && (i = "gifs/rocket.gif");
  const {
    SvgIcon: u,
    loading: p,
    error: v
  } = Eb(i);
  return jsxRuntimeExports.jsxs(kh, {
    width: "672px",
    ...e10,
    children: [o && jsxRuntimeExports.jsx(Eh, {
      title: o
    }), jsxRuntimeExports.jsxs(op, {
      className: Kt(b1.modal),
      children: [jsxRuntimeExports.jsxs("div", {
        className: Kt(b1.imgContainer),
        children: [jsxRuntimeExports.jsx(Va, {
          if: r !== "ai",
          children: jsxRuntimeExports.jsx("img", {
            className: Kt(b1.loadingImg, zT, r === "rocket" && b1.rocket),
            src: u,
            alt: "loading..."
          })
        }), jsxRuntimeExports.jsx(Va, {
          if: r === "ai",
          children: jsxRuntimeExports.jsx(KCe, {
            size: ug.Large,
            state: Ff.Thinking
          })
        })]
      }), jsxRuntimeExports.jsx(nr, {
        className: Kt(BT),
        type: Er.textIntro,
        color: "--fn-fg-cta",
        children: t
      }), jsxRuntimeExports.jsx(nr, {
        type: Er.text,
        children: n || "Loading..."
      })]
    })]
  });
}, tSe = (e10) => {
  const {
    close: t,
    children: n,
    title: r,
    headerType: o,
    message: i,
    hideHeaderCloseBtn: u,
    padding: p
  } = e10;
  return jsxRuntimeExports.jsxs(kh, {
    ...e10,
    children: [jsxRuntimeExports.jsxs(Eh, {
      closeFn: t,
      hideCloseButtonOnMobile: false,
      hideHeaderCloseBtn: u,
      type: o,
      children: [jsxRuntimeExports.jsx(Va, {
        if: !!r,
        children: jsxRuntimeExports.jsx(nr, {
          type: Er.heading4,
          fontWeight: si.bold,
          children: r
        })
      }), jsxRuntimeExports.jsx(Va, {
        if: !!i && typeof i == "string",
        children: jsxRuntimeExports.jsx("div", {
          className: Kt(VT),
          children: jsxRuntimeExports.jsx(nr, {
            fontWeight: si.regular,
            children: i
          })
        })
      })]
    }), jsxRuntimeExports.jsx("span", {
      style: {
        padding: p
      },
      children: n
    })]
  });
};
class nSe {
  constructor() {
    vo(this, "loadingModalId");
    vo(this, "confirmModalId");
    vo(this, "errorModalId");
    vo(this, "modalCloseListeners");
    vo(this, "modalComponents");
    vo(this, "openErrorModal", ({
      err: t,
      source: n,
      message: r,
      title: o,
      ctaPositive: i,
      onClose: u
    }) => {
      this.errorModalId = this.open(jsxRuntimeExports.jsx(r6e, {
        close: () => {
          u && u();
        },
        err: t,
        source: n,
        message: r,
        title: o,
        ctaPositive: i
      }));
    });
    this.loadingModalId = null, this.confirmModalId = null, this.errorModalId = null, this.modalCloseListeners = /* @__PURE__ */ new Map(), this.modalComponents = /* @__PURE__ */ new Map();
  }
  on(t, n) {
    document.addEventListener(t, (r) => n(r.detail));
  }
  onModalClose(t, n, r) {
    var o, i;
    this.modalCloseListeners.has(t) || this.modalCloseListeners.set(t, {
      cbs: [],
      data: r
    }), n && ((i = (o = this.modalCloseListeners.get(t)) == null ? void 0 : o.cbs) == null || i.push(n));
  }
  cleanModalClose(t) {
    this.modalCloseListeners.delete(t);
  }
  getModalComponent(t) {
    return this.modalComponents.get(t);
  }
  removeModalComponent(t) {
    this.modalComponents.delete(t);
  }
  openConfirmModal(t, n = "", r = "", o = "", i = "", u = "default", p = void 0, v = void 0, y, k, T) {
    let R;
    typeof t == "function" ? R = {
      closeFn: t,
      title: n,
      message: r,
      positiveCtaText: o,
      negativeCtaText: i,
      headerType: u,
      positiveIconLeft: p,
      replacements: v,
      hideHeaderCloseBtn: y,
      customNegativeFn: k,
      hideNegativeBtn: T
    } : R = t;
    const {
      closeFn: I,
      title: P = "",
      message: S = "",
      positiveCtaText: U = "",
      negativeCtaText: B = "",
      headerType: X = "default",
      positiveIconLeft: Z,
      replacements: te,
      hideHeaderCloseBtn: Q,
      customNegativeFn: q
    } = R;
    return this.confirmModalId = this.open(jsxRuntimeExports.jsx(VCe, {
      close: I,
      message: S,
      title: P,
      positiveCtaText: U,
      positiveIconLeft: Z,
      negativeCtaText: B,
      headerType: X,
      replacements: te,
      hideHeaderCloseBtn: Q,
      customNegativeFn: q
    })), this.confirmModalId;
  }
  openAcceptModal(t, n = "", r = "", o = "default", i = "", u = void 0, p) {
    let v;
    typeof t == "function" ? v = {
      closeFn: t,
      title: n,
      message: r,
      headerType: o,
      positiveCtaText: i,
      replacements: u,
      hideHeaderCloseBtn: p
    } : v = t;
    const {
      closeFn: y,
      title: k = "",
      message: T = "",
      headerType: R = "default",
      positiveCtaText: I = "",
      replacements: P,
      hideHeaderCloseBtn: S
    } = v;
    return this.confirmModalId = this.open(jsxRuntimeExports.jsx(v4e, {
      close: y,
      message: T,
      title: k,
      positiveCtaText: I,
      headerType: R,
      replacements: P,
      hideHeaderCloseBtn: S
    })), this.confirmModalId;
  }
  closeConfirmModal() {
    this.closeEv(this.confirmModalId), this.confirmModalId = null;
  }
  openLoadingModal(t, n, r, o) {
    let i;
    typeof t == "object" && t !== null ? i = t : i = {
      title: t,
      message: n,
      loadingAnimation: r,
      headerTitle: o
    };
    const {
      title: u,
      message: p,
      loadingAnimation: v = "default",
      headerTitle: y
    } = i;
    return this.loadingModalId = this.open(jsxRuntimeExports.jsx(eSe, {
      title: u,
      message: p,
      loadingAnimation: v,
      headerTitle: y,
      close: () => {
      }
    }), {
      fullscreen: false,
      maxWidth: "650px",
      modalPosition: "center",
      backgroundColor: "var(--n000)"
    }), this.loadingModalId;
  }
  closeLoadingModal() {
    this.closeEv(this.loadingModalId), this.loadingModalId = null;
  }
  openPhotoGalleryModal(t, n) {
    return this.open(jsxRuntimeExports.jsx($Ce, {
      defaultMediaItem: n,
      gallery: t,
      close: () => {
      }
    }), {
      modalPosition: "center",
      maxWidth: "996px",
      width: "100%",
      wrapInModal: false
    });
  }
  openSlide(t, n) {
    return n = {
      ...n,
      animation: "slide"
    }, this.open(t, n);
  }
  closeErrorModal() {
    this.closeEv(this.errorModalId), this.errorModalId = null;
  }
  closeAllModals() {
    this.modalComponents.forEach((t, n) => {
      this.closeEv(n);
    });
  }
  open(t, n) {
    let r = g4e();
    const o = qh.getInstance(), {
      widgetId: i
    } = o.get();
    i && (r = `${r}_${i}`), M6.isMobile() && (!n || !n.hasOwnProperty("fullscreen")) ? n = {
      fullscreen: false,
      animation: "pop",
      ...n
    } : n = {
      fullscreen: false,
      animation: "grow",
      ...n
    };
    const u = {
      ...t
    }, p = (y) => {
      u.props.close && u.props.close(y), this.closeEv(r, y);
    };
    n != null && n.wrapInModal && (t = jsxRuntimeExports.jsx(tSe, {
      close: p,
      padding: n.padding,
      headerType: n.type,
      title: n.title,
      message: n.message,
      children: React.isValidElement(t) ? React.cloneElement(t, {
        modalId: r,
        close: p
      }) : t
    }));
    const v = {
      ...t.props,
      close: p,
      ...n
    };
    return this.modalComponents.set(r, {
      ...t,
      props: {
        ...v
      },
      modalId: r
    }), ag.$pub(qp.reactModalOpen, {
      modalId: r,
      animation: (n == null ? void 0 : n.animation) || "grow"
    }), r;
  }
  closeEv(t, n) {
    return t ? new Promise((r) => {
      setTimeout(() => {
        ag.$pub(qp.reactModalClose, {
          modalId: t
        });
        const o = this.modalCloseListeners.get(t);
        o && o.cbs.forEach((i) => i(n)), this.cleanModalClose(t), this.removeModalComponent(t), r(o == null ? void 0 : o.data);
      }, 0);
    }) : new Promise((r) => {
      r(void 0);
    });
  }
}
const I1 = new nSe(), rSe = "container_Q7", oSe = "img-small_Be", iSe = "img-medium_Td", aSe = "img-large_CM", F0 = {
  container: rSe,
  imgSmall: oSe,
  imgMedium: iSe,
  imgLarge: aSe
}, sSe = "container_NT", lSe = {
  container: sSe
}, uSe = (e10) => jsxRuntimeExports.jsx(Li, {
  ...e10,
  className: Kt(lSe.container, e10.className)
}), cSe = "header_qR", dSe = "drawerHeader_RZ", fSe = "bamHeader_H2", hSe = "bamWithPreviewHeader_vg", pSe = "pageHeader_ng", bSe = "sectionHeader_IR", gSe = "compactSectionHeader_OF", Pf = {
  header: cSe,
  drawerHeader: dSe,
  bamHeader: fSe,
  bamWithPreviewHeader: hSe,
  pageHeader: pSe,
  sectionHeader: bSe,
  compactSectionHeader: gSe
};
var ty = { exports: {} };
var CT;
function mSe() {
  return CT || (CT = 1, (function(e10) {
    (function() {
      var t = {}.hasOwnProperty;
      function n() {
        for (var i = "", u = 0; u < arguments.length; u++) {
          var p = arguments[u];
          p && (i = o(i, r(p)));
        }
        return i;
      }
      function r(i) {
        if (typeof i == "string" || typeof i == "number")
          return i;
        if (typeof i != "object")
          return "";
        if (Array.isArray(i))
          return n.apply(null, i);
        if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
          return i.toString();
        var u = "";
        for (var p in i)
          t.call(i, p) && i[p] && (u = o(u, p));
        return u;
      }
      function o(i, u) {
        return u ? i ? i + " " + u : i + u : i;
      }
      e10.exports ? (n.default = n, e10.exports = n) : window.classNames = n;
    })();
  })(ty)), ty.exports;
}
var vSe = mSe();
const ySe = /* @__PURE__ */ jc(vSe);
var jy;
(function(e10) {
  e10.pageHeader = "pageHeader", e10.drawerHeader = "drawerHeader", e10.compactDrawerHeader = "compactDrawerHeader", e10.bamHeader = "bamHeader", e10.bamWithPreviewHeader = "bamWithPreviewHeader", e10.sectionHeader = "sectionHeader", e10.compactSectionHeader = "compactSectionHeader";
})(jy || (jy = {}));
const xSe = (e10) => {
  const {
    title: t,
    description: n,
    type: r,
    replacements: o,
    testId: i
  } = e10, u = () => {
    switch (r) {
      case "pageHeader":
        return Er.heading3;
      case "drawerHeader":
        return Er.heading3;
      case "compactDrawerHeader":
        return Er.textIntro;
      case "bamHeader":
        return Er.heading1;
      case "bamWithPreviewHeader":
        return Er.heading2;
      case "sectionHeader":
        return Er.heading4;
      case "compactSectionHeader":
        return Er.textIntro;
      default:
        return Er.heading3;
    }
  }, p = () => {
    switch (r) {
      case "pageHeader":
        return Pf.pageHeader;
      case "drawerHeader":
        return Pf.drawerHeader;
      case "compactDrawerHeader":
        return Pf.compactDrawerHeader;
      case "bamHeader":
        return Pf.bamHeader;
      case "bamWithPreviewHeader":
        return Pf.bamWithPreviewHeader;
      case "sectionHeader":
        return Pf.sectionHeader;
      case "compactSectionHeader":
        return Pf.compactSectionHeader;
      default:
        return Pf.pageHeader;
    }
  }, v = () => {
    switch (r) {
      case "bamHeader":
      case "pageHeader":
      case "sectionHeader":
        return Er.text;
      default:
        return Er.textHelp;
    }
  };
  return jsxRuntimeExports.jsxs(Li, {
    className: ySe(Pf.header, p()),
    testId: i + "_Header",
    children: [jsxRuntimeExports.jsx(nr, {
      type: u(),
      fontWeight: si.bold,
      replacements: o,
      children: t
    }), n ? jsxRuntimeExports.jsx(nr, {
      type: v(),
      replacements: o,
      children: n
    }) : null]
  });
}, _Se = "functionalBg_S2", wSe = "transparent_pp", TSe = "gradientPrimaryMesh_r8", kSe = "gradientPrimaryMeshSvg_eq", ESe = "gradientBgVarTop_eB", CSe = "gradientBgVarBottom_-e", SSe = "container_Ue", ASe = "defaultPadding_yD", PSe = "frostedGlass_Ys", RSe = "header_4C", ISe = "roundedTop_8F", MSe = "roundedBottom_wI", hc = {
  functionalBg: _Se,
  transparent: wSe,
  gradientPrimaryMesh: TSe,
  gradientPrimaryMeshSvg: kSe,
  gradientBgVarTop: ESe,
  gradientBgVarBottom: CSe,
  container: SSe,
  defaultPadding: ASe,
  frostedGlass: PSe,
  header: RSe,
  roundedTop: ISe,
  roundedBottom: MSe
}, OSe = () => {
  const e10 = reactExports.useId(), t = (n) => `${e10}-gBg${n}`;
  return jsxRuntimeExports.jsxs("svg", {
    className: hc.gradientPrimaryMeshSvg,
    viewBox: "0 0 1620 720",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg",
    preserveAspectRatio: "none",
    "aria-hidden": "true",
    children: [jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: "var(--lp-hero-dynamic-gradient-primary)"
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: "var(--lp-hero-dynamic-gradient-color1)"
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(0)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(1)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(2)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(3)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(4)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(5)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(6)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(7)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(8)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(9)})`
    }), jsxRuntimeExports.jsx("rect", {
      width: "1620",
      height: "720",
      fill: `url(#${t(10)})`
    }), jsxRuntimeExports.jsxs("defs", {
      children: [jsxRuntimeExports.jsxs("radialGradient", {
        id: t(0),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(852 -8.37317e-05) rotate(117.072) scale(505.371 1585.98)",
        children: [jsxRuntimeExports.jsx("stop", {
          offset: "0.634769",
          stopColor: "var(--lp-hero-dynamic-gradient-primary)",
          stopOpacity: "0"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "0.932819",
          stopColor: "var(--lp-hero-dynamic-gradient-primary)"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(1),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(782 320) rotate(121.483) scale(1022.52 3088.46)",
        children: [jsxRuntimeExports.jsx("stop", {
          stopColor: "var(--lp-hero-dynamic-gradient-color3)",
          stopOpacity: "0"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "0.932819",
          stopColor: "var(--lp-hero-dynamic-gradient-color3)"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(2),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(-142 784) rotate(-47.07) scale(352.369 1114.56)",
        children: [jsxRuntimeExports.jsx("stop", {
          offset: "0.0671808",
          stopColor: "var(--lp-hero-dynamic-gradient-color3)"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "1",
          stopColor: "var(--lp-hero-dynamic-gradient-color3)",
          stopOpacity: "0"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(3),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(1424 72.0001) rotate(103.289) scale(408.95 1108.79)",
        children: [jsxRuntimeExports.jsx("stop", {
          offset: "0.0671808",
          stopColor: "var(--lp-hero-dynamic-gradient-color2)"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "1",
          stopColor: "var(--lp-hero-dynamic-gradient-color2)",
          stopOpacity: "0"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(4),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(1504 -52) rotate(109.573) scale(286.559 668.261)",
        children: [jsxRuntimeExports.jsx("stop", {
          offset: "0.0671808",
          stopColor: "var(--lp-hero-dynamic-gradient-primary)"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "1",
          stopColor: "var(--lp-hero-dynamic-gradient-primary)",
          stopOpacity: "0"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(5),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(1510 540) rotate(124.444) scale(284.253 507.558)",
        children: [jsxRuntimeExports.jsx("stop", {
          stopColor: "var(--lp-hero-dynamic-gradient-primary)"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "1",
          stopColor: "var(--lp-hero-dynamic-gradient-primary)",
          stopOpacity: "0"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(6),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(740 68.0001) rotate(143.584) scale(303.21 861.191)",
        children: [jsxRuntimeExports.jsx("stop", {
          stopColor: "var(--lp-hero-dynamic-gradient-primary)"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "1",
          stopColor: "var(--lp-hero-dynamic-gradient-primary)",
          stopOpacity: "0"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(7),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(166 238) rotate(130.406) scale(317.805 471.409)",
        children: [jsxRuntimeExports.jsx("stop", {
          stopColor: "var(--lp-hero-dynamic-gradient-primary)"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "0.846218",
          stopColor: "var(--lp-hero-dynamic-gradient-primary)",
          stopOpacity: "0"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(8),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(278 152) rotate(122.417) scale(324.58 872.784)",
        children: [jsxRuntimeExports.jsx("stop", {
          stopColor: "var(--lp-hero-dynamic-gradient-color1)",
          stopOpacity: "0.6"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "0.745581",
          stopColor: "var(--lp-hero-dynamic-gradient-color1)",
          stopOpacity: "0"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(9),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(1526 288) rotate(113.29) scale(328.792 1881.14)",
        children: [jsxRuntimeExports.jsx("stop", {
          offset: "0.0519575",
          stopColor: "var(--lp-hero-dynamic-gradient-color1)",
          stopOpacity: "0.4"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "0.745581",
          stopColor: "var(--lp-hero-dynamic-gradient-color1)",
          stopOpacity: "0"
        })]
      }), jsxRuntimeExports.jsxs("radialGradient", {
        id: t(10),
        cx: "0",
        cy: "0",
        r: "1",
        gradientUnits: "userSpaceOnUse",
        gradientTransform: "translate(1512 370) rotate(111.991) scale(112.161 519.22)",
        children: [jsxRuntimeExports.jsx("stop", {
          offset: "0.0519575",
          stopColor: "var(--lp-hero-dynamic-gradient-color1)",
          stopOpacity: "0.3"
        }), jsxRuntimeExports.jsx("stop", {
          offset: "1",
          stopColor: "var(--lp-hero-dynamic-gradient-color1)",
          stopOpacity: "0"
        })]
      })]
    })]
  });
};
var Id;
(function(e10) {
  e10.frostedGlass = "frostedGlass", e10.functionalBg = "functionalBg", e10.transparent = "transparent", e10.gradientPrimaryMesh = "gradientPrimaryMesh", e10.gradientBgVarTop = "gradientBgVarTop", e10.gradientBgVarBottom = "gradientBgVarBottom";
})(Id || (Id = {}));
var Mp;
(function(e10) {
  e10.top = "top", e10.bottom = "bottom", e10.both = "both";
})(Mp || (Mp = {}));
const DSe = (e10) => {
  const {
    title: t,
    description: n,
    replacements: r,
    headerType: o = jy.sectionHeader,
    headerActionArea: i,
    children: u,
    testId: p,
    isVisible: v = true
  } = e10;
  return v ? jsxRuntimeExports.jsxs(FSe, {
    ...e10,
    children: [(t || i) && jsxRuntimeExports.jsxs("div", {
      className: hc.header,
      children: [jsxRuntimeExports.jsx(Va, {
        if: !!t,
        children: jsxRuntimeExports.jsx(xSe, {
          title: t,
          type: o,
          description: n,
          replacements: r,
          testId: p
        })
      }), jsxRuntimeExports.jsx(Va, {
        if: !!i,
        children: i
      })]
    }), jsxRuntimeExports.jsx("div", {
      "data-testid": p ? `${p}_Children` : void 0,
      children: u
    })]
  }) : null;
}, FSe = (e10) => {
  const {
    testId: t,
    className: n,
    background: r = Id.functionalBg,
    children: o,
    innerRef: i,
    noDefaultPadding: u,
    roundedEdges: p
  } = e10, v = () => {
    switch (r) {
      case Id.frostedGlass:
        return hc.frostedGlass;
      case Id.functionalBg:
        return hc.functionalBg;
      case Id.gradientPrimaryMesh:
        return hc.gradientPrimaryMesh;
      case Id.transparent:
        return hc.transparent;
      case Id.gradientBgVarTop:
        return hc.gradientBgVarTop;
      case Id.gradientBgVarBottom:
        return hc.gradientBgVarBottom;
      default:
        return hc.functionalBg;
    }
  }, y = Kt(hc.container, v(), !u && hc.defaultPadding, (p === Mp.top || p === Mp.both) && hc.roundedTop, (p === Mp.bottom || p === Mp.both) && hc.roundedBottom, n);
  return r === Id.frostedGlass ? jsxRuntimeExports.jsx(uSe, {
    testId: t,
    className: y,
    innerRef: i,
    children: o
  }) : jsxRuntimeExports.jsxs(Li, {
    testId: t,
    className: y,
    innerRef: i,
    children: [r === Id.gradientPrimaryMesh && jsxRuntimeExports.jsx(OSe, {}), o]
  });
}, Y8e = (e10) => {
  const {
    testId: t = "PageSectionLoading_Container",
    title: n,
    description: r,
    imgSize: o = "large",
    titleType: i = "text",
    ...u
  } = e10, {
    SvgIcon: p,
    loading: v,
    error: y
  } = Eb("gifs/loading.gif");
  let k = F0.imgLarge;
  switch (o) {
    case "small":
      k = F0.imgSmall;
      break;
    case "medium":
      k = F0.imgMedium;
      break;
    case "large":
      k = F0.imgLarge;
      break;
  }
  let T = Er.text;
  switch (i) {
    case "heading-3":
      T = Er.heading3;
      break;
    case "heading-4":
      T = Er.heading4;
      break;
    case "text-intro":
      T = Er.textIntro;
      break;
  }
  return jsxRuntimeExports.jsx(DSe, {
    testId: t,
    ...u,
    children: jsxRuntimeExports.jsxs("div", {
      className: F0.container,
      children: [jsxRuntimeExports.jsx("img", {
        className: Kt(k),
        src: p,
        alt: "loading..."
      }), jsxRuntimeExports.jsx(nr, {
        type: T,
        fontWeight: si.bold,
        children: n
      }), jsxRuntimeExports.jsx(nr, {
        children: r
      })]
    })
  });
}, X8e = (e10) => {
  const {
    value: t,
    onChange: n,
    size: r = "small",
    children: o,
    labelPos: i = "right",
    labelColor: u,
    labelClassName: p,
    labelReplacements: v,
    testId: y,
    labelType: k,
    labelFontWeight: T,
    readOnly: R,
    disabled: I = false,
    loading: P = false,
    className: S = ""
  } = e10;
  return jsxRuntimeExports.jsx(Li, {
    className: "vanguard-switch",
    testId: y,
    children: jsxRuntimeExports.jsxs("label", {
      style: {
        color: u
      },
      className: Kt("vanguard-switch-label", S, I ? "vanguard-switch-label-disabled" : "", R ? "vanguard-switch-label-readonly" : ""),
      children: [i === "left" ? typeof o == "string" ? jsxRuntimeExports.jsx(nr, {
        color: I ? "--button-primary-disabled-background-color" : u,
        className: Kt("vanguard-switch-label-left", p),
        children: o
      }) : o : null, P ? jsxRuntimeExports.jsx("div", {
        className: Kt(`vanguard-switch-${r}`, vh, fg, Bp),
        children: jsxRuntimeExports.jsx(li, {
          type: ai.large,
          className: "loader-spinner",
          children: Ln.save
        })
      }) : jsxRuntimeExports.jsx("input", {
        onClick: (U) => {
          R && U.preventDefault();
        },
        className: `vanguard-switch-input vanguard-switch-${r}`,
        type: "checkbox",
        onChange: (U) => {
          R || n && n(U);
        },
        checked: t === true,
        disabled: I
      }), i === "right" ? typeof o == "string" ? jsxRuntimeExports.jsx(nr, {
        disabled: R,
        replacements: v,
        type: k,
        fontWeight: T,
        color: I ? "--button-primary-disabled-background-color" : u,
        className: Kt("vanguard-switch-label-right", p),
        children: o
      }) : o : null]
    })
  });
}, NSe = "container_jh", LSe = "animated_R3", ST = {
  container: NSe,
  animated: LSe
};
var tb;
(function(e10) {
  e10.rectangle = "rectangle", e10.circle = "circle", e10.fill = "fill";
})(tb || (tb = {}));
const Z8e = (e10) => {
  const {
    children: t,
    style: n,
    width: r,
    height: o,
    type: i,
    className: u,
    testId: p = "Skeleton",
    color: v = "light",
    noAnimation: y,
    borderRadius: k = 4
  } = e10, T = np({
    loop: true,
    from: {
      transform: "translate(-100%,0)",
      background: v === "light" ? "linear-gradient(45deg, var(--n200) 45%, var(--n100) 55%, var(--n200) 65%)" : "linear-gradient(45deg, var(--n400) 45%, var(--n300) 55%, var(--n400) 65%)"
    },
    to: {
      transform: "translate(30%,0)",
      background: v === "light" ? "linear-gradient(45deg, var(--n200) 45%, var(--n100) 55%, var(--n200) 65%)" : "linear-gradient(45deg, var(--n400) 45%, var(--n300) 55%, var(--n400) 65%)"
    },
    config: {
      duration: 1500
    }
  }), R = {
    background: v === "light" ? "var(--n200)" : "var(--n400)"
  };
  return jsxRuntimeExports.jsx(Li, {
    testId: p,
    className: Kt(ST.container, u ?? ""),
    style: {
      backgroundColor: v === "light" ? "var(--n200)" : "var(--n400)",
      width: i === tb.fill ? "100%" : r,
      height: i === tb.fill ? "100%" : o,
      borderRadius: i === tb.circle ? "50%" : k,
      ...n
    },
    children: jsxRuntimeExports.jsx(yh.div, {
      className: ST.animated,
      style: y ? R : T,
      children: t
    })
  });
}, $Se = "info-icon-modal-puller_Rm", VSe = {
  infoIconModalPuller: $Se
}, GSe = (e10) => {
  const {
    message: t,
    title: n,
    onOutsideClick: r,
    onTouchEnd: o,
    replacements: i,
    backgroundColor: u,
    hasPuller: p = true
  } = e10, [v, y] = reactExports.useState(0), [{
    y: k
  }, T] = np(() => ({
    y: 0,
    config: {
      tension: 300,
      friction: 20
    }
  }));
  return reactExports.useEffect(() => {
    const R = (S) => {
      S.preventDefault(), S.touches[0].clientY - v > 0 && (document.body.style.overflow = "hidden");
    }, I = () => {
      document.body.style.overflow = "auto";
    }, P = (S) => {
      y(S.touches[0].clientY);
    };
    return window.addEventListener("touchmove", R, {
      passive: false
    }), window.addEventListener("touchend", I), window.addEventListener("touchstart", P), () => {
      window.removeEventListener("touchmove", R), window.removeEventListener("touchend", I), window.removeEventListener("touchstart", P), document.body.style.overflow = "auto";
    };
  }, [v]), jsxRuntimeExports.jsx(yh.div, {
    onTouchStart: (R) => {
      y(R.touches[0].clientY);
    },
    onTouchMove: (R) => {
      const I = R.touches[0].clientY - v;
      I > 0 ? T({
        y: I
      }) : T({
        y: 0
      });
    },
    onTouchEnd: (R) => {
      y(0), k.get() > 80 ? o && o(R) : T({
        y: 0
      });
    },
    style: {
      transform: k.to((R) => `translate3d(0, ${R}px, 0)`)
    },
    children: jsxRuntimeExports.jsxs(kh, {
      backgroundColor: u,
      testId: "modal-mobile-test-id",
      modalPosition: "bottom",
      fullscreen: false,
      width: "100vw",
      onOutsideClick: (R) => {
        r && r(R);
      },
      children: [jsxRuntimeExports.jsxs(Eh, {
        children: [p && jsxRuntimeExports.jsx("div", {
          className: Kt(VSe.infoIconModalPuller)
        }), typeof n == "string" ? jsxRuntimeExports.jsx(nr, {
          fontWeight: si.bold,
          type: Er.heading3,
          color: "--n700",
          textAlign: "center",
          children: n
        }) : n]
      }), jsxRuntimeExports.jsx(op, {
        children: typeof t == "string" ? jsxRuntimeExports.jsx(nr, {
          replacements: i,
          fontWeight: si.regular,
          type: Er.text,
          color: "--n700",
          textAlign: "center",
          children: t
        }) : t
      })]
    })
  });
}, YSe = "container_yD", PT = {
  container: YSe
}, XSe = (e10) => {
  const {
    message: t,
    size: n = ai.large,
    title: r,
    replacements: o,
    testId: i,
    maxWidth: u,
    modalBackgroundColor: p,
    hasModalPuller: v,
    icon: y = Ln.info
  } = e10, [k, T] = reactExports.useState(""), R = H2(), I = () => {
    const S = I1.open(jsxRuntimeExports.jsx(GSe, {
      hasPuller: v,
      backgroundColor: p,
      title: r,
      message: t,
      replacements: o,
      onTouchEnd: () => {
        I1.closeEv(S);
      },
      onOutsideClick: () => {
        I1.closeEv(S);
      }
    }));
    return S;
  }, P = () => {
    if (R <= eb.tablet) {
      const S = I();
      T(S);
    }
  };
  return jsxRuntimeExports.jsx(jp, {
    "data-testid": `${i}-`,
    replacements: o,
    position: "top",
    message: t,
    hideUnderBreakpoint: eb.desktop,
    children: jsxRuntimeExports.jsx("span", {
      "data-testid": i,
      className: PT.container,
      children: jsxRuntimeExports.jsx(li, {
        onClick: P,
        color: "--n400",
        hoverColor: "--n500",
        hasCircle: true,
        fillColor: "--n200",
        type: n,
        className: PT.icon,
        children: y
      })
    })
  });
}, ZSe = "container_Np", KSe = "header_XX", JSe = "editButtonFloatRight_VU", QSe = "actionBtns_LJ", jSe = "content_IJ", qSe = "hoverable_eO", e8e = "editable_pk", t8e = "padding_Gj", sh = {
  container: ZSe,
  header: KSe,
  editButtonFloatRight: JSe,
  actionBtns: QSe,
  content: jSe,
  hoverable: qSe,
  editable: e8e,
  padding: t8e
}, J8e = (e10) => {
  const {
    className: t,
    title: n,
    titleWeight: r = si.medium,
    titleAiInfo: o,
    editCallback: i,
    editButtonFloatRight: u = false,
    hideEditButton: p,
    popoverMessage: v,
    children: y,
    testId: k,
    translate: T = true,
    hoverable: R = false,
    padding: I = false,
    actionBtns: P,
    shouldHaveOnClickEventOnContainer: S = true
  } = e10;
  function U(B, X = false) {
    return X ? null : v ? jsxRuntimeExports.jsx(jp, {
      message: v,
      children: B
    }) : B;
  }
  return jsxRuntimeExports.jsxs(Li, {
    testId: k,
    className: Kt(sh.container, R ? sh.hoverable : void 0, I ? sh.padding : void 0, S && i && !p ? sh.editable : void 0, t),
    onClick: S && i && !p ? i : void 0,
    children: [jsxRuntimeExports.jsxs("div", {
      className: Kt(sh.header, u ? sh.editButtonFloatRight : void 0),
      children: [jsxRuntimeExports.jsxs("div", {
        children: [jsxRuntimeExports.jsx(nr, {
          testId: "title",
          type: Er.textIntro,
          fontWeight: r,
          translate: T,
          children: n
        }), (o == null ? void 0 : o.show) && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
          children: [(o == null ? void 0 : o.tooltipMessage) && jsxRuntimeExports.jsx(XSe, {
            message: o == null ? void 0 : o.tooltipMessage,
            theme: "dark",
            size: ai.small,
            maxWidth: "fit-content"
          }), jsxRuntimeExports.jsx(NEe, {
            text: o.text,
            testId: "editable-card-generated-with-ai-pill"
          })]
        })]
      }), jsxRuntimeExports.jsxs("div", {
        className: sh.actionBtns,
        children: [P, U(jsxRuntimeExports.jsx(gh, {
          testId: "cta",
          size: uf.small,
          iconLeft: Ln.edit,
          iconSize: ai.small,
          iconColor: "--n500",
          onClick: S ? void 0 : i,
          type: Vo.default
        }), p)]
      })]
    }), jsxRuntimeExports.jsx("div", {
      className: sh.content,
      children: y
    })]
  });
}, N0 = {
  ACTIVE: "ACTIVE",
  PAUSED: "PAUSED",
  DELETED: "DELETED",
  ARCHIVED: "ARCHIVED",
  DRAFT: "DRAFT"
}, Sp = {
  SCHEDULED: "SCHEDULED",
  PUBLISHED: "PUBLISHED",
  PUBLISHING: "PUBLISHING",
  NOT_APPROVED: "NOT_APPROVED",
  DRAFT: "DRAFT",
  ERROR: "ERROR"
}, cg = (e10) => {
  switch (e10 || (e10 = "info"), e10) {
    case "live":
      return {
        reverseColor: "--s400",
        iconColor: "--s900",
        textColor: "--s900",
        bgColor: "--s100",
        iconName: Ln.close
      };
    case "pending_verification":
      return {
        reverseColor: "--w400",
        iconColor: "--w900",
        textColor: "--w900",
        bgColor: "--w100",
        iconName: Ln.close
      };
    case Sp.NOT_APPROVED:
      return {
        reverseColor: "--e400",
        iconColor: "--e900",
        textColor: "--e900",
        bgColor: "--e100",
        iconName: Ln.close
      };
    case Sp.SCHEDULED:
      return {
        reverseColor: "--a1500",
        iconColor: "--a1900",
        textColor: "--a1900",
        bgColor: "--a1100",
        iconName: Ln.close
      };
    case N0.ARCHIVED:
    case N0.DRAFT:
    case Sp.DRAFT:
      return {
        reverseColor: "--n400",
        iconColor: "--n400",
        textColor: "--n700",
        bgColor: "--n100",
        iconName: Ln.close
      };
    case N0.DELETED:
    case Sp.ERROR:
    case "deleted":
    case "danger":
      return {
        reverseColor: "--e400",
        iconColor: "--e500",
        textColor: "--e500",
        bgColor: "--e100",
        iconName: Ln.close
      };
    case "info":
      return {
        reverseColor: "--i400",
        iconColor: "--i500",
        textColor: "--i900",
        bgColor: "--i100",
        iconName: Ln.help
      };
    case N0.PAUSED:
    case "warning":
      return {
        reverseColor: "--w400",
        iconColor: "--w500",
        textColor: "--w900",
        bgColor: "--w100",
        iconName: Ln.exclamation
      };
    case "limitExcedeed":
      return {
        reverseColor: "--e400",
        iconColor: "--e500",
        textColor: "--e900",
        bgColor: "--e100",
        iconName: Ln.lock
      };
    case N0.ACTIVE:
    case "success":
      return {
        reverseColor: "--s900",
        iconColor: "--s500",
        textColor: "--s900",
        bgColor: "--s100",
        iconName: Ln.check
      };
    case "sent":
      return {
        reverseColor: "--s900",
        iconColor: "--s900",
        textColor: "--s900",
        bgColor: "--s100",
        iconName: Ln.check
      };
    case Sp.PUBLISHED:
    case "connected":
    case "published":
      return {
        reverseColor: "--s400",
        iconColor: "--s900",
        textColor: "--s900",
        bgColor: "--s100",
        iconName: Ln.check
      };
    case Sp.PUBLISHING:
    case "publishing":
      return {
        reverseColor: "--n400",
        iconColor: "--n400",
        textColor: "--n700",
        bgColor: "--n100",
        iconName: Ln.refresh
      };
    case "queued":
      return {
        reverseColor: "--w900",
        iconColor: "--w900",
        textColor: "--w900",
        bgColor: "--w100",
        iconName: Ln.refresh
      };
    case "publishingStatic":
      return {
        reverseColor: "--n400",
        iconColor: "--n400",
        textColor: "--n700",
        bgColor: "--n100",
        iconName: Ln.refresh
      };
    // Same as "publishing", but icon is not Rotating (see "spin" prop on icon)
    case "neutral":
      return {
        reverseColor: "--n400",
        iconColor: "--n500",
        textColor: "--n400",
        bgColor: "--n100",
        iconName: Ln.close
      };
    case "not_sent":
      return {
        reverseColor: "--fn-fg-light",
        iconColor: "--fn-fg-light",
        textColor: "--fn-fg-light",
        bgColor: "--fn-bg",
        iconName: Ln.close
      };
    case "published_variant":
      return {
        reverseColor: "--a3900",
        iconColor: "--a3900",
        textColor: "--a3900",
        bgColor: "--a3100",
        iconName: Ln.check
      };
    case "ai":
      return {
        reverseColor: "--a1500",
        iconColor: "--a1500",
        textColor: "--a1500",
        bgColor: "--a1100",
        iconName: Ln.ai
      };
  }
  return {
    reverseColor: "",
    iconColor: "",
    textColor: "",
    bgColor: "",
    iconName: Ln.close
  };
}, n8e = "big-icon_Tc", r8e = {
  bigIcon: n8e
}, RT = (e10) => {
  const {
    status: t,
    variant: n = "small",
    hasIconReverse: r,
    iconVariant: o,
    iconName: i
  } = e10;
  if (!t)
    return null;
  const {
    reverseColor: u,
    textColor: p,
    bgColor: v,
    borderColor: y,
    iconColor: k
  } = cg(t);
  let {
    iconName: T
  } = cg(t);
  return i && (T = i), o === "none" && (T = "NO_ICON"), n === "big" ? jsxRuntimeExports.jsx(li, {
    spin: t === "publishing" || t === "queued",
    forceSize: 24,
    hasCircle: true,
    fillColor: r ? v : k,
    color: r ? u : "--n000",
    className: r8e.bigIcon,
    children: T
  }) : jsxRuntimeExports.jsx(li, {
    spin: t === "publishing" || t === "queued",
    hasCircle: true,
    fillColor: r ? v : k,
    color: r ? u : "--n000",
    children: T
  });
}, o8e = "status-badge_m7", i8e = "status-badge-none-icon_sg", a8e = "status-badge-no-icon_Ra", s8e = "is-blurred_WO", l8e = "gradient_9J", u8e = "status-icon_rT", c8e = "mask_wn", d8e = "mask2_40", f8e = "ml1_Fi", Rf = {
  statusBadge: o8e,
  statusBadgeNoneIcon: i8e,
  statusBadgeNoIcon: a8e,
  isBlurred: s8e,
  gradient: l8e,
  statusIcon: u8e,
  mask: c8e,
  mask2: d8e,
  ml1: f8e
}, Q8e = (e10) => {
  const {
    status: t,
    text: n,
    translate: r = true,
    numberValue: o,
    icon: i,
    className: u,
    variant: p = "small",
    iconVariant: v = "normal",
    hideIcon: y = false,
    capitalizeStatus: k = false,
    isBlurred: T,
    fontWeight: R,
    borderRadius: I
  } = e10;
  let {
    iconColor: P,
    iconName: S
  } = cg(t);
  const {
    reverseColor: U,
    textColor: B,
    bgColor: X,
    borderColor: Z
  } = cg(t);
  i && (S = i);
  const te = o !== void 0, Q = v === "reverse";
  Q && (P = X);
  const q = `var(${P}-rgb)`;
  return p === "big" ? jsxRuntimeExports.jsxs("div", {
    className: Kt(u, Rf.statusIcon),
    children: [jsxRuntimeExports.jsx("div", {
      className: Rf.gradient,
      style: {
        boxShadow: `0px -48px 56px rgba(${q}, 0.15), 
                        0px -24px 48px rgba(${q}, 0.18),
                        0px -16px 24px rgba(${q}, 0.2)`
      }
    }), jsxRuntimeExports.jsx("div", {
      className: Rf.mask
    }), jsxRuntimeExports.jsx(mh, {
      condition: !y,
      animation: "none",
      children: jsxRuntimeExports.jsx(RT, {
        variant: "big",
        status: t,
        hasIconReverse: Q,
        iconVariant: v,
        iconName: S
      })
    }), jsxRuntimeExports.jsx("div", {
      className: Kt(Rf.mask2),
      children: jsxRuntimeExports.jsx(nr, {
        isBlurred: T,
        type: Er.textIntro,
        fontWeight: si.bold,
        color: Q ? U : P,
        translate: r,
        children: n
      })
    })]
  }) : jsxRuntimeExports.jsxs("div", {
    className: Kt(u, T ? Rf.isBlurred : "", y ? Rf.statusBadgeNoIcon : Rf.statusBadge, v === "none" ? Rf.statusBadgeNoneIcon : void 0),
    style: {
      backgroundColor: `var(${X})`,
      border: Z ? `1px solid var(${Z})` : "",
      borderRadius: I
    },
    children: [jsxRuntimeExports.jsx(mh, {
      condition: !y,
      animation: "none",
      children: jsxRuntimeExports.jsx(RT, {
        variant: "small",
        status: t,
        hasIconReverse: Q,
        iconVariant: v,
        iconName: S
      })
    }), jsxRuntimeExports.jsx(nr, {
      type: Er.textCaption,
      isBlurred: T,
      fontWeight: R,
      capitalize: k,
      color: B,
      textWrap: "wrap",
      translate: r,
      children: n
    }), jsxRuntimeExports.jsx(mh, {
      condition: te,
      children: jsxRuntimeExports.jsx("div", {
        className: Kt(te ? Rf.ml1 : ""),
        children: jsxRuntimeExports.jsx(nr, {
          isBlurred: T,
          fontWeight: si.bold,
          translate: false,
          color: B,
          type: Er.textCaption,
          children: o
        })
      })
    })]
  });
}, h8e = (e10) => {
  const {
    id: t,
    text: n,
    type: r = "tag-default",
    hasDeleteBtn: o,
    deleteBtnCallback: i,
    popoverMessage: u,
    variant: p = "tag",
    active: v,
    hidden: y = false,
    textColor: k,
    hasInnerElement: T,
    innerElement: R
  } = e10;
  function I(P) {
    return u ? jsxRuntimeExports.jsx(jp, {
      message: u,
      wrapChildren: false,
      maxWidth: "512px",
      children: P
    }) : P;
  }
  return jsxRuntimeExports.jsx(Li, {
    className: Kt("Tag-container", y ? "hidden" : ""),
    children: I(jsxRuntimeExports.jsxs("div", {
      className: `${p} ${r}`,
      style: v ? {
        opacity: "1"
      } : {},
      children: [jsxRuntimeExports.jsx(nr, {
        color: k ?? k,
        translate: false,
        children: n
      }), jsxRuntimeExports.jsx(Va, {
        if: T,
        children: jsxRuntimeExports.jsx("div", {
          className: Kt(ZT),
          children: R
        })
      }), o && jsxRuntimeExports.jsx("div", {
        className: "tag-btn-delete",
        onClick: () => {
          i && i(t);
        },
        children: jsxRuntimeExports.jsx(li, {
          forceSize: 16,
          color: "inherit",
          hoverColor: "inherit",
          children: Ln.close
        })
      })]
    }))
  });
};
var IT;
(function(e10) {
  e10.default = "tag-default", e10.primary = "tag-primary";
})(IT || (IT = {}));
const j8e = (e10) => {
  const {
    tags: t,
    className: n,
    variant: r = "tag"
  } = e10;
  return jsxRuntimeExports.jsx(Li, {
    className: Kt(`TagList-container ${n ?? ""} ${r === "chip" ? KT : zp}`),
    children: t && t.length && t.map((o) => reactExports.createElement(h8e, {
      ...o,
      variant: r,
      key: o.id
    }))
  });
}, q8e = ({
  children: e10,
  waitBetweenComponents: t = 2100,
  duration: n = 350,
  cycle: r = false
}) => {
  const [o, i] = reactExports.useState(0);
  reactExports.useEffect(() => {
    const p = setInterval(() => {
      i((v) => {
        const y = v + 1;
        return y < e10.length ? y : (clearInterval(p), v);
      });
    }, t);
    return () => clearInterval(p);
  }, [e10.length, r, t]);
  const u = m1(o, {
    key: o,
    // from: { opacity: 0, transform: "translateY(100px)", position: "absolute" },
    // enter: { opacity: 1, transform: "translateY(0)" },
    // leave: { opacity: 0, transform: "translateY(100px)" },
    from: {
      opacity: 0,
      transform: "translate3d(0,80px,0)",
      position: "absolute",
      width: "100%"
    },
    enter: {
      opacity: 1,
      transform: "translate3d(0,0%,0)"
    },
    leave: {
      opacity: 0,
      transform: "translate3d(0,-80px,0)",
      width: "100%"
    },
    keys: o,
    config: {
      duration: n
    }
  });
  return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
    children: u((p, v, y, k) => jsxRuntimeExports.jsx(yh.div, {
      style: {
        ...p
      },
      children: e10[v]
    }, k))
  });
}, p8e = "modal_fb", b8e = "body_W9", g8e = "header-text_Zr", ny = {
  modal: p8e,
  body: b8e,
  headerText: g8e
}, e9e = (e10) => {
  const {
    title: t,
    titleReplacements: n,
    children: r,
    positiveBtnText: o = "Save",
    showPositiveBtnIcon: i,
    showFooterTopBorder: u,
    saveCallback: p,
    cancelCallback: v,
    savable: y,
    close: k,
    closeOnSave: T = true,
    closeOnError: R = false,
    savingInProgress: I,
    testId: P,
    width: S = "672px",
    requestGotError: U = false
  } = e10, [B, X] = reactExports.useState(false);
  reactExports.useEffect(() => {
    B && T && !I && (X(false), U ? R && k({
      isOk: true,
      data: {
        requestGotError: U
      }
    }) : T && k({
      isOk: true,
      data: {
        requestGotError: U
      }
    }));
  }, [k, R, T, B, U, I]);
  const Z = () => {
    X(true), p && p();
  }, te = () => {
    v && v(), k({
      isOk: false
    });
  };
  return jsxRuntimeExports.jsxs(kh, {
    width: S,
    className: ny.modal,
    testId: P,
    children: [jsxRuntimeExports.jsx(Eh, {
      closeFn: te,
      children: jsxRuntimeExports.jsx(nr, {
        replacements: n,
        fontWeight: si.bold,
        type: Er.heading4,
        className: ny.headerText,
        children: t
      })
    }), jsxRuntimeExports.jsx(op, {
      className: ny.body,
      children: r
    }), jsxRuntimeExports.jsx(rm, {
      showTopBorder: u,
      buttonsPosition: "between",
      positive: {
        cta: Z,
        text: o,
        icon: i ? Ln.save : void 0,
        isLoading: I,
        disabled: !y
      },
      negative: {
        cta: te,
        text: "Cancel"
      }
    })]
  });
};
function t9e(e10) {
  const t = e10.inputs, n = e10.reducer;
  e10.validateOn = e10.validateOn ?? "change";
  const r = e10.slice, o = reactExports.useRef({}), i = e10.reducer ? useSelector(e10.reducer) : {}, u = e10.slice ?? {}, p = e10.stateErrorsConfig ?? {
    errorsStateFieldName: "errors"
  }, v = Wg();
  reactExports.useEffect(() => {
    const S = p.errorsStateFieldName, U = i[S];
    U && U.length > 0 && P();
  }, [i[p == null ? void 0 : p.errorsStateFieldName]]);
  for (const S in t) {
    const U = S;
    t[S] = {
      //@ts-ignore
      ...t[U],
      _autocompleteRef: reactExports.useRef(null),
      _inputRef: reactExports.useRef(null),
      stateFieldName: U,
      reducer: n ? useSelector(n) : null,
      slice: r,
      stateValue: null,
      setStateValue: null,
      setStateValueArray: null,
      validateOn: e10.validateOn,
      getValue: function() {
        var B, X, Z, te, Q, q, F, ne, ae, pe;
        return this.fieldType == "InputNumber" ? parseInt((X = (B = this._inputRef) == null ? void 0 : B.current) == null ? void 0 : X.value) : this.fieldType == "Checkbox" ? (te = (Z = this._inputRef) == null ? void 0 : Z.current) == null ? void 0 : te.checked : this.fieldType == "Autocomplete" ? (q = (Q = this._inputRef) == null ? void 0 : Q.current) == null ? void 0 : q.value : this.fieldType == "ColorPicker" ? (ne = (F = this._inputRef) == null ? void 0 : F.current) == null ? void 0 : ne.value : ((pe = (ae = this._inputRef) == null ? void 0 : ae.current) == null ? void 0 : pe.value) ?? void 0;
      },
      initialValue: i.initialState ? i.initialState[U] : null,
      getInitialValue: function() {
        return this.initialValue;
      },
      //
      errors: null,
      setErrors: null,
      hasError: null,
      setHasError: null,
      isDirty: null,
      setIsDirty: null
    }, t._addInternalInput = (B) => {
      if (B.stateFieldName) {
        let X = "";
        B.arrayPosition && (X = `${B.arrayPosition}`), o.current[B.stateFieldName + X] = B, t[B.stateFieldName + X] = B;
      }
      t._removeInternalInput = (X) => {
        if (X.stateFieldName) {
          let Z = "";
          X.arrayPosition && (Z = `${X.arrayPosition}`), delete o.current[X.stateFieldName + Z], delete t[X.stateFieldName + Z];
        }
      }, t._internalInputs = o;
    };
  }
  const y = () => {
    let S = true;
    for (const U in o.current) {
      const B = K0(o.current[U]);
      S = S && B;
    }
    return S;
  }, k = () => {
    var U, B, X;
    const S = {};
    for (const Z in o.current)
      o.current[Z] && ((U = o.current[Z]) != null && U.getValue) && (S[Z] = (X = (B = o.current[Z]) == null ? void 0 : B.getValue) == null ? void 0 : X.call(B));
    return S;
  }, T = () => {
    var U, B, X;
    const S = {};
    for (const Z in o.current)
      (U = o.current[Z]) != null && U.isDirty && (S[Z] = (X = (B = o.current[Z]) == null ? void 0 : B.getValue) == null ? void 0 : X.call(B));
    return S;
  }, R = () => {
    const S = u.resetState;
    v(S());
  };
  function I(S, U) {
    const B = U.split(".");
    let X = S;
    for (const Z of B)
      if (X.hasOwnProperty(Z))
        X = X[Z];
      else
        return;
    return X;
  }
  const P = () => {
    const S = p.errorsStateFieldName;
    if (i.hasOwnProperty(S)) {
      const U = i[S];
      e10.debugDisplayBeErrors;
      for (const B in o.current) {
        const X = o.current[B];
        let Z = "";
        for (const te of U) {
          let Q = X.errorMatching ?? [];
          Array.isArray(Q) || (Q = [Q]);
          for (const q of Q)
            for (const F in q)
              if (q.hasOwnProperty(F)) {
                const ne = q[F], ae = I(te, F);
                if (ae !== void 0) {
                  if (typeof ne == "boolean" && ne === true) {
                    Z = te.errorMessage;
                    break;
                  } else if (typeof ne == "string" && ne === ae) {
                    Z = te.errorMessage;
                    break;
                  }
                }
              }
        }
        Z ? Or(t[B], false, Z) : Or(t[B], true);
      }
    }
  };
  return {
    formConfig: t,
    isValid: y,
    getData: k,
    getChangedData: T,
    resetForm: R,
    validateFromState: P
  };
}
const n9e = (e10) => {
  const {
    accordionId: t,
    summaryChildren: n,
    detailsChildren: r,
    disableGutters: o,
    variant: i,
    expanded: u,
    iconSize: p,
    iconName: v,
    summaryCustomStyle: y,
    baseCustomStyle: k,
    detailsCustomStyle: T,
    onExpandedChange: R,
    reverse: I = false
  } = e10, [P, S] = reactExports.useState(u ?? false);
  reactExports.useEffect(() => {
    P !== u && S(u ?? false);
  }, [u]);
  const U = () => {
    const B = !P;
    S(B), R && R(B);
  };
  return jsxRuntimeExports.jsxs(N4, {
    expanded: P,
    disableGutters: o,
    variant: i,
    className: Kt("Accordion-container", I ? "Accordion-reverse" : ""),
    style: k,
    children: [jsxRuntimeExports.jsx(W4, {
      onClick: U,
      expandIcon: n ? jsxRuntimeExports.jsx(li, {
        className: "Accordion-icon",
        type: p ?? ai.large,
        children: v ?? Ln.caretDown
      }) : void 0,
      className: Kt(n ? "" : "AccordionSummary-hide"),
      style: y,
      id: t,
      "aria-controls": t,
      children: n ?? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {})
    }), jsxRuntimeExports.jsx(L4, {
      style: T,
      children: r
    })]
  });
}, m8e = "checkboxIcon_ZU", v8e = "show_7C", MT = {
  checkboxIcon: m8e,
  show: v8e
}, y8e = (e10) => {
  const {
    isChecked: t,
    intermediate: n,
    isHovered: r,
    hoverMode: o,
    size: i
  } = e10, [u, p] = reactExports.useState(true);
  reactExports.useEffect(() => {
    let k = -1;
    return r && (k = setTimeout(() => p(true), 10)), t && p(true), () => clearTimeout(k);
  }, [t, n, r, o]);
  const v = () => r && o === "check" && !t || !t ? Ln.check : n ? Ln.remove : Ln.check, y = () => r && o === "check" && !t ? "--p300" : t ? "--n000" : "--fn0bg";
  return jsxRuntimeExports.jsx(li, {
    type: ai.small,
    color: y(),
    className: Kt(MT.checkboxIcon, u ? MT.show : void 0),
    forceSize: i === "small" ? 10 : void 0,
    children: v()
  });
}, r9e = (e10) => {
  const {
    formconfig: t,
    label: n,
    checked: r = false,
    hovered: o,
    intermediate: i = false,
    onChange: u,
    className: p,
    inputRef: v,
    labelClassName: y,
    labelWordBreak: k,
    disabled: T,
    testId: R,
    translate: I,
    replacements: P,
    _size: S = "large",
    _hoverMode: U = "border"
  } = e10;
  let {
    backgroundColor: B
  } = e10;
  const X = Wg(), Z = reactExports.useRef(null), [te, Q] = reactExports.useState(r), [q, F] = reactExports.useState(o), ne = C6(Z);
  reactExports.useEffect(() => {
    const de = o !== void 0 && o;
    F(de || ne);
  }, [ne, o]);
  const ae = S, pe = U ?? "border";
  B && (B = oy(B));
  const [Ve, we] = reactExports.useState((t == null ? void 0 : t._inputRef) ?? v ?? reactExports.useRef(null));
  reactExports.useEffect(() => {
    t != null && t._inputRef && (t.fieldType = "Checkbox", we(t == null ? void 0 : t._inputRef));
  }, []), reactExports.useEffect(() => {
    (t == null ? void 0 : t.stateValue) !== void 0 && t.stateValue !== null && Q(t == null ? void 0 : t.stateValue);
  }, [t == null ? void 0 : t.stateValue]), reactExports.useEffect(() => {
    Q(r);
  }, [r]);
  const Te = (de, ze) => {
    if (typeof de == "string") {
      let nt = "--n600";
      return ze && (nt = "--n900"), T && (nt = "--n500"), jsxRuntimeExports.jsx(nr, {
        className: y,
        color: nt,
        translate: I,
        replacements: P,
        wordBreak: k,
        children: de
      });
    }
    return jsxRuntimeExports.jsx("span", {
      className: y,
      children: de
    });
  }, be = () => {
    Ve && Ve.current && Ve.current.click();
  }, ie = (de) => {
    Q((ze) => !ze), t != null && t.setStateValue && X(t.setStateValue(!te)), u && u(de);
  };
  return jsxRuntimeExports.jsxs(Li, {
    innerRef: Z,
    className: Kt("vanguard-checkbox-container", te ? "vanguard-checkbox-checked" : "", T ? "vanguard-checkbox-disabled" : "", pe === "check" ? "hover-mode-check" : "", p),
    onClick: be,
    testId: R,
    children: [jsxRuntimeExports.jsxs("div", {
      style: {
        backgroundColor: B,
        borderRadius: "6px"
      },
      className: Kt("vanguard-checkbox-input-content"),
      children: [jsxRuntimeExports.jsx("input", {
        ref: Ve,
        type: "checkbox",
        checked: te,
        disabled: T,
        className: Kt("vanguard-checkbox-input", ae === "large" ? "cb-size-large" : "cb-size-small"),
        onChange: (de) => {
          T || ie(de);
        }
      }), jsxRuntimeExports.jsx("div", {
        className: Kt("vanguard-checkbox", ae === "large" ? "cb-size-large" : "cb-size-small"),
        children: jsxRuntimeExports.jsx(y8e, {
          isChecked: te,
          intermediate: i,
          size: ae,
          isHovered: q,
          hoverMode: pe
        })
      })]
    }), n && jsxRuntimeExports.jsx("div", {
      className: "vanguard-checkbox-label",
      children: Te(n, te)
    })]
  });
};
const useAppDispatch = () => useDispatch();
const getQueryParam = (param) => {
  const searchParams = new URLSearchParams(window.location.search);
  return searchParams.get(param) || "";
};
const rcWindow = window;
const getPathId = (url) => {
  var _a2, _b2;
  rcWindow.rankingCoachReactData = (rcWindow == null ? void 0 : rcWindow.rankingCoachReactData) || {};
  if ((_a2 = rcWindow.rankingCoachReactData) == null ? void 0 : _a2.currentPostId) {
    return parseInt((_b2 = rcWindow.rankingCoachReactData) == null ? void 0 : _b2.currentPostId);
  }
  if (!url) {
    url = window.location.href.toString();
  }
  let pathId = getQueryParam("post");
  if (typeof pathId === "string") {
    pathId = parseInt(pathId);
    if (isNaN(pathId) && !!pathId) {
      return -1;
    }
  }
  const match = url.match(/(?:\/)(\d+)(?:$|[\?\#])/);
  if (!match) {
    return pathId;
  }
  return parseInt(match[1]) ?? pathId;
};
const serpPreviewContainer = "SERPPreview-module__serp-preview-container___ws8cg";
const tabletIcon = "SERPPreview-module__tablet-icon___YZKBP";
const desktopIcon = "SERPPreview-module__desktop-icon___EzVfC";
const serpPreviewBreakpoints = "SERPPreview-module__serp-preview-breakpoints___vnpa0";
const serpPreviewContent = "SERPPreview-module__serp-preview-content___9S1a8";
const contentDesktopModePreview = "SERPPreview-module__content-desktop-mode-preview___NMi85";
const contentTabletModePreview = "SERPPreview-module__content-tablet-mode-preview___lnQWN";
const serpSeoUrl = "SERPPreview-module__serp-seo-url___UxCd8";
const breadcrumbPart = "SERPPreview-module__breadcrumb-part___JbOZ9";
const separator = "SERPPreview-module__separator___wqWvg";
const recalculatingIndicator = "SERPPreview-module__recalculating-indicator___hIp-E";
const serpSeoTitle = "SERPPreview-module__serp-seo-title___fEpgh";
const serpSeoDescription = "SERPPreview-module__serp-seo-description___TdZ9q";
const recalculating = "SERPPreview-module__recalculating___Hf1dJ";
const styles$k = {
  serpPreviewContainer,
  tabletIcon,
  desktopIcon,
  serpPreviewBreakpoints,
  serpPreviewContent,
  contentDesktopModePreview,
  contentTabletModePreview,
  serpSeoUrl,
  breadcrumbPart,
  separator,
  recalculatingIndicator,
  serpSeoTitle,
  serpSeoDescription,
  recalculating
};
var KEY_PREFIX = "persist:";
var FLUSH = "persist/FLUSH";
var REHYDRATE = "persist/REHYDRATE";
var PAUSE = "persist/PAUSE";
var PERSIST = "persist/PERSIST";
var PURGE = "persist/PURGE";
var REGISTER = "persist/REGISTER";
var DEFAULT_VERSION = -1;
const capitalizeFirstLetter = (string) => {
  return string.charAt(0).toUpperCase() + string.slice(1);
};
const capitalizeOnlyFirstLetter = (string) => {
  return string ? string.charAt(0).toUpperCase() + string.slice(1).toLowerCase() : "";
};
const updateObjByPath = (obj, keyPathUrl, value) => {
  const keyPath = keyPathUrl.split("/");
  const lastKeyIndex = keyPath.length - 1;
  for (let i = 0; i < lastKeyIndex; ++i) {
    let key2 = keyPath[i];
    if (!(key2 in obj)) obj[key2] = parseInt(key2) !== parseInt(key2) ? {} : [];
    obj = obj[key2];
  }
  obj[keyPath[lastKeyIndex]] = value;
};
class ReduxGenerator {
  genAll(initialState2) {
    const toRet = {};
    for (const key2 in initialState2) {
      let type = typeof initialState2[key2];
      if (Array.isArray(initialState2[key2])) {
        type = "array";
      }
      const capKey = capitalizeFirstLetter(key2);
      switch (type) {
        case "string":
          toRet["set" + capKey] = this.primitiveSetter(key2);
          break;
        case "boolean":
          toRet["set" + capKey] = this.primitiveSetter(key2);
          break;
        case "number":
          toRet["set" + capKey] = this.primitiveSetter(key2);
          break;
        case "array":
          toRet["set" + capKey] = this.arrSetter(key2);
          toRet["set" + capKey + "inArray"] = this.inArrSetter(key2);
          break;
        case "object":
          toRet["set" + capKey] = this.primitiveSetter(key2);
          break;
        case "undefined":
          toRet["set" + capKey] = this.primitiveSetter(key2);
          break;
        default:
          throw new Error(`Not implemented ${type} ${key2}`);
      }
    }
    toRet["setAll"] = (state, { payload }) => {
      for (const key2 in state) {
        const keyStr = key2;
        if (payload && Object.hasOwnProperty.bind(payload)(keyStr)) {
          state[keyStr] = payload[keyStr];
        }
      }
    };
    toRet["setByPath"] = (state, { payload }) => {
      const { value } = payload;
      let { path } = payload;
      path = path.split(".").join("/");
      updateObjByPath(state, path, value);
    };
    toRet["resetState"] = (state) => {
      if (state["initialState"] === null) {
        console.warn("Cannot reset state: No initialState", current(state));
        return;
      }
      for (const key2 in state["initialState"]) {
        const keyStr = key2;
        if (["initialState", "requestInProgress", "requestSuccess", "requestRejected"].includes(keyStr)) {
          continue;
        }
        state[keyStr] = state["initialState"][keyStr];
      }
    };
    return toRet;
  }
  inArrSetter(key2) {
    return (state, { payload }) => {
      const { el: el2, idx } = payload;
      const keyStr = key2;
      const toModify = state[keyStr][idx];
      if (toModify) {
        for (const key22 in toModify) {
          if (el2[key22] !== void 0) {
            toModify[key22] = el2[key22];
          }
        }
      }
    };
  }
  arrSetter(key2) {
    return (state, { payload }) => {
      const keyStr = key2;
      if (!payload) {
        state[keyStr] = payload;
      } else {
        state[keyStr] = [...payload];
      }
    };
  }
  objectSetter() {
    return (state, { payload }) => {
      for (const key2 in payload) {
        const keyStr = key2;
        const stateAsAny = state;
        if (stateAsAny.hasOwnProperty(keyStr)) {
          state[keyStr] = payload[keyStr];
        } else {
          const stateKeys = Object.keys(state).join(", ");
          console.warn(`Trying to set the key ${keyStr} on state, but state has only: ${stateKeys}`);
        }
      }
    };
  }
  primitiveSetter(key2) {
    return (state, { payload }) => {
      const keyStr = key2;
      state[keyStr] = payload;
    };
  }
  versionCheck(builder, initialState2, key2) {
    builder.addCase(REHYDRATE, (state, action) => {
      const rehydrateAction = action;
      if (!state) {
        return state;
      }
      if (!rehydrateAction.payload) {
        return rehydrateAction.payload;
      }
      if (key2 !== rehydrateAction.key) {
        return state;
      }
      if (initialState2["version"] !== rehydrateAction.payload.version) {
        rehydrateAction.payload = initialState2;
      }
      if (rehydrateAction.payload.keepStorage === false) {
        rehydrateAction.payload = initialState2;
      }
    });
  }
  linkThunk(builder, thunk2, opts) {
    const optArr = Array.isArray(opts) ? opts : [opts];
    builder.addCase(thunk2.pending, (state, { payload }) => {
      for (const opt of optArr) {
        const { key: key2, dataKey } = opt;
        const keyString = key2;
        if (Array.isArray(state[keyString])) {
          state[keyString] = [];
        } else {
          state[keyString] = {};
        }
        state[key2 + "Loading"] = true;
      }
    });
    builder.addCase(thunk2.fulfilled, (state, { payload }) => {
      for (const opt of optArr) {
        const { key: key2, dataKey, mapper } = opt;
        const keyString = key2;
        let data = dataKey ? payload[dataKey] : payload.data;
        if (mapper) {
          data = mapper(data);
        }
        state[key2 + "Loading"] = false;
        if (Array.isArray(data)) {
          state[keyString] = [...data];
        } else {
          state[keyString] = { ...data };
        }
        state[key2 + "Error"] = "";
      }
    });
    builder.addCase(thunk2.rejected, (state, payload) => {
      for (const opt of optArr) {
        const { key: key2, dataKey, mapper } = opt;
        const errorPayload = payload;
        state[key2 + "Loading"] = false;
        state[key2 + "Error"] = (errorPayload == null ? void 0 : errorPayload.error.message) || "unknown error";
      }
    });
  }
  linkThunkToState(builder, thunk2, opts) {
    builder.addCase(thunk2.pending, (state, { payload }) => {
      state["isLoading"] = true;
      state["error"] = "";
    });
    builder.addCase(thunk2.fulfilled, (state, { payload }) => {
      let data = payload.data ? payload.data : payload;
      if (opts && opts.mapper) {
        data = opts.mapper(data, state);
      }
      const dataKeys = Object.keys(data ?? {});
      const stateKeys = Object.keys(state);
      const intersectionDataState = dataKeys.filter((x) => !stateKeys.includes(x));
      const intersectionStateData = stateKeys.filter((x) => !dataKeys.includes(x));
      if (intersectionDataState) {
        console.warn("Mapping keys that exist in data but not in state", intersectionDataState.join(", "));
      }
      if (intersectionStateData) {
        console.warn("Mapping keys that exist in state but not in data", intersectionStateData.join(", "));
      }
      state["isLoading"] = false;
      for (const key2 in data) {
        const keyStr = key2;
        state[keyStr] = data[keyStr];
      }
      state["error"] = "";
    });
    builder.addCase(thunk2.rejected, (state, payload) => {
      const errorPayload = payload;
      state["isLoading"] = false;
      state["error"] = (errorPayload == null ? void 0 : errorPayload.error.message) || "unknown error";
    });
  }
  removeById(key2) {
    return (state, { payload }) => {
      if (payload) {
        const stringKey = key2;
        state[stringKey] = state[stringKey].filter((el2) => el2.id !== payload);
      }
    };
  }
}
var extendStatics = function(d, b) {
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d10, b10) {
    d10.__proto__ = b10;
  } || function(d10, b10) {
    for (var p in b10) if (Object.prototype.hasOwnProperty.call(b10, p)) d10[p] = b10[p];
  };
  return extendStatics(d, b);
};
function __extends(d, b) {
  if (typeof b !== "function" && b !== null)
    throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
  extendStatics(d, b);
  function __2() {
    this.constructor = d;
  }
  d.prototype = b === null ? Object.create(b) : (__2.prototype = b.prototype, new __2());
}
function __awaiter(thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function(resolve) {
      resolve(value);
    });
  }
  return new (P || (P = Promise))(function(resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e4) {
        reject(e4);
      }
    }
    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e4) {
        reject(e4);
      }
    }
    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }
    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
}
function __generator(thisArg, body) {
  var _ = { label: 0, sent: function() {
    if (t[0] & 1) throw t[1];
    return t[1];
  }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
  return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
    return this;
  }), g;
  function verb(n) {
    return function(v) {
      return step([n, v]);
    };
  }
  function step(op2) {
    if (f) throw new TypeError("Generator is already executing.");
    while (g && (g = 0, op2[0] && (_ = 0)), _) try {
      if (f = 1, y && (t = op2[0] & 2 ? y["return"] : op2[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op2[1])).done) return t;
      if (y = 0, t) op2 = [op2[0] & 2, t.value];
      switch (op2[0]) {
        case 0:
        case 1:
          t = op2;
          break;
        case 4:
          _.label++;
          return { value: op2[1], done: false };
        case 5:
          _.label++;
          y = op2[1];
          op2 = [0];
          continue;
        case 7:
          op2 = _.ops.pop();
          _.trys.pop();
          continue;
        default:
          if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op2[0] === 6 || op2[0] === 2)) {
            _ = 0;
            continue;
          }
          if (op2[0] === 3 && (!t || op2[1] > t[0] && op2[1] < t[3])) {
            _.label = op2[1];
            break;
          }
          if (op2[0] === 6 && _.label < t[1]) {
            _.label = t[1];
            t = op2;
            break;
          }
          if (t && _.label < t[2]) {
            _.label = t[2];
            _.ops.push(op2);
            break;
          }
          if (t[2]) _.ops.pop();
          _.trys.pop();
          continue;
      }
      op2 = body.call(thisArg, _);
    } catch (e4) {
      op2 = [6, e4];
      y = 0;
    } finally {
      f = t = 0;
    }
    if (op2[0] & 5) throw op2[1];
    return { value: op2[0] ? op2[1] : void 0, done: true };
  }
}
function __values(o) {
  var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
  if (m) return m.call(o);
  if (o && typeof o.length === "number") return {
    next: function() {
      if (o && i >= o.length) o = void 0;
      return { value: o && o[i++], done: !o };
    }
  };
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function __read(o, n) {
  var m = typeof Symbol === "function" && o[Symbol.iterator];
  if (!m) return o;
  var i = m.call(o), r, ar = [], e4;
  try {
    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  } catch (error) {
    e4 = { error };
  } finally {
    try {
      if (r && !r.done && (m = i["return"])) m.call(i);
    } finally {
      if (e4) throw e4.error;
    }
  }
  return ar;
}
function __spreadArray(to, from2, pack) {
  if (pack || arguments.length === 2) for (var i = 0, l = from2.length, ar; i < l; i++) {
    if (ar || !(i in from2)) {
      if (!ar) ar = Array.prototype.slice.call(from2, 0, i);
      ar[i] = from2[i];
    }
  }
  return to.concat(ar || Array.prototype.slice.call(from2));
}
function __await(v) {
  return this instanceof __await ? (this.v = v, this) : new __await(v);
}
function __asyncGenerator(thisArg, _arguments, generator) {
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  var g = generator.apply(thisArg, _arguments || []), i, q = [];
  return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function() {
    return this;
  }, i;
  function awaitReturn(f) {
    return function(v) {
      return Promise.resolve(v).then(f, reject);
    };
  }
  function verb(n, f) {
    if (g[n]) {
      i[n] = function(v) {
        return new Promise(function(a, b) {
          q.push([n, v, a, b]) > 1 || resume(n, v);
        });
      };
      if (f) i[n] = f(i[n]);
    }
  }
  function resume(n, v) {
    try {
      step(g[n](v));
    } catch (e4) {
      settle2(q[0][3], e4);
    }
  }
  function step(r) {
    r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle2(q[0][2], r);
  }
  function fulfill(value) {
    resume("next", value);
  }
  function reject(value) {
    resume("throw", value);
  }
  function settle2(f, v) {
    if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);
  }
}
function __asyncValues(o) {
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  var m = o[Symbol.asyncIterator], i;
  return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
    return this;
  }, i);
  function verb(n) {
    i[n] = o[n] && function(v) {
      return new Promise(function(resolve, reject) {
        v = o[n](v), settle2(resolve, reject, v.done, v.value);
      });
    };
  }
  function settle2(resolve, reject, d, v) {
    Promise.resolve(v).then(function(v3) {
      resolve({ value: v3, done: d });
    }, reject);
  }
}
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message2) {
  var e4 = new Error(message2);
  return e4.name = "SuppressedError", e4.error = error, e4.suppressed = suppressed, e4;
};
function isFunction$2(value) {
  return typeof value === "function";
}
function createErrorClass(createImpl) {
  var _super = function(instance) {
    Error.call(instance);
    instance.stack = new Error().stack;
  };
  var ctorFunc = createImpl(_super);
  ctorFunc.prototype = Object.create(Error.prototype);
  ctorFunc.prototype.constructor = ctorFunc;
  return ctorFunc;
}
var UnsubscriptionError = createErrorClass(function(_super) {
  return function UnsubscriptionErrorImpl(errors) {
    _super(this);
    this.message = errors ? errors.length + " errors occurred during unsubscription:\n" + errors.map(function(err, i) {
      return i + 1 + ") " + err.toString();
    }).join("\n  ") : "";
    this.name = "UnsubscriptionError";
    this.errors = errors;
  };
});
function arrRemove(arr, item) {
  if (arr) {
    var index = arr.indexOf(item);
    0 <= index && arr.splice(index, 1);
  }
}
var Subscription = (function() {
  function Subscription2(initialTeardown) {
    this.initialTeardown = initialTeardown;
    this.closed = false;
    this._parentage = null;
    this._finalizers = null;
  }
  Subscription2.prototype.unsubscribe = function() {
    var e_1, _a2, e_2, _b2;
    var errors;
    if (!this.closed) {
      this.closed = true;
      var _parentage = this._parentage;
      if (_parentage) {
        this._parentage = null;
        if (Array.isArray(_parentage)) {
          try {
            for (var _parentage_1 = __values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {
              var parent_1 = _parentage_1_1.value;
              parent_1.remove(this);
            }
          } catch (e_1_1) {
            e_1 = { error: e_1_1 };
          } finally {
            try {
              if (_parentage_1_1 && !_parentage_1_1.done && (_a2 = _parentage_1.return)) _a2.call(_parentage_1);
            } finally {
              if (e_1) throw e_1.error;
            }
          }
        } else {
          _parentage.remove(this);
        }
      }
      var initialFinalizer = this.initialTeardown;
      if (isFunction$2(initialFinalizer)) {
        try {
          initialFinalizer();
        } catch (e4) {
          errors = e4 instanceof UnsubscriptionError ? e4.errors : [e4];
        }
      }
      var _finalizers = this._finalizers;
      if (_finalizers) {
        this._finalizers = null;
        try {
          for (var _finalizers_1 = __values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {
            var finalizer = _finalizers_1_1.value;
            try {
              execFinalizer(finalizer);
            } catch (err) {
              errors = errors !== null && errors !== void 0 ? errors : [];
              if (err instanceof UnsubscriptionError) {
                errors = __spreadArray(__spreadArray([], __read(errors)), __read(err.errors));
              } else {
                errors.push(err);
              }
            }
          }
        } catch (e_2_1) {
          e_2 = { error: e_2_1 };
        } finally {
          try {
            if (_finalizers_1_1 && !_finalizers_1_1.done && (_b2 = _finalizers_1.return)) _b2.call(_finalizers_1);
          } finally {
            if (e_2) throw e_2.error;
          }
        }
      }
      if (errors) {
        throw new UnsubscriptionError(errors);
      }
    }
  };
  Subscription2.prototype.add = function(teardown) {
    var _a2;
    if (teardown && teardown !== this) {
      if (this.closed) {
        execFinalizer(teardown);
      } else {
        if (teardown instanceof Subscription2) {
          if (teardown.closed || teardown._hasParent(this)) {
            return;
          }
          teardown._addParent(this);
        }
        (this._finalizers = (_a2 = this._finalizers) !== null && _a2 !== void 0 ? _a2 : []).push(teardown);
      }
    }
  };
  Subscription2.prototype._hasParent = function(parent) {
    var _parentage = this._parentage;
    return _parentage === parent || Array.isArray(_parentage) && _parentage.includes(parent);
  };
  Subscription2.prototype._addParent = function(parent) {
    var _parentage = this._parentage;
    this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;
  };
  Subscription2.prototype._removeParent = function(parent) {
    var _parentage = this._parentage;
    if (_parentage === parent) {
      this._parentage = null;
    } else if (Array.isArray(_parentage)) {
      arrRemove(_parentage, parent);
    }
  };
  Subscription2.prototype.remove = function(teardown) {
    var _finalizers = this._finalizers;
    _finalizers && arrRemove(_finalizers, teardown);
    if (teardown instanceof Subscription2) {
      teardown._removeParent(this);
    }
  };
  Subscription2.EMPTY = (function() {
    var empty = new Subscription2();
    empty.closed = true;
    return empty;
  })();
  return Subscription2;
})();
Subscription.EMPTY;
function isSubscription(value) {
  return value instanceof Subscription || value && "closed" in value && isFunction$2(value.remove) && isFunction$2(value.add) && isFunction$2(value.unsubscribe);
}
function execFinalizer(finalizer) {
  if (isFunction$2(finalizer)) {
    finalizer();
  } else {
    finalizer.unsubscribe();
  }
}
var config = {
  Promise: void 0
};
var timeoutProvider = {
  setTimeout: function(handler, timeout) {
    var args = [];
    for (var _i = 2; _i < arguments.length; _i++) {
      args[_i - 2] = arguments[_i];
    }
    return setTimeout.apply(void 0, __spreadArray([handler, timeout], __read(args)));
  },
  clearTimeout: function(handle) {
    return clearTimeout(handle);
  },
  delegate: void 0
};
function reportUnhandledError(err) {
  timeoutProvider.setTimeout(function() {
    {
      throw err;
    }
  });
}
function noop$1() {
}
function errorContext(cb2) {
  {
    cb2();
  }
}
var Subscriber = (function(_super) {
  __extends(Subscriber2, _super);
  function Subscriber2(destination) {
    var _this = _super.call(this) || this;
    _this.isStopped = false;
    if (destination) {
      _this.destination = destination;
      if (isSubscription(destination)) {
        destination.add(_this);
      }
    } else {
      _this.destination = EMPTY_OBSERVER;
    }
    return _this;
  }
  Subscriber2.create = function(next, error, complete) {
    return new SafeSubscriber(next, error, complete);
  };
  Subscriber2.prototype.next = function(value) {
    if (this.isStopped) ;
    else {
      this._next(value);
    }
  };
  Subscriber2.prototype.error = function(err) {
    if (this.isStopped) ;
    else {
      this.isStopped = true;
      this._error(err);
    }
  };
  Subscriber2.prototype.complete = function() {
    if (this.isStopped) ;
    else {
      this.isStopped = true;
      this._complete();
    }
  };
  Subscriber2.prototype.unsubscribe = function() {
    if (!this.closed) {
      this.isStopped = true;
      _super.prototype.unsubscribe.call(this);
      this.destination = null;
    }
  };
  Subscriber2.prototype._next = function(value) {
    this.destination.next(value);
  };
  Subscriber2.prototype._error = function(err) {
    try {
      this.destination.error(err);
    } finally {
      this.unsubscribe();
    }
  };
  Subscriber2.prototype._complete = function() {
    try {
      this.destination.complete();
    } finally {
      this.unsubscribe();
    }
  };
  return Subscriber2;
})(Subscription);
var ConsumerObserver = (function() {
  function ConsumerObserver2(partialObserver) {
    this.partialObserver = partialObserver;
  }
  ConsumerObserver2.prototype.next = function(value) {
    var partialObserver = this.partialObserver;
    if (partialObserver.next) {
      try {
        partialObserver.next(value);
      } catch (error) {
        handleUnhandledError(error);
      }
    }
  };
  ConsumerObserver2.prototype.error = function(err) {
    var partialObserver = this.partialObserver;
    if (partialObserver.error) {
      try {
        partialObserver.error(err);
      } catch (error) {
        handleUnhandledError(error);
      }
    } else {
      handleUnhandledError(err);
    }
  };
  ConsumerObserver2.prototype.complete = function() {
    var partialObserver = this.partialObserver;
    if (partialObserver.complete) {
      try {
        partialObserver.complete();
      } catch (error) {
        handleUnhandledError(error);
      }
    }
  };
  return ConsumerObserver2;
})();
var SafeSubscriber = (function(_super) {
  __extends(SafeSubscriber2, _super);
  function SafeSubscriber2(observerOrNext, error, complete) {
    var _this = _super.call(this) || this;
    var partialObserver;
    if (isFunction$2(observerOrNext) || !observerOrNext) {
      partialObserver = {
        next: observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : void 0,
        error: error !== null && error !== void 0 ? error : void 0,
        complete: complete !== null && complete !== void 0 ? complete : void 0
      };
    } else {
      {
        partialObserver = observerOrNext;
      }
    }
    _this.destination = new ConsumerObserver(partialObserver);
    return _this;
  }
  return SafeSubscriber2;
})(Subscriber);
function handleUnhandledError(error) {
  {
    reportUnhandledError(error);
  }
}
function defaultErrorHandler(err) {
  throw err;
}
var EMPTY_OBSERVER = {
  closed: true,
  next: noop$1,
  error: defaultErrorHandler,
  complete: noop$1
};
var observable = (function() {
  return typeof Symbol === "function" && Symbol.observable || "@@observable";
})();
function identity(x) {
  return x;
}
function pipeFromArray(fns) {
  if (fns.length === 0) {
    return identity;
  }
  if (fns.length === 1) {
    return fns[0];
  }
  return function piped(input) {
    return fns.reduce(function(prev, fn) {
      return fn(prev);
    }, input);
  };
}
var Observable = (function() {
  function Observable2(subscribe) {
    if (subscribe) {
      this._subscribe = subscribe;
    }
  }
  Observable2.prototype.lift = function(operator) {
    var observable2 = new Observable2();
    observable2.source = this;
    observable2.operator = operator;
    return observable2;
  };
  Observable2.prototype.subscribe = function(observerOrNext, error, complete) {
    var _this = this;
    var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);
    errorContext(function() {
      var _a2 = _this, operator = _a2.operator, source = _a2.source;
      subscriber.add(operator ? operator.call(subscriber, source) : source ? _this._subscribe(subscriber) : _this._trySubscribe(subscriber));
    });
    return subscriber;
  };
  Observable2.prototype._trySubscribe = function(sink) {
    try {
      return this._subscribe(sink);
    } catch (err) {
      sink.error(err);
    }
  };
  Observable2.prototype.forEach = function(next, promiseCtor) {
    var _this = this;
    promiseCtor = getPromiseCtor(promiseCtor);
    return new promiseCtor(function(resolve, reject) {
      var subscriber = new SafeSubscriber({
        next: function(value) {
          try {
            next(value);
          } catch (err) {
            reject(err);
            subscriber.unsubscribe();
          }
        },
        error: reject,
        complete: resolve
      });
      _this.subscribe(subscriber);
    });
  };
  Observable2.prototype._subscribe = function(subscriber) {
    var _a2;
    return (_a2 = this.source) === null || _a2 === void 0 ? void 0 : _a2.subscribe(subscriber);
  };
  Observable2.prototype[observable] = function() {
    return this;
  };
  Observable2.prototype.pipe = function() {
    var operations = [];
    for (var _i = 0; _i < arguments.length; _i++) {
      operations[_i] = arguments[_i];
    }
    return pipeFromArray(operations)(this);
  };
  Observable2.prototype.toPromise = function(promiseCtor) {
    var _this = this;
    promiseCtor = getPromiseCtor(promiseCtor);
    return new promiseCtor(function(resolve, reject) {
      var value;
      _this.subscribe(function(x) {
        return value = x;
      }, function(err) {
        return reject(err);
      }, function() {
        return resolve(value);
      });
    });
  };
  Observable2.create = function(subscribe) {
    return new Observable2(subscribe);
  };
  return Observable2;
})();
function getPromiseCtor(promiseCtor) {
  var _a2;
  return (_a2 = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a2 !== void 0 ? _a2 : Promise;
}
function isObserver(value) {
  return value && isFunction$2(value.next) && isFunction$2(value.error) && isFunction$2(value.complete);
}
function isSubscriber(value) {
  return value && value instanceof Subscriber || isObserver(value) && isSubscription(value);
}
function hasLift(source) {
  return isFunction$2(source === null || source === void 0 ? void 0 : source.lift);
}
function operate(init) {
  return function(source) {
    if (hasLift(source)) {
      return source.lift(function(liftedSource) {
        try {
          return init(liftedSource, this);
        } catch (err) {
          this.error(err);
        }
      });
    }
    throw new TypeError("Unable to lift unknown Observable type");
  };
}
function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {
  return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);
}
var OperatorSubscriber = (function(_super) {
  __extends(OperatorSubscriber2, _super);
  function OperatorSubscriber2(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {
    var _this = _super.call(this, destination) || this;
    _this.onFinalize = onFinalize;
    _this.shouldUnsubscribe = shouldUnsubscribe;
    _this._next = onNext ? function(value) {
      try {
        onNext(value);
      } catch (err) {
        destination.error(err);
      }
    } : _super.prototype._next;
    _this._error = onError ? function(err) {
      try {
        onError(err);
      } catch (err2) {
        destination.error(err2);
      } finally {
        this.unsubscribe();
      }
    } : _super.prototype._error;
    _this._complete = onComplete ? function() {
      try {
        onComplete();
      } catch (err) {
        destination.error(err);
      } finally {
        this.unsubscribe();
      }
    } : _super.prototype._complete;
    return _this;
  }
  OperatorSubscriber2.prototype.unsubscribe = function() {
    var _a2;
    if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
      var closed_1 = this.closed;
      _super.prototype.unsubscribe.call(this);
      !closed_1 && ((_a2 = this.onFinalize) === null || _a2 === void 0 ? void 0 : _a2.call(this));
    }
  };
  return OperatorSubscriber2;
})(Subscriber);
var isArrayLike = (function(x) {
  return x && typeof x.length === "number" && typeof x !== "function";
});
function isPromise(value) {
  return isFunction$2(value === null || value === void 0 ? void 0 : value.then);
}
function isInteropObservable(input) {
  return isFunction$2(input[observable]);
}
function isAsyncIterable(obj) {
  return Symbol.asyncIterator && isFunction$2(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);
}
function createInvalidObservableTypeError(input) {
  return new TypeError("You provided " + (input !== null && typeof input === "object" ? "an invalid object" : "'" + input + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
}
function getSymbolIterator() {
  if (typeof Symbol !== "function" || !Symbol.iterator) {
    return "@@iterator";
  }
  return Symbol.iterator;
}
var iterator$1 = getSymbolIterator();
function isIterable$1(input) {
  return isFunction$2(input === null || input === void 0 ? void 0 : input[iterator$1]);
}
function readableStreamLikeToAsyncGenerator(readableStream) {
  return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
    var reader, _a2, value, done;
    return __generator(this, function(_b2) {
      switch (_b2.label) {
        case 0:
          reader = readableStream.getReader();
          _b2.label = 1;
        case 1:
          _b2.trys.push([1, , 9, 10]);
          _b2.label = 2;
        case 2:
          return [4, __await(reader.read())];
        case 3:
          _a2 = _b2.sent(), value = _a2.value, done = _a2.done;
          if (!done) return [3, 5];
          return [4, __await(void 0)];
        case 4:
          return [2, _b2.sent()];
        case 5:
          return [4, __await(value)];
        case 6:
          return [4, _b2.sent()];
        case 7:
          _b2.sent();
          return [3, 2];
        case 8:
          return [3, 10];
        case 9:
          reader.releaseLock();
          return [7];
        case 10:
          return [2];
      }
    });
  });
}
function isReadableStreamLike(obj) {
  return isFunction$2(obj === null || obj === void 0 ? void 0 : obj.getReader);
}
function innerFrom(input) {
  if (input instanceof Observable) {
    return input;
  }
  if (input != null) {
    if (isInteropObservable(input)) {
      return fromInteropObservable(input);
    }
    if (isArrayLike(input)) {
      return fromArrayLike(input);
    }
    if (isPromise(input)) {
      return fromPromise(input);
    }
    if (isAsyncIterable(input)) {
      return fromAsyncIterable(input);
    }
    if (isIterable$1(input)) {
      return fromIterable(input);
    }
    if (isReadableStreamLike(input)) {
      return fromReadableStreamLike(input);
    }
  }
  throw createInvalidObservableTypeError(input);
}
function fromInteropObservable(obj) {
  return new Observable(function(subscriber) {
    var obs = obj[observable]();
    if (isFunction$2(obs.subscribe)) {
      return obs.subscribe(subscriber);
    }
    throw new TypeError("Provided object does not correctly implement Symbol.observable");
  });
}
function fromArrayLike(array) {
  return new Observable(function(subscriber) {
    for (var i = 0; i < array.length && !subscriber.closed; i++) {
      subscriber.next(array[i]);
    }
    subscriber.complete();
  });
}
function fromPromise(promise) {
  return new Observable(function(subscriber) {
    promise.then(function(value) {
      if (!subscriber.closed) {
        subscriber.next(value);
        subscriber.complete();
      }
    }, function(err) {
      return subscriber.error(err);
    }).then(null, reportUnhandledError);
  });
}
function fromIterable(iterable) {
  return new Observable(function(subscriber) {
    var e_1, _a2;
    try {
      for (var iterable_1 = __values(iterable), iterable_1_1 = iterable_1.next(); !iterable_1_1.done; iterable_1_1 = iterable_1.next()) {
        var value = iterable_1_1.value;
        subscriber.next(value);
        if (subscriber.closed) {
          return;
        }
      }
    } catch (e_1_1) {
      e_1 = { error: e_1_1 };
    } finally {
      try {
        if (iterable_1_1 && !iterable_1_1.done && (_a2 = iterable_1.return)) _a2.call(iterable_1);
      } finally {
        if (e_1) throw e_1.error;
      }
    }
    subscriber.complete();
  });
}
function fromAsyncIterable(asyncIterable) {
  return new Observable(function(subscriber) {
    process$1(asyncIterable, subscriber).catch(function(err) {
      return subscriber.error(err);
    });
  });
}
function fromReadableStreamLike(readableStream) {
  return fromAsyncIterable(readableStreamLikeToAsyncGenerator(readableStream));
}
function process$1(asyncIterable, subscriber) {
  var asyncIterable_1, asyncIterable_1_1;
  var e_2, _a2;
  return __awaiter(this, void 0, void 0, function() {
    var value, e_2_1;
    return __generator(this, function(_b2) {
      switch (_b2.label) {
        case 0:
          _b2.trys.push([0, 5, 6, 11]);
          asyncIterable_1 = __asyncValues(asyncIterable);
          _b2.label = 1;
        case 1:
          return [4, asyncIterable_1.next()];
        case 2:
          if (!(asyncIterable_1_1 = _b2.sent(), !asyncIterable_1_1.done)) return [3, 4];
          value = asyncIterable_1_1.value;
          subscriber.next(value);
          if (subscriber.closed) {
            return [2];
          }
          _b2.label = 3;
        case 3:
          return [3, 1];
        case 4:
          return [3, 11];
        case 5:
          e_2_1 = _b2.sent();
          e_2 = { error: e_2_1 };
          return [3, 11];
        case 6:
          _b2.trys.push([6, , 9, 10]);
          if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a2 = asyncIterable_1.return))) return [3, 8];
          return [4, _a2.call(asyncIterable_1)];
        case 7:
          _b2.sent();
          _b2.label = 8;
        case 8:
          return [3, 10];
        case 9:
          if (e_2) throw e_2.error;
          return [7];
        case 10:
          return [7];
        case 11:
          subscriber.complete();
          return [2];
      }
    });
  });
}
function executeSchedule(parentSubscription, scheduler, work, delay, repeat) {
  if (delay === void 0) {
    delay = 0;
  }
  if (repeat === void 0) {
    repeat = false;
  }
  var scheduleSubscription = scheduler.schedule(function() {
    work();
    if (repeat) {
      parentSubscription.add(this.schedule(null, delay));
    } else {
      this.unsubscribe();
    }
  }, delay);
  parentSubscription.add(scheduleSubscription);
  if (!repeat) {
    return scheduleSubscription;
  }
}
function observeOn(scheduler, delay) {
  if (delay === void 0) {
    delay = 0;
  }
  return operate(function(source, subscriber) {
    source.subscribe(createOperatorSubscriber(subscriber, function(value) {
      return executeSchedule(subscriber, scheduler, function() {
        return subscriber.next(value);
      }, delay);
    }, function() {
      return executeSchedule(subscriber, scheduler, function() {
        return subscriber.complete();
      }, delay);
    }, function(err) {
      return executeSchedule(subscriber, scheduler, function() {
        return subscriber.error(err);
      }, delay);
    }));
  });
}
function subscribeOn(scheduler, delay) {
  if (delay === void 0) {
    delay = 0;
  }
  return operate(function(source, subscriber) {
    subscriber.add(scheduler.schedule(function() {
      return source.subscribe(subscriber);
    }, delay));
  });
}
function scheduleObservable(input, scheduler) {
  return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
}
function schedulePromise(input, scheduler) {
  return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));
}
function scheduleArray(input, scheduler) {
  return new Observable(function(subscriber) {
    var i = 0;
    return scheduler.schedule(function() {
      if (i === input.length) {
        subscriber.complete();
      } else {
        subscriber.next(input[i++]);
        if (!subscriber.closed) {
          this.schedule();
        }
      }
    });
  });
}
function scheduleIterable(input, scheduler) {
  return new Observable(function(subscriber) {
    var iterator2;
    executeSchedule(subscriber, scheduler, function() {
      iterator2 = input[iterator$1]();
      executeSchedule(subscriber, scheduler, function() {
        var _a2;
        var value;
        var done;
        try {
          _a2 = iterator2.next(), value = _a2.value, done = _a2.done;
        } catch (err) {
          subscriber.error(err);
          return;
        }
        if (done) {
          subscriber.complete();
        } else {
          subscriber.next(value);
        }
      }, 0, true);
    });
    return function() {
      return isFunction$2(iterator2 === null || iterator2 === void 0 ? void 0 : iterator2.return) && iterator2.return();
    };
  });
}
function scheduleAsyncIterable(input, scheduler) {
  if (!input) {
    throw new Error("Iterable cannot be null");
  }
  return new Observable(function(subscriber) {
    executeSchedule(subscriber, scheduler, function() {
      var iterator2 = input[Symbol.asyncIterator]();
      executeSchedule(subscriber, scheduler, function() {
        iterator2.next().then(function(result) {
          if (result.done) {
            subscriber.complete();
          } else {
            subscriber.next(result.value);
          }
        });
      }, 0, true);
    });
  });
}
function scheduleReadableStreamLike(input, scheduler) {
  return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);
}
function scheduled(input, scheduler) {
  if (input != null) {
    if (isInteropObservable(input)) {
      return scheduleObservable(input, scheduler);
    }
    if (isArrayLike(input)) {
      return scheduleArray(input, scheduler);
    }
    if (isPromise(input)) {
      return schedulePromise(input, scheduler);
    }
    if (isAsyncIterable(input)) {
      return scheduleAsyncIterable(input, scheduler);
    }
    if (isIterable$1(input)) {
      return scheduleIterable(input, scheduler);
    }
    if (isReadableStreamLike(input)) {
      return scheduleReadableStreamLike(input, scheduler);
    }
  }
  throw createInvalidObservableTypeError(input);
}
function from(input, scheduler) {
  return scheduler ? scheduled(input, scheduler) : innerFrom(input);
}
var EmptyError = createErrorClass(function(_super) {
  return function EmptyErrorImpl() {
    _super(this);
    this.name = "EmptyError";
    this.message = "no elements in sequence";
  };
});
function firstValueFrom(source, config2) {
  return new Promise(function(resolve, reject) {
    var subscriber = new SafeSubscriber({
      next: function(value) {
        resolve(value);
        subscriber.unsubscribe();
      },
      error: reject,
      complete: function() {
        {
          reject(new EmptyError());
        }
      }
    });
    source.subscribe(subscriber);
  });
}
function map(project, thisArg) {
  return operate(function(source, subscriber) {
    var index = 0;
    source.subscribe(createOperatorSubscriber(subscriber, function(value) {
      subscriber.next(project.call(thisArg, value, index++));
    }));
  });
}
function catchError(selector) {
  return operate(function(source, subscriber) {
    var innerSub = null;
    var syncUnsub = false;
    var handledResult;
    innerSub = source.subscribe(createOperatorSubscriber(subscriber, void 0, void 0, function(err) {
      handledResult = innerFrom(selector(err, catchError(selector)(source)));
      if (innerSub) {
        innerSub.unsubscribe();
        innerSub = null;
        handledResult.subscribe(subscriber);
      } else {
        syncUnsub = true;
      }
    }));
    if (syncUnsub) {
      innerSub.unsubscribe();
      innerSub = null;
      handledResult.subscribe(subscriber);
    }
  });
}
function bind(fn, thisArg) {
  return function wrap() {
    return fn.apply(thisArg, arguments);
  };
}
const { toString } = Object.prototype;
const { getPrototypeOf } = Object;
const { iterator, toStringTag } = Symbol;
const kindOf = /* @__PURE__ */ ((cache) => (thing) => {
  const str = toString.call(thing);
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
})(/* @__PURE__ */ Object.create(null));
const kindOfTest = (type) => {
  type = type.toLowerCase();
  return (thing) => kindOf(thing) === type;
};
const typeOfTest = (type) => (thing) => typeof thing === type;
const { isArray } = Array;
const isUndefined = typeOfTest("undefined");
function isBuffer(val) {
  return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
}
const isArrayBuffer = kindOfTest("ArrayBuffer");
function isArrayBufferView(val) {
  let result;
  if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
    result = ArrayBuffer.isView(val);
  } else {
    result = val && val.buffer && isArrayBuffer(val.buffer);
  }
  return result;
}
const isString = typeOfTest("string");
const isFunction$1 = typeOfTest("function");
const isNumber = typeOfTest("number");
const isObject = (thing) => thing !== null && typeof thing === "object";
const isBoolean = (thing) => thing === true || thing === false;
const isPlainObject = (val) => {
  if (kindOf(val) !== "object") {
    return false;
  }
  const prototype2 = getPrototypeOf(val);
  return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(toStringTag in val) && !(iterator in val);
};
const isEmptyObject = (val) => {
  if (!isObject(val) || isBuffer(val)) {
    return false;
  }
  try {
    return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
  } catch (e4) {
    return false;
  }
};
const isDate = kindOfTest("Date");
const isFile = kindOfTest("File");
const isReactNativeBlob = (value) => {
  return !!(value && typeof value.uri !== "undefined");
};
const isReactNative = (formData) => formData && typeof formData.getParts !== "undefined";
const isBlob = kindOfTest("Blob");
const isFileList = kindOfTest("FileList");
const isStream = (val) => isObject(val) && isFunction$1(val.pipe);
function getGlobal() {
  if (typeof globalThis !== "undefined") return globalThis;
  if (typeof self !== "undefined") return self;
  if (typeof window !== "undefined") return window;
  if (typeof global !== "undefined") return global;
  return {};
}
const G$1 = getGlobal();
const FormDataCtor = typeof G$1.FormData !== "undefined" ? G$1.FormData : void 0;
const isFormData = (thing) => {
  let kind;
  return thing && (FormDataCtor && thing instanceof FormDataCtor || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
  kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
};
const isURLSearchParams = kindOfTest("URLSearchParams");
const [isReadableStream, isRequest, isResponse, isHeaders] = [
  "ReadableStream",
  "Request",
  "Response",
  "Headers"
].map(kindOfTest);
const trim = (str) => {
  return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
};
function forEach(obj, fn, { allOwnKeys = false } = {}) {
  if (obj === null || typeof obj === "undefined") {
    return;
  }
  let i;
  let l;
  if (typeof obj !== "object") {
    obj = [obj];
  }
  if (isArray(obj)) {
    for (i = 0, l = obj.length; i < l; i++) {
      fn.call(null, obj[i], i, obj);
    }
  } else {
    if (isBuffer(obj)) {
      return;
    }
    const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
    const len = keys.length;
    let key2;
    for (i = 0; i < len; i++) {
      key2 = keys[i];
      fn.call(null, obj[key2], key2, obj);
    }
  }
}
function findKey(obj, key2) {
  if (isBuffer(obj)) {
    return null;
  }
  key2 = key2.toLowerCase();
  const keys = Object.keys(obj);
  let i = keys.length;
  let _key;
  while (i-- > 0) {
    _key = keys[i];
    if (key2 === _key.toLowerCase()) {
      return _key;
    }
  }
  return null;
}
const _global = (() => {
  if (typeof globalThis !== "undefined") return globalThis;
  return typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : global;
})();
const isContextDefined = (context) => !isUndefined(context) && context !== _global;
function merge() {
  const { caseless, skipUndefined } = isContextDefined(this) && this || {};
  const result = {};
  const assignValue = (val, key2) => {
    if (key2 === "__proto__" || key2 === "constructor" || key2 === "prototype") {
      return;
    }
    const targetKey = caseless && findKey(result, key2) || key2;
    if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
      result[targetKey] = merge(result[targetKey], val);
    } else if (isPlainObject(val)) {
      result[targetKey] = merge({}, val);
    } else if (isArray(val)) {
      result[targetKey] = val.slice();
    } else if (!skipUndefined || !isUndefined(val)) {
      result[targetKey] = val;
    }
  };
  for (let i = 0, l = arguments.length; i < l; i++) {
    arguments[i] && forEach(arguments[i], assignValue);
  }
  return result;
}
const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
  forEach(
    b,
    (val, key2) => {
      if (thisArg && isFunction$1(val)) {
        Object.defineProperty(a, key2, {
          value: bind(val, thisArg),
          writable: true,
          enumerable: true,
          configurable: true
        });
      } else {
        Object.defineProperty(a, key2, {
          value: val,
          writable: true,
          enumerable: true,
          configurable: true
        });
      }
    },
    { allOwnKeys }
  );
  return a;
};
const stripBOM = (content2) => {
  if (content2.charCodeAt(0) === 65279) {
    content2 = content2.slice(1);
  }
  return content2;
};
const inherits = (constructor, superConstructor, props, descriptors) => {
  constructor.prototype = Object.create(superConstructor.prototype, descriptors);
  Object.defineProperty(constructor.prototype, "constructor", {
    value: constructor,
    writable: true,
    enumerable: false,
    configurable: true
  });
  Object.defineProperty(constructor, "super", {
    value: superConstructor.prototype
  });
  props && Object.assign(constructor.prototype, props);
};
const toFlatObject = (sourceObj, destObj, filter2, propFilter) => {
  let props;
  let i;
  let prop;
  const merged = {};
  destObj = destObj || {};
  if (sourceObj == null) return destObj;
  do {
    props = Object.getOwnPropertyNames(sourceObj);
    i = props.length;
    while (i-- > 0) {
      prop = props[i];
      if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
        destObj[prop] = sourceObj[prop];
        merged[prop] = true;
      }
    }
    sourceObj = filter2 !== false && getPrototypeOf(sourceObj);
  } while (sourceObj && (!filter2 || filter2(sourceObj, destObj)) && sourceObj !== Object.prototype);
  return destObj;
};
const endsWith = (str, searchString, position) => {
  str = String(str);
  if (position === void 0 || position > str.length) {
    position = str.length;
  }
  position -= searchString.length;
  const lastIndex = str.indexOf(searchString, position);
  return lastIndex !== -1 && lastIndex === position;
};
const toArray = (thing) => {
  if (!thing) return null;
  if (isArray(thing)) return thing;
  let i = thing.length;
  if (!isNumber(i)) return null;
  const arr = new Array(i);
  while (i-- > 0) {
    arr[i] = thing[i];
  }
  return arr;
};
const isTypedArray = /* @__PURE__ */ ((TypedArray) => {
  return (thing) => {
    return TypedArray && thing instanceof TypedArray;
  };
})(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
const forEachEntry = (obj, fn) => {
  const generator = obj && obj[iterator];
  const _iterator = generator.call(obj);
  let result;
  while ((result = _iterator.next()) && !result.done) {
    const pair = result.value;
    fn.call(obj, pair[0], pair[1]);
  }
};
const matchAll = (regExp, str) => {
  let matches2;
  const arr = [];
  while ((matches2 = regExp.exec(str)) !== null) {
    arr.push(matches2);
  }
  return arr;
};
const isHTMLForm = kindOfTest("HTMLFormElement");
const toCamelCase = (str) => {
  return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p12, p22) {
    return p12.toUpperCase() + p22;
  });
};
const hasOwnProperty = (({ hasOwnProperty: hasOwnProperty2 }) => (obj, prop) => hasOwnProperty2.call(obj, prop))(Object.prototype);
const isRegExp = kindOfTest("RegExp");
const reduceDescriptors = (obj, reducer) => {
  const descriptors = Object.getOwnPropertyDescriptors(obj);
  const reducedDescriptors = {};
  forEach(descriptors, (descriptor, name) => {
    let ret;
    if ((ret = reducer(descriptor, name, obj)) !== false) {
      reducedDescriptors[name] = ret || descriptor;
    }
  });
  Object.defineProperties(obj, reducedDescriptors);
};
const freezeMethods = (obj) => {
  reduceDescriptors(obj, (descriptor, name) => {
    if (isFunction$1(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
      return false;
    }
    const value = obj[name];
    if (!isFunction$1(value)) return;
    descriptor.enumerable = false;
    if ("writable" in descriptor) {
      descriptor.writable = false;
      return;
    }
    if (!descriptor.set) {
      descriptor.set = () => {
        throw Error("Can not rewrite read-only method '" + name + "'");
      };
    }
  });
};
const toObjectSet = (arrayOrString, delimiter) => {
  const obj = {};
  const define = (arr) => {
    arr.forEach((value) => {
      obj[value] = true;
    });
  };
  isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
  return obj;
};
const noop = () => {
};
const toFiniteNumber = (value, defaultValue) => {
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
};
function isSpecCompliantForm(thing) {
  return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
}
const toJSONObject = (obj) => {
  const stack = new Array(10);
  const visit = (source, i) => {
    if (isObject(source)) {
      if (stack.indexOf(source) >= 0) {
        return;
      }
      if (isBuffer(source)) {
        return source;
      }
      if (!("toJSON" in source)) {
        stack[i] = source;
        const target = isArray(source) ? [] : {};
        forEach(source, (value, key2) => {
          const reducedValue = visit(value, i + 1);
          !isUndefined(reducedValue) && (target[key2] = reducedValue);
        });
        stack[i] = void 0;
        return target;
      }
    }
    return source;
  };
  return visit(obj, 0);
};
const isAsyncFn = kindOfTest("AsyncFunction");
const isThenable = (thing) => thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
  if (setImmediateSupported) {
    return setImmediate;
  }
  return postMessageSupported ? ((token, callbacks) => {
    _global.addEventListener(
      "message",
      ({ source, data }) => {
        if (source === _global && data === token) {
          callbacks.length && callbacks.shift()();
        }
      },
      false
    );
    return (cb2) => {
      callbacks.push(cb2);
      _global.postMessage(token, "*");
    };
  })(`axios@${Math.random()}`, []) : (cb2) => setTimeout(cb2);
})(typeof setImmediate === "function", isFunction$1(_global.postMessage));
const asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
const utils$1 = {
  isArray,
  isArrayBuffer,
  isBuffer,
  isFormData,
  isArrayBufferView,
  isString,
  isNumber,
  isBoolean,
  isObject,
  isPlainObject,
  isEmptyObject,
  isReadableStream,
  isRequest,
  isResponse,
  isHeaders,
  isUndefined,
  isDate,
  isFile,
  isReactNativeBlob,
  isReactNative,
  isBlob,
  isRegExp,
  isFunction: isFunction$1,
  isStream,
  isURLSearchParams,
  isTypedArray,
  isFileList,
  forEach,
  merge,
  extend,
  trim,
  stripBOM,
  inherits,
  toFlatObject,
  kindOf,
  kindOfTest,
  endsWith,
  toArray,
  forEachEntry,
  matchAll,
  isHTMLForm,
  hasOwnProperty,
  hasOwnProp: hasOwnProperty,
  // an alias to avoid ESLint no-prototype-builtins detection
  reduceDescriptors,
  freezeMethods,
  toObjectSet,
  toCamelCase,
  noop,
  toFiniteNumber,
  findKey,
  global: _global,
  isContextDefined,
  isSpecCompliantForm,
  toJSONObject,
  isAsyncFn,
  isThenable,
  setImmediate: _setImmediate,
  asap,
  isIterable
};
let AxiosError$1 = class AxiosError extends Error {
  static from(error, code, config2, request, response, customProps) {
    const axiosError = new AxiosError(error.message, code || error.code, config2, request, response);
    axiosError.cause = error;
    axiosError.name = error.name;
    if (error.status != null && axiosError.status == null) {
      axiosError.status = error.status;
    }
    customProps && Object.assign(axiosError, customProps);
    return axiosError;
  }
  /**
   * Create an Error with the specified message, config, error code, request and response.
   *
   * @param {string} message The error message.
   * @param {string} [code] The error code (for example, 'ECONNABORTED').
   * @param {Object} [config] The config.
   * @param {Object} [request] The request.
   * @param {Object} [response] The response.
   *
   * @returns {Error} The created error.
   */
  constructor(message2, code, config2, request, response) {
    super(message2);
    Object.defineProperty(this, "message", {
      value: message2,
      enumerable: true,
      writable: true,
      configurable: true
    });
    this.name = "AxiosError";
    this.isAxiosError = true;
    code && (this.code = code);
    config2 && (this.config = config2);
    request && (this.request = request);
    if (response) {
      this.response = response;
      this.status = response.status;
    }
  }
  toJSON() {
    return {
      // Standard
      message: this.message,
      name: this.name,
      // Microsoft
      description: this.description,
      number: this.number,
      // Mozilla
      fileName: this.fileName,
      lineNumber: this.lineNumber,
      columnNumber: this.columnNumber,
      stack: this.stack,
      // Axios
      config: utils$1.toJSONObject(this.config),
      code: this.code,
      status: this.status
    };
  }
};
AxiosError$1.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
AxiosError$1.ERR_BAD_OPTION = "ERR_BAD_OPTION";
AxiosError$1.ECONNABORTED = "ECONNABORTED";
AxiosError$1.ETIMEDOUT = "ETIMEDOUT";
AxiosError$1.ERR_NETWORK = "ERR_NETWORK";
AxiosError$1.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
AxiosError$1.ERR_DEPRECATED = "ERR_DEPRECATED";
AxiosError$1.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
AxiosError$1.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
AxiosError$1.ERR_CANCELED = "ERR_CANCELED";
AxiosError$1.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
AxiosError$1.ERR_INVALID_URL = "ERR_INVALID_URL";
const httpAdapter = null;
function isVisitable(thing) {
  return utils$1.isPlainObject(thing) || utils$1.isArray(thing);
}
function removeBrackets(key2) {
  return utils$1.endsWith(key2, "[]") ? key2.slice(0, -2) : key2;
}
function renderKey(path, key2, dots) {
  if (!path) return key2;
  return path.concat(key2).map(function each2(token, i) {
    token = removeBrackets(token);
    return !dots && i ? "[" + token + "]" : token;
  }).join(dots ? "." : "");
}
function isFlatArray(arr) {
  return utils$1.isArray(arr) && !arr.some(isVisitable);
}
const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) {
  return /^is[A-Z]/.test(prop);
});
function toFormData$1(obj, formData, options) {
  if (!utils$1.isObject(obj)) {
    throw new TypeError("target must be an object");
  }
  formData = formData || new FormData();
  options = utils$1.toFlatObject(
    options,
    {
      metaTokens: true,
      dots: false,
      indexes: false
    },
    false,
    function defined(option, source) {
      return !utils$1.isUndefined(source[option]);
    }
  );
  const metaTokens = options.metaTokens;
  const visitor = options.visitor || defaultVisitor;
  const dots = options.dots;
  const indexes = options.indexes;
  const _Blob = options.Blob || typeof Blob !== "undefined" && Blob;
  const useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
  if (!utils$1.isFunction(visitor)) {
    throw new TypeError("visitor must be a function");
  }
  function convertValue(value) {
    if (value === null) return "";
    if (utils$1.isDate(value)) {
      return value.toISOString();
    }
    if (utils$1.isBoolean(value)) {
      return value.toString();
    }
    if (!useBlob && utils$1.isBlob(value)) {
      throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
    }
    if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
      return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
    }
    return value;
  }
  function defaultVisitor(value, key2, path) {
    let arr = value;
    if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
      formData.append(renderKey(path, key2, dots), convertValue(value));
      return false;
    }
    if (value && !path && typeof value === "object") {
      if (utils$1.endsWith(key2, "{}")) {
        key2 = metaTokens ? key2 : key2.slice(0, -2);
        value = JSON.stringify(value);
      } else if (utils$1.isArray(value) && isFlatArray(value) || (utils$1.isFileList(value) || utils$1.endsWith(key2, "[]")) && (arr = utils$1.toArray(value))) {
        key2 = removeBrackets(key2);
        arr.forEach(function each2(el2, index) {
          !(utils$1.isUndefined(el2) || el2 === null) && formData.append(
            // eslint-disable-next-line no-nested-ternary
            indexes === true ? renderKey([key2], index, dots) : indexes === null ? key2 : key2 + "[]",
            convertValue(el2)
          );
        });
        return false;
      }
    }
    if (isVisitable(value)) {
      return true;
    }
    formData.append(renderKey(path, key2, dots), convertValue(value));
    return false;
  }
  const stack = [];
  const exposedHelpers = Object.assign(predicates, {
    defaultVisitor,
    convertValue,
    isVisitable
  });
  function build(value, path) {
    if (utils$1.isUndefined(value)) return;
    if (stack.indexOf(value) !== -1) {
      throw Error("Circular reference detected in " + path.join("."));
    }
    stack.push(value);
    utils$1.forEach(value, function each2(el2, key2) {
      const result = !(utils$1.isUndefined(el2) || el2 === null) && visitor.call(formData, el2, utils$1.isString(key2) ? key2.trim() : key2, path, exposedHelpers);
      if (result === true) {
        build(el2, path ? path.concat(key2) : [key2]);
      }
    });
    stack.pop();
  }
  if (!utils$1.isObject(obj)) {
    throw new TypeError("data must be an object");
  }
  build(obj);
  return formData;
}
function encode$1(str) {
  const charMap = {
    "!": "%21",
    "'": "%27",
    "(": "%28",
    ")": "%29",
    "~": "%7E",
    "%20": "+",
    "%00": "\0"
  };
  return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
    return charMap[match];
  });
}
function AxiosURLSearchParams(params, options) {
  this._pairs = [];
  params && toFormData$1(params, this, options);
}
const prototype = AxiosURLSearchParams.prototype;
prototype.append = function append(name, value) {
  this._pairs.push([name, value]);
};
prototype.toString = function toString2(encoder) {
  const _encode = encoder ? function(value) {
    return encoder.call(this, value, encode$1);
  } : encode$1;
  return this._pairs.map(function each2(pair) {
    return _encode(pair[0]) + "=" + _encode(pair[1]);
  }, "").join("&");
};
function encode(val) {
  return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
}
function buildURL(url, params, options) {
  if (!params) {
    return url;
  }
  const _encode = options && options.encode || encode;
  const _options = utils$1.isFunction(options) ? {
    serialize: options
  } : options;
  const serializeFn = _options && _options.serialize;
  let serializedParams;
  if (serializeFn) {
    serializedParams = serializeFn(params, _options);
  } else {
    serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode);
  }
  if (serializedParams) {
    const hashmarkIndex = url.indexOf("#");
    if (hashmarkIndex !== -1) {
      url = url.slice(0, hashmarkIndex);
    }
    url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams;
  }
  return url;
}
class InterceptorManager {
  constructor() {
    this.handlers = [];
  }
  /**
   * Add a new interceptor to the stack
   *
   * @param {Function} fulfilled The function to handle `then` for a `Promise`
   * @param {Function} rejected The function to handle `reject` for a `Promise`
   * @param {Object} options The options for the interceptor, synchronous and runWhen
   *
   * @return {Number} An ID used to remove interceptor later
   */
  use(fulfilled, rejected, options) {
    this.handlers.push({
      fulfilled,
      rejected,
      synchronous: options ? options.synchronous : false,
      runWhen: options ? options.runWhen : null
    });
    return this.handlers.length - 1;
  }
  /**
   * Remove an interceptor from the stack
   *
   * @param {Number} id The ID that was returned by `use`
   *
   * @returns {void}
   */
  eject(id2) {
    if (this.handlers[id2]) {
      this.handlers[id2] = null;
    }
  }
  /**
   * Clear all interceptors from the stack
   *
   * @returns {void}
   */
  clear() {
    if (this.handlers) {
      this.handlers = [];
    }
  }
  /**
   * Iterate over all the registered interceptors
   *
   * This method is particularly useful for skipping over any
   * interceptors that may have become `null` calling `eject`.
   *
   * @param {Function} fn The function to call for each interceptor
   *
   * @returns {void}
   */
  forEach(fn) {
    utils$1.forEach(this.handlers, function forEachHandler(h) {
      if (h !== null) {
        fn(h);
      }
    });
  }
}
const transitionalDefaults = {
  silentJSONParsing: true,
  forcedJSONParsing: true,
  clarifyTimeoutError: false,
  legacyInterceptorReqResOrdering: true
};
const URLSearchParams$1 = typeof URLSearchParams !== "undefined" ? URLSearchParams : AxiosURLSearchParams;
const FormData$1 = typeof FormData !== "undefined" ? FormData : null;
const Blob$1 = typeof Blob !== "undefined" ? Blob : null;
const platform$1 = {
  isBrowser: true,
  classes: {
    URLSearchParams: URLSearchParams$1,
    FormData: FormData$1,
    Blob: Blob$1
  },
  protocols: ["http", "https", "file", "blob", "url", "data"]
};
const hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
const _navigator = typeof navigator === "object" && navigator || void 0;
const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ["ReactNative", "NativeScript", "NS"].indexOf(_navigator.product) < 0);
const hasStandardBrowserWebWorkerEnv = (() => {
  return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
  self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
})();
const origin = hasBrowserEnv && window.location.href || "http://localhost";
const utils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  hasBrowserEnv,
  hasStandardBrowserEnv,
  hasStandardBrowserWebWorkerEnv,
  navigator: _navigator,
  origin
}, Symbol.toStringTag, { value: "Module" }));
const platform = {
  ...utils,
  ...platform$1
};
function toURLEncodedForm(data, options) {
  return toFormData$1(data, new platform.classes.URLSearchParams(), {
    visitor: function(value, key2, path, helpers) {
      if (platform.isNode && utils$1.isBuffer(value)) {
        this.append(key2, value.toString("base64"));
        return false;
      }
      return helpers.defaultVisitor.apply(this, arguments);
    },
    ...options
  });
}
function parsePropPath(name) {
  return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
    return match[0] === "[]" ? "" : match[1] || match[0];
  });
}
function arrayToObject(arr) {
  const obj = {};
  const keys = Object.keys(arr);
  let i;
  const len = keys.length;
  let key2;
  for (i = 0; i < len; i++) {
    key2 = keys[i];
    obj[key2] = arr[key2];
  }
  return obj;
}
function formDataToJSON(formData) {
  function buildPath(path, value, target, index) {
    let name = path[index++];
    if (name === "__proto__") return true;
    const isNumericKey = Number.isFinite(+name);
    const isLast = index >= path.length;
    name = !name && utils$1.isArray(target) ? target.length : name;
    if (isLast) {
      if (utils$1.hasOwnProp(target, name)) {
        target[name] = [target[name], value];
      } else {
        target[name] = value;
      }
      return !isNumericKey;
    }
    if (!target[name] || !utils$1.isObject(target[name])) {
      target[name] = [];
    }
    const result = buildPath(path, value, target[name], index);
    if (result && utils$1.isArray(target[name])) {
      target[name] = arrayToObject(target[name]);
    }
    return !isNumericKey;
  }
  if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) {
    const obj = {};
    utils$1.forEachEntry(formData, (name, value) => {
      buildPath(parsePropPath(name), value, obj, 0);
    });
    return obj;
  }
  return null;
}
function stringifySafely(rawValue, parser, encoder) {
  if (utils$1.isString(rawValue)) {
    try {
      (parser || JSON.parse)(rawValue);
      return utils$1.trim(rawValue);
    } catch (e4) {
      if (e4.name !== "SyntaxError") {
        throw e4;
      }
    }
  }
  return (encoder || JSON.stringify)(rawValue);
}
const defaults = {
  transitional: transitionalDefaults,
  adapter: ["xhr", "http", "fetch"],
  transformRequest: [
    function transformRequest(data, headers) {
      const contentType = headers.getContentType() || "";
      const hasJSONContentType = contentType.indexOf("application/json") > -1;
      const isObjectPayload = utils$1.isObject(data);
      if (isObjectPayload && utils$1.isHTMLForm(data)) {
        data = new FormData(data);
      }
      const isFormData2 = utils$1.isFormData(data);
      if (isFormData2) {
        return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
      }
      if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
        return data;
      }
      if (utils$1.isArrayBufferView(data)) {
        return data.buffer;
      }
      if (utils$1.isURLSearchParams(data)) {
        headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
        return data.toString();
      }
      let isFileList2;
      if (isObjectPayload) {
        if (contentType.indexOf("application/x-www-form-urlencoded") > -1) {
          return toURLEncodedForm(data, this.formSerializer).toString();
        }
        if ((isFileList2 = utils$1.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
          const _FormData = this.env && this.env.FormData;
          return toFormData$1(
            isFileList2 ? { "files[]": data } : data,
            _FormData && new _FormData(),
            this.formSerializer
          );
        }
      }
      if (isObjectPayload || hasJSONContentType) {
        headers.setContentType("application/json", false);
        return stringifySafely(data);
      }
      return data;
    }
  ],
  transformResponse: [
    function transformResponse(data) {
      const transitional2 = this.transitional || defaults.transitional;
      const forcedJSONParsing = transitional2 && transitional2.forcedJSONParsing;
      const JSONRequested = this.responseType === "json";
      if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
        return data;
      }
      if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
        const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
        const strictJSONParsing = !silentJSONParsing && JSONRequested;
        try {
          return JSON.parse(data, this.parseReviver);
        } catch (e4) {
          if (strictJSONParsing) {
            if (e4.name === "SyntaxError") {
              throw AxiosError$1.from(e4, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
            }
            throw e4;
          }
        }
      }
      return data;
    }
  ],
  /**
   * A timeout in milliseconds to abort a request. If set to 0 (default) a
   * timeout is not created.
   */
  timeout: 0,
  xsrfCookieName: "XSRF-TOKEN",
  xsrfHeaderName: "X-XSRF-TOKEN",
  maxContentLength: -1,
  maxBodyLength: -1,
  env: {
    FormData: platform.classes.FormData,
    Blob: platform.classes.Blob
  },
  validateStatus: function validateStatus(status) {
    return status >= 200 && status < 300;
  },
  headers: {
    common: {
      Accept: "application/json, text/plain, */*",
      "Content-Type": void 0
    }
  }
};
utils$1.forEach(["delete", "get", "head", "post", "put", "patch"], (method) => {
  defaults.headers[method] = {};
});
const ignoreDuplicateOf = utils$1.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"
]);
const parseHeaders = (rawHeaders) => {
  const parsed = {};
  let key2;
  let val;
  let i;
  rawHeaders && rawHeaders.split("\n").forEach(function parser(line) {
    i = line.indexOf(":");
    key2 = line.substring(0, i).trim().toLowerCase();
    val = line.substring(i + 1).trim();
    if (!key2 || parsed[key2] && ignoreDuplicateOf[key2]) {
      return;
    }
    if (key2 === "set-cookie") {
      if (parsed[key2]) {
        parsed[key2].push(val);
      } else {
        parsed[key2] = [val];
      }
    } else {
      parsed[key2] = parsed[key2] ? parsed[key2] + ", " + val : val;
    }
  });
  return parsed;
};
const $internals = Symbol("internals");
function normalizeHeader(header2) {
  return header2 && String(header2).trim().toLowerCase();
}
function normalizeValue(value) {
  if (value === false || value == null) {
    return value;
  }
  return utils$1.isArray(value) ? value.map(normalizeValue) : String(value);
}
function parseTokens(str) {
  const tokens = /* @__PURE__ */ Object.create(null);
  const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
  let match;
  while (match = tokensRE.exec(str)) {
    tokens[match[1]] = match[2];
  }
  return tokens;
}
const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
function matchHeaderValue(context, value, header2, filter2, isHeaderNameFilter) {
  if (utils$1.isFunction(filter2)) {
    return filter2.call(this, value, header2);
  }
  if (isHeaderNameFilter) {
    value = header2;
  }
  if (!utils$1.isString(value)) return;
  if (utils$1.isString(filter2)) {
    return value.indexOf(filter2) !== -1;
  }
  if (utils$1.isRegExp(filter2)) {
    return filter2.test(value);
  }
}
function formatHeader(header2) {
  return header2.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
    return char.toUpperCase() + str;
  });
}
function buildAccessors(obj, header2) {
  const accessorName = utils$1.toCamelCase(" " + header2);
  ["get", "set", "has"].forEach((methodName) => {
    Object.defineProperty(obj, methodName + accessorName, {
      value: function(arg1, arg2, arg3) {
        return this[methodName].call(this, header2, arg1, arg2, arg3);
      },
      configurable: true
    });
  });
}
let AxiosHeaders$1 = class AxiosHeaders {
  constructor(headers) {
    headers && this.set(headers);
  }
  set(header2, valueOrRewrite, rewrite) {
    const self2 = this;
    function setHeader(_value, _header, _rewrite) {
      const lHeader = normalizeHeader(_header);
      if (!lHeader) {
        throw new Error("header name must be a non-empty string");
      }
      const key2 = utils$1.findKey(self2, lHeader);
      if (!key2 || self2[key2] === void 0 || _rewrite === true || _rewrite === void 0 && self2[key2] !== false) {
        self2[key2 || _header] = normalizeValue(_value);
      }
    }
    const setHeaders = (headers, _rewrite) => utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
    if (utils$1.isPlainObject(header2) || header2 instanceof this.constructor) {
      setHeaders(header2, valueOrRewrite);
    } else if (utils$1.isString(header2) && (header2 = header2.trim()) && !isValidHeaderName(header2)) {
      setHeaders(parseHeaders(header2), valueOrRewrite);
    } else if (utils$1.isObject(header2) && utils$1.isIterable(header2)) {
      let obj = {}, dest, key2;
      for (const entry of header2) {
        if (!utils$1.isArray(entry)) {
          throw TypeError("Object iterator must return a key-value pair");
        }
        obj[key2 = entry[0]] = (dest = obj[key2]) ? utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
      }
      setHeaders(obj, valueOrRewrite);
    } else {
      header2 != null && setHeader(valueOrRewrite, header2, rewrite);
    }
    return this;
  }
  get(header2, parser) {
    header2 = normalizeHeader(header2);
    if (header2) {
      const key2 = utils$1.findKey(this, header2);
      if (key2) {
        const value = this[key2];
        if (!parser) {
          return value;
        }
        if (parser === true) {
          return parseTokens(value);
        }
        if (utils$1.isFunction(parser)) {
          return parser.call(this, value, key2);
        }
        if (utils$1.isRegExp(parser)) {
          return parser.exec(value);
        }
        throw new TypeError("parser must be boolean|regexp|function");
      }
    }
  }
  has(header2, matcher) {
    header2 = normalizeHeader(header2);
    if (header2) {
      const key2 = utils$1.findKey(this, header2);
      return !!(key2 && this[key2] !== void 0 && (!matcher || matchHeaderValue(this, this[key2], key2, matcher)));
    }
    return false;
  }
  delete(header2, matcher) {
    const self2 = this;
    let deleted = false;
    function deleteHeader(_header) {
      _header = normalizeHeader(_header);
      if (_header) {
        const key2 = utils$1.findKey(self2, _header);
        if (key2 && (!matcher || matchHeaderValue(self2, self2[key2], key2, matcher))) {
          delete self2[key2];
          deleted = true;
        }
      }
    }
    if (utils$1.isArray(header2)) {
      header2.forEach(deleteHeader);
    } else {
      deleteHeader(header2);
    }
    return deleted;
  }
  clear(matcher) {
    const keys = Object.keys(this);
    let i = keys.length;
    let deleted = false;
    while (i--) {
      const key2 = keys[i];
      if (!matcher || matchHeaderValue(this, this[key2], key2, matcher, true)) {
        delete this[key2];
        deleted = true;
      }
    }
    return deleted;
  }
  normalize(format) {
    const self2 = this;
    const headers = {};
    utils$1.forEach(this, (value, header2) => {
      const key2 = utils$1.findKey(headers, header2);
      if (key2) {
        self2[key2] = normalizeValue(value);
        delete self2[header2];
        return;
      }
      const normalized = format ? formatHeader(header2) : String(header2).trim();
      if (normalized !== header2) {
        delete self2[header2];
      }
      self2[normalized] = normalizeValue(value);
      headers[normalized] = true;
    });
    return this;
  }
  concat(...targets) {
    return this.constructor.concat(this, ...targets);
  }
  toJSON(asStrings) {
    const obj = /* @__PURE__ */ Object.create(null);
    utils$1.forEach(this, (value, header2) => {
      value != null && value !== false && (obj[header2] = asStrings && utils$1.isArray(value) ? value.join(", ") : value);
    });
    return obj;
  }
  [Symbol.iterator]() {
    return Object.entries(this.toJSON())[Symbol.iterator]();
  }
  toString() {
    return Object.entries(this.toJSON()).map(([header2, value]) => header2 + ": " + value).join("\n");
  }
  getSetCookie() {
    return this.get("set-cookie") || [];
  }
  get [Symbol.toStringTag]() {
    return "AxiosHeaders";
  }
  static from(thing) {
    return thing instanceof this ? thing : new this(thing);
  }
  static concat(first, ...targets) {
    const computed = new this(first);
    targets.forEach((target) => computed.set(target));
    return computed;
  }
  static accessor(header2) {
    const internals = this[$internals] = this[$internals] = {
      accessors: {}
    };
    const accessors = internals.accessors;
    const prototype2 = this.prototype;
    function defineAccessor(_header) {
      const lHeader = normalizeHeader(_header);
      if (!accessors[lHeader]) {
        buildAccessors(prototype2, _header);
        accessors[lHeader] = true;
      }
    }
    utils$1.isArray(header2) ? header2.forEach(defineAccessor) : defineAccessor(header2);
    return this;
  }
};
AxiosHeaders$1.accessor([
  "Content-Type",
  "Content-Length",
  "Accept",
  "Accept-Encoding",
  "User-Agent",
  "Authorization"
]);
utils$1.reduceDescriptors(AxiosHeaders$1.prototype, ({ value }, key2) => {
  let mapped = key2[0].toUpperCase() + key2.slice(1);
  return {
    get: () => value,
    set(headerValue) {
      this[mapped] = headerValue;
    }
  };
});
utils$1.freezeMethods(AxiosHeaders$1);
function transformData(fns, response) {
  const config2 = this || defaults;
  const context = response || config2;
  const headers = AxiosHeaders$1.from(context.headers);
  let data = context.data;
  utils$1.forEach(fns, function transform(fn) {
    data = fn.call(config2, data, headers.normalize(), response ? response.status : void 0);
  });
  headers.normalize();
  return data;
}
function isCancel$1(value) {
  return !!(value && value.__CANCEL__);
}
let CanceledError$1 = class CanceledError extends AxiosError$1 {
  /**
   * A `CanceledError` is an object that is thrown when an operation is canceled.
   *
   * @param {string=} message The message.
   * @param {Object=} config The config.
   * @param {Object=} request The request.
   *
   * @returns {CanceledError} The created error.
   */
  constructor(message2, config2, request) {
    super(message2 == null ? "canceled" : message2, AxiosError$1.ERR_CANCELED, config2, request);
    this.name = "CanceledError";
    this.__CANCEL__ = true;
  }
};
function settle(resolve, reject, response) {
  const validateStatus2 = response.config.validateStatus;
  if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
    resolve(response);
  } else {
    reject(
      new AxiosError$1(
        "Request failed with status code " + response.status,
        [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
        response.config,
        response.request,
        response
      )
    );
  }
}
function parseProtocol(url) {
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
  return match && match[1] || "";
}
function speedometer(samplesCount, min) {
  samplesCount = samplesCount || 10;
  const bytes = new Array(samplesCount);
  const timestamps = new Array(samplesCount);
  let head = 0;
  let tail = 0;
  let firstSampleTS;
  min = min !== void 0 ? min : 1e3;
  return function push(chunkLength) {
    const now = Date.now();
    const startedAt = timestamps[tail];
    if (!firstSampleTS) {
      firstSampleTS = now;
    }
    bytes[head] = chunkLength;
    timestamps[head] = now;
    let i = tail;
    let bytesCount = 0;
    while (i !== head) {
      bytesCount += bytes[i++];
      i = i % samplesCount;
    }
    head = (head + 1) % samplesCount;
    if (head === tail) {
      tail = (tail + 1) % samplesCount;
    }
    if (now - firstSampleTS < min) {
      return;
    }
    const passed = startedAt && now - startedAt;
    return passed ? Math.round(bytesCount * 1e3 / passed) : void 0;
  };
}
function throttle(fn, freq) {
  let timestamp = 0;
  let threshold = 1e3 / freq;
  let lastArgs;
  let timer;
  const invoke = (args, now = Date.now()) => {
    timestamp = now;
    lastArgs = null;
    if (timer) {
      clearTimeout(timer);
      timer = null;
    }
    fn(...args);
  };
  const throttled = (...args) => {
    const now = Date.now();
    const passed = now - timestamp;
    if (passed >= threshold) {
      invoke(args, now);
    } else {
      lastArgs = args;
      if (!timer) {
        timer = setTimeout(() => {
          timer = null;
          invoke(lastArgs);
        }, threshold - passed);
      }
    }
  };
  const flush = () => lastArgs && invoke(lastArgs);
  return [throttled, flush];
}
const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
  let bytesNotified = 0;
  const _speedometer = speedometer(50, 250);
  return throttle((e4) => {
    const loaded = e4.loaded;
    const total = e4.lengthComputable ? e4.total : void 0;
    const progressBytes = loaded - bytesNotified;
    const rate = _speedometer(progressBytes);
    const inRange = loaded <= total;
    bytesNotified = loaded;
    const data = {
      loaded,
      total,
      progress: total ? loaded / total : void 0,
      bytes: progressBytes,
      rate: rate ? rate : void 0,
      estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
      event: e4,
      lengthComputable: total != null,
      [isDownloadStream ? "download" : "upload"]: true
    };
    listener(data);
  }, freq);
};
const progressEventDecorator = (total, throttled) => {
  const lengthComputable = total != null;
  return [
    (loaded) => throttled[0]({
      lengthComputable,
      total,
      loaded
    }),
    throttled[1]
  ];
};
const asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
const isURLSameOrigin = platform.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url) => {
  url = new URL(url, platform.origin);
  return origin2.protocol === url.protocol && origin2.host === url.host && (isMSIE || origin2.port === url.port);
})(
  new URL(platform.origin),
  platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
) : () => true;
const cookies = platform.hasStandardBrowserEnv ? (
  // Standard browser envs support document.cookie
  {
    write(name, value, expires, path, domain, secure, sameSite) {
      if (typeof document === "undefined") return;
      const cookie = [`${name}=${encodeURIComponent(value)}`];
      if (utils$1.isNumber(expires)) {
        cookie.push(`expires=${new Date(expires).toUTCString()}`);
      }
      if (utils$1.isString(path)) {
        cookie.push(`path=${path}`);
      }
      if (utils$1.isString(domain)) {
        cookie.push(`domain=${domain}`);
      }
      if (secure === true) {
        cookie.push("secure");
      }
      if (utils$1.isString(sameSite)) {
        cookie.push(`SameSite=${sameSite}`);
      }
      document.cookie = cookie.join("; ");
    },
    read(name) {
      if (typeof document === "undefined") return null;
      const match = document.cookie.match(new RegExp("(?:^|; )" + name + "=([^;]*)"));
      return match ? decodeURIComponent(match[1]) : null;
    },
    remove(name) {
      this.write(name, "", Date.now() - 864e5, "/");
    }
  }
) : (
  // Non-standard browser env (web workers, react-native) lack needed support.
  {
    write() {
    },
    read() {
      return null;
    },
    remove() {
    }
  }
);
function isAbsoluteURL(url) {
  if (typeof url !== "string") {
    return false;
  }
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
}
function combineURLs(baseURL, relativeURL) {
  return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
}
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
  if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
    return combineURLs(baseURL, requestedURL);
  }
  return requestedURL;
}
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
function mergeConfig$1(config1, config2) {
  config2 = config2 || {};
  const config3 = {};
  function getMergedValue(target, source, prop, caseless) {
    if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
      return utils$1.merge.call({ caseless }, target, source);
    } else if (utils$1.isPlainObject(source)) {
      return utils$1.merge({}, source);
    } else if (utils$1.isArray(source)) {
      return source.slice();
    }
    return source;
  }
  function mergeDeepProperties(a, b, prop, caseless) {
    if (!utils$1.isUndefined(b)) {
      return getMergedValue(a, b, prop, caseless);
    } else if (!utils$1.isUndefined(a)) {
      return getMergedValue(void 0, a, prop, caseless);
    }
  }
  function valueFromConfig2(a, b) {
    if (!utils$1.isUndefined(b)) {
      return getMergedValue(void 0, b);
    }
  }
  function defaultToConfig2(a, b) {
    if (!utils$1.isUndefined(b)) {
      return getMergedValue(void 0, b);
    } else if (!utils$1.isUndefined(a)) {
      return getMergedValue(void 0, a);
    }
  }
  function mergeDirectKeys(a, b, prop) {
    if (prop in config2) {
      return getMergedValue(a, b);
    } else if (prop in config1) {
      return getMergedValue(void 0, a);
    }
  }
  const mergeMap = {
    url: valueFromConfig2,
    method: valueFromConfig2,
    data: valueFromConfig2,
    baseURL: defaultToConfig2,
    transformRequest: defaultToConfig2,
    transformResponse: defaultToConfig2,
    paramsSerializer: defaultToConfig2,
    timeout: defaultToConfig2,
    timeoutMessage: defaultToConfig2,
    withCredentials: defaultToConfig2,
    withXSRFToken: defaultToConfig2,
    adapter: defaultToConfig2,
    responseType: defaultToConfig2,
    xsrfCookieName: defaultToConfig2,
    xsrfHeaderName: defaultToConfig2,
    onUploadProgress: defaultToConfig2,
    onDownloadProgress: defaultToConfig2,
    decompress: defaultToConfig2,
    maxContentLength: defaultToConfig2,
    maxBodyLength: defaultToConfig2,
    beforeRedirect: defaultToConfig2,
    transport: defaultToConfig2,
    httpAgent: defaultToConfig2,
    httpsAgent: defaultToConfig2,
    cancelToken: defaultToConfig2,
    socketPath: defaultToConfig2,
    responseEncoding: defaultToConfig2,
    validateStatus: mergeDirectKeys,
    headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
  };
  utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
    if (prop === "__proto__" || prop === "constructor" || prop === "prototype") return;
    const merge2 = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
    const configValue = merge2(config1[prop], config2[prop], prop);
    utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config3[prop] = configValue);
  });
  return config3;
}
const resolveConfig = (config2) => {
  const newConfig = mergeConfig$1({}, config2);
  let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
  newConfig.headers = headers = AxiosHeaders$1.from(headers);
  newConfig.url = buildURL(
    buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
    config2.params,
    config2.paramsSerializer
  );
  if (auth) {
    headers.set(
      "Authorization",
      "Basic " + btoa(
        (auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : "")
      )
    );
  }
  if (utils$1.isFormData(data)) {
    if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
      headers.setContentType(void 0);
    } else if (utils$1.isFunction(data.getHeaders)) {
      const formHeaders = data.getHeaders();
      const allowedHeaders = ["content-type", "content-length"];
      Object.entries(formHeaders).forEach(([key2, val]) => {
        if (allowedHeaders.includes(key2.toLowerCase())) {
          headers.set(key2, val);
        }
      });
    }
  }
  if (platform.hasStandardBrowserEnv) {
    withXSRFToken && utils$1.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
    if (withXSRFToken || withXSRFToken !== false && isURLSameOrigin(newConfig.url)) {
      const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);
      if (xsrfValue) {
        headers.set(xsrfHeaderName, xsrfValue);
      }
    }
  }
  return newConfig;
};
const isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
const xhrAdapter = isXHRAdapterSupported && function(config2) {
  return new Promise(function dispatchXhrRequest(resolve, reject) {
    const _config = resolveConfig(config2);
    let requestData = _config.data;
    const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
    let { responseType, onUploadProgress, onDownloadProgress } = _config;
    let onCanceled;
    let uploadThrottled, downloadThrottled;
    let flushUpload, flushDownload;
    function done() {
      flushUpload && flushUpload();
      flushDownload && flushDownload();
      _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
      _config.signal && _config.signal.removeEventListener("abort", onCanceled);
    }
    let request = new XMLHttpRequest();
    request.open(_config.method.toUpperCase(), _config.url, true);
    request.timeout = _config.timeout;
    function onloadend() {
      if (!request) {
        return;
      }
      const responseHeaders = AxiosHeaders$1.from(
        "getAllResponseHeaders" in request && request.getAllResponseHeaders()
      );
      const responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response;
      const response = {
        data: responseData,
        status: request.status,
        statusText: request.statusText,
        headers: responseHeaders,
        config: config2,
        request
      };
      settle(
        function _resolve(value) {
          resolve(value);
          done();
        },
        function _reject(err) {
          reject(err);
          done();
        },
        response
      );
      request = null;
    }
    if ("onloadend" in request) {
      request.onloadend = onloadend;
    } else {
      request.onreadystatechange = function handleLoad() {
        if (!request || request.readyState !== 4) {
          return;
        }
        if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf("file:") === 0)) {
          return;
        }
        setTimeout(onloadend);
      };
    }
    request.onabort = function handleAbort() {
      if (!request) {
        return;
      }
      reject(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config2, request));
      request = null;
    };
    request.onerror = function handleError(event) {
      const msg = event && event.message ? event.message : "Network Error";
      const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config2, request);
      err.event = event || null;
      reject(err);
      request = null;
    };
    request.ontimeout = function handleTimeout() {
      let timeoutErrorMessage = _config.timeout ? "timeout of " + _config.timeout + "ms exceeded" : "timeout exceeded";
      const transitional2 = _config.transitional || transitionalDefaults;
      if (_config.timeoutErrorMessage) {
        timeoutErrorMessage = _config.timeoutErrorMessage;
      }
      reject(
        new AxiosError$1(
          timeoutErrorMessage,
          transitional2.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
          config2,
          request
        )
      );
      request = null;
    };
    requestData === void 0 && requestHeaders.setContentType(null);
    if ("setRequestHeader" in request) {
      utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key2) {
        request.setRequestHeader(key2, val);
      });
    }
    if (!utils$1.isUndefined(_config.withCredentials)) {
      request.withCredentials = !!_config.withCredentials;
    }
    if (responseType && responseType !== "json") {
      request.responseType = _config.responseType;
    }
    if (onDownloadProgress) {
      [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
      request.addEventListener("progress", downloadThrottled);
    }
    if (onUploadProgress && request.upload) {
      [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
      request.upload.addEventListener("progress", uploadThrottled);
      request.upload.addEventListener("loadend", flushUpload);
    }
    if (_config.cancelToken || _config.signal) {
      onCanceled = (cancel) => {
        if (!request) {
          return;
        }
        reject(!cancel || cancel.type ? new CanceledError$1(null, config2, request) : cancel);
        request.abort();
        request = null;
      };
      _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
      if (_config.signal) {
        _config.signal.aborted ? onCanceled() : _config.signal.addEventListener("abort", onCanceled);
      }
    }
    const protocol = parseProtocol(_config.url);
    if (protocol && platform.protocols.indexOf(protocol) === -1) {
      reject(
        new AxiosError$1(
          "Unsupported protocol " + protocol + ":",
          AxiosError$1.ERR_BAD_REQUEST,
          config2
        )
      );
      return;
    }
    request.send(requestData || null);
  });
};
const composeSignals = (signals, timeout) => {
  const { length } = signals = signals ? signals.filter(Boolean) : [];
  if (timeout || length) {
    let controller = new AbortController();
    let aborted;
    const onabort = function(reason) {
      if (!aborted) {
        aborted = true;
        unsubscribe();
        const err = reason instanceof Error ? reason : this.reason;
        controller.abort(
          err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err)
        );
      }
    };
    let timer = timeout && setTimeout(() => {
      timer = null;
      onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
    }, timeout);
    const unsubscribe = () => {
      if (signals) {
        timer && clearTimeout(timer);
        timer = null;
        signals.forEach((signal2) => {
          signal2.unsubscribe ? signal2.unsubscribe(onabort) : signal2.removeEventListener("abort", onabort);
        });
        signals = null;
      }
    };
    signals.forEach((signal2) => signal2.addEventListener("abort", onabort));
    const { signal } = controller;
    signal.unsubscribe = () => utils$1.asap(unsubscribe);
    return signal;
  }
};
const streamChunk = function* (chunk, chunkSize) {
  let len = chunk.byteLength;
  if (len < chunkSize) {
    yield chunk;
    return;
  }
  let pos = 0;
  let end;
  while (pos < len) {
    end = pos + chunkSize;
    yield chunk.slice(pos, end);
    pos = end;
  }
};
const readBytes = async function* (iterable, chunkSize) {
  for await (const chunk of readStream(iterable)) {
    yield* streamChunk(chunk, chunkSize);
  }
};
const readStream = async function* (stream) {
  if (stream[Symbol.asyncIterator]) {
    yield* stream;
    return;
  }
  const reader = stream.getReader();
  try {
    for (; ; ) {
      const { done, value } = await reader.read();
      if (done) {
        break;
      }
      yield value;
    }
  } finally {
    await reader.cancel();
  }
};
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
  const iterator2 = readBytes(stream, chunkSize);
  let bytes = 0;
  let done;
  let _onFinish = (e4) => {
    if (!done) {
      done = true;
      onFinish && onFinish(e4);
    }
  };
  return new ReadableStream(
    {
      async pull(controller) {
        try {
          const { done: done2, value } = await iterator2.next();
          if (done2) {
            _onFinish();
            controller.close();
            return;
          }
          let len = value.byteLength;
          if (onProgress) {
            let loadedBytes = bytes += len;
            onProgress(loadedBytes);
          }
          controller.enqueue(new Uint8Array(value));
        } catch (err) {
          _onFinish(err);
          throw err;
        }
      },
      cancel(reason) {
        _onFinish(reason);
        return iterator2.return();
      }
    },
    {
      highWaterMark: 2
    }
  );
};
const DEFAULT_CHUNK_SIZE = 64 * 1024;
const { isFunction } = utils$1;
const globalFetchAPI = (({ Request: Request2, Response }) => ({
  Request: Request2,
  Response
}))(utils$1.global);
const { ReadableStream: ReadableStream$1, TextEncoder: TextEncoder$1 } = utils$1.global;
const test = (fn, ...args) => {
  try {
    return !!fn(...args);
  } catch (e4) {
    return false;
  }
};
const factory = (env) => {
  env = utils$1.merge.call(
    {
      skipUndefined: true
    },
    globalFetchAPI,
    env
  );
  const { fetch: envFetch, Request: Request2, Response } = env;
  const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === "function";
  const isRequestSupported = isFunction(Request2);
  const isResponseSupported = isFunction(Response);
  if (!isFetchSupported) {
    return false;
  }
  const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
  const encodeText = isFetchSupported && (typeof TextEncoder$1 === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder$1()) : async (str) => new Uint8Array(await new Request2(str).arrayBuffer()));
  const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
    let duplexAccessed = false;
    const hasContentType = new Request2(platform.origin, {
      body: new ReadableStream$1(),
      method: "POST",
      get duplex() {
        duplexAccessed = true;
        return "half";
      }
    }).headers.has("Content-Type");
    return duplexAccessed && !hasContentType;
  });
  const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
  const resolvers = {
    stream: supportsResponseStream && ((res) => res.body)
  };
  isFetchSupported && (() => {
    ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
      !resolvers[type] && (resolvers[type] = (res, config2) => {
        let method = res && res[type];
        if (method) {
          return method.call(res);
        }
        throw new AxiosError$1(
          `Response type '${type}' is not supported`,
          AxiosError$1.ERR_NOT_SUPPORT,
          config2
        );
      });
    });
  })();
  const getBodyLength = async (body) => {
    if (body == null) {
      return 0;
    }
    if (utils$1.isBlob(body)) {
      return body.size;
    }
    if (utils$1.isSpecCompliantForm(body)) {
      const _request = new Request2(platform.origin, {
        method: "POST",
        body
      });
      return (await _request.arrayBuffer()).byteLength;
    }
    if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
      return body.byteLength;
    }
    if (utils$1.isURLSearchParams(body)) {
      body = body + "";
    }
    if (utils$1.isString(body)) {
      return (await encodeText(body)).byteLength;
    }
  };
  const resolveBodyLength = async (headers, body) => {
    const length = utils$1.toFiniteNumber(headers.getContentLength());
    return length == null ? getBodyLength(body) : length;
  };
  return async (config2) => {
    let {
      url,
      method,
      data,
      signal,
      cancelToken,
      timeout,
      onDownloadProgress,
      onUploadProgress,
      responseType,
      headers,
      withCredentials = "same-origin",
      fetchOptions
    } = resolveConfig(config2);
    let _fetch = envFetch || fetch;
    responseType = responseType ? (responseType + "").toLowerCase() : "text";
    let composedSignal = composeSignals(
      [signal, cancelToken && cancelToken.toAbortSignal()],
      timeout
    );
    let request = null;
    const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
      composedSignal.unsubscribe();
    });
    let requestContentLength;
    try {
      if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
        let _request = new Request2(url, {
          method: "POST",
          body: data,
          duplex: "half"
        });
        let contentTypeHeader;
        if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
          headers.setContentType(contentTypeHeader);
        }
        if (_request.body) {
          const [onProgress, flush] = progressEventDecorator(
            requestContentLength,
            progressEventReducer(asyncDecorator(onUploadProgress))
          );
          data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
        }
      }
      if (!utils$1.isString(withCredentials)) {
        withCredentials = withCredentials ? "include" : "omit";
      }
      const isCredentialsSupported = isRequestSupported && "credentials" in Request2.prototype;
      const resolvedOptions = {
        ...fetchOptions,
        signal: composedSignal,
        method: method.toUpperCase(),
        headers: headers.normalize().toJSON(),
        body: data,
        duplex: "half",
        credentials: isCredentialsSupported ? withCredentials : void 0
      };
      request = isRequestSupported && new Request2(url, resolvedOptions);
      let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));
      const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
      if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
        const options = {};
        ["status", "statusText", "headers"].forEach((prop) => {
          options[prop] = response[prop];
        });
        const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
        const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
          responseContentLength,
          progressEventReducer(asyncDecorator(onDownloadProgress), true)
        ) || [];
        response = new Response(
          trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
            flush && flush();
            unsubscribe && unsubscribe();
          }),
          options
        );
      }
      responseType = responseType || "text";
      let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](
        response,
        config2
      );
      !isStreamResponse && unsubscribe && unsubscribe();
      return await new Promise((resolve, reject) => {
        settle(resolve, reject, {
          data: responseData,
          headers: AxiosHeaders$1.from(response.headers),
          status: response.status,
          statusText: response.statusText,
          config: config2,
          request
        });
      });
    } catch (err) {
      unsubscribe && unsubscribe();
      if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
        throw Object.assign(
          new AxiosError$1(
            "Network Error",
            AxiosError$1.ERR_NETWORK,
            config2,
            request,
            err && err.response
          ),
          {
            cause: err.cause || err
          }
        );
      }
      throw AxiosError$1.from(err, err && err.code, config2, request, err && err.response);
    }
  };
};
const seedCache = /* @__PURE__ */ new Map();
const getFetch = (config2) => {
  let env = config2 && config2.env || {};
  const { fetch: fetch2, Request: Request2, Response } = env;
  const seeds = [Request2, Response, fetch2];
  let len = seeds.length, i = len, seed, target, map2 = seedCache;
  while (i--) {
    seed = seeds[i];
    target = map2.get(seed);
    target === void 0 && map2.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env));
    map2 = target;
  }
  return target;
};
getFetch();
const knownAdapters = {
  http: httpAdapter,
  xhr: xhrAdapter,
  fetch: {
    get: getFetch
  }
};
utils$1.forEach(knownAdapters, (fn, value) => {
  if (fn) {
    try {
      Object.defineProperty(fn, "name", { value });
    } catch (e4) {
    }
    Object.defineProperty(fn, "adapterName", { value });
  }
});
const renderReason = (reason) => `- ${reason}`;
const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
function getAdapter$1(adapters2, config2) {
  adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
  const { length } = adapters2;
  let nameOrAdapter;
  let adapter;
  const rejectedReasons = {};
  for (let i = 0; i < length; i++) {
    nameOrAdapter = adapters2[i];
    let id2;
    adapter = nameOrAdapter;
    if (!isResolvedHandle(nameOrAdapter)) {
      adapter = knownAdapters[(id2 = String(nameOrAdapter)).toLowerCase()];
      if (adapter === void 0) {
        throw new AxiosError$1(`Unknown adapter '${id2}'`);
      }
    }
    if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config2)))) {
      break;
    }
    rejectedReasons[id2 || "#" + i] = adapter;
  }
  if (!adapter) {
    const reasons = Object.entries(rejectedReasons).map(
      ([id2, state]) => `adapter ${id2} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
    );
    let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
    throw new AxiosError$1(
      `There is no suitable adapter to dispatch the request ` + s,
      "ERR_NOT_SUPPORT"
    );
  }
  return adapter;
}
const adapters = {
  /**
   * Resolve an adapter from a list of adapter names or functions.
   * @type {Function}
   */
  getAdapter: getAdapter$1,
  /**
   * Exposes all known adapters
   * @type {Object<string, Function|Object>}
   */
  adapters: knownAdapters
};
function throwIfCancellationRequested(config2) {
  if (config2.cancelToken) {
    config2.cancelToken.throwIfRequested();
  }
  if (config2.signal && config2.signal.aborted) {
    throw new CanceledError$1(null, config2);
  }
}
function dispatchRequest(config2) {
  throwIfCancellationRequested(config2);
  config2.headers = AxiosHeaders$1.from(config2.headers);
  config2.data = transformData.call(config2, config2.transformRequest);
  if (["post", "put", "patch"].indexOf(config2.method) !== -1) {
    config2.headers.setContentType("application/x-www-form-urlencoded", false);
  }
  const adapter = adapters.getAdapter(config2.adapter || defaults.adapter, config2);
  return adapter(config2).then(
    function onAdapterResolution(response) {
      throwIfCancellationRequested(config2);
      response.data = transformData.call(config2, config2.transformResponse, response);
      response.headers = AxiosHeaders$1.from(response.headers);
      return response;
    },
    function onAdapterRejection(reason) {
      if (!isCancel$1(reason)) {
        throwIfCancellationRequested(config2);
        if (reason && reason.response) {
          reason.response.data = transformData.call(
            config2,
            config2.transformResponse,
            reason.response
          );
          reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
        }
      }
      return Promise.reject(reason);
    }
  );
}
const VERSION$1 = "1.13.6";
const validators$1 = {};
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
  validators$1[type] = function validator2(thing) {
    return typeof thing === type || "a" + (i < 1 ? "n " : " ") + type;
  };
});
const deprecatedWarnings = {};
validators$1.transitional = function transitional(validator2, version, message2) {
  function formatMessage(opt, desc) {
    return "[Axios v" + VERSION$1 + "] Transitional option '" + opt + "'" + desc + (message2 ? ". " + message2 : "");
  }
  return (value, opt, opts) => {
    if (validator2 === false) {
      throw new AxiosError$1(
        formatMessage(opt, " has been removed" + (version ? " in " + version : "")),
        AxiosError$1.ERR_DEPRECATED
      );
    }
    if (version && !deprecatedWarnings[opt]) {
      deprecatedWarnings[opt] = true;
      console.warn(
        formatMessage(
          opt,
          " has been deprecated since v" + version + " and will be removed in the near future"
        )
      );
    }
    return validator2 ? validator2(value, opt, opts) : true;
  };
};
validators$1.spelling = function spelling(correctSpelling) {
  return (value, opt) => {
    console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
    return true;
  };
};
function assertOptions(options, schema, allowUnknown) {
  if (typeof options !== "object") {
    throw new AxiosError$1("options must be an object", AxiosError$1.ERR_BAD_OPTION_VALUE);
  }
  const keys = Object.keys(options);
  let i = keys.length;
  while (i-- > 0) {
    const opt = keys[i];
    const validator2 = schema[opt];
    if (validator2) {
      const value = options[opt];
      const result = value === void 0 || validator2(value, opt, options);
      if (result !== true) {
        throw new AxiosError$1(
          "option " + opt + " must be " + result,
          AxiosError$1.ERR_BAD_OPTION_VALUE
        );
      }
      continue;
    }
    if (allowUnknown !== true) {
      throw new AxiosError$1("Unknown option " + opt, AxiosError$1.ERR_BAD_OPTION);
    }
  }
}
const validator = {
  assertOptions,
  validators: validators$1
};
const validators = validator.validators;
let Axios$2 = class Axios {
  constructor(instanceConfig) {
    this.defaults = instanceConfig || {};
    this.interceptors = {
      request: new InterceptorManager(),
      response: new InterceptorManager()
    };
  }
  /**
   * Dispatch a request
   *
   * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
   * @param {?Object} config
   *
   * @returns {Promise} The Promise to be fulfilled
   */
  async request(configOrUrl, config2) {
    try {
      return await this._request(configOrUrl, config2);
    } catch (err) {
      if (err instanceof Error) {
        let dummy = {};
        Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
        const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, "") : "";
        try {
          if (!err.stack) {
            err.stack = stack;
          } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ""))) {
            err.stack += "\n" + stack;
          }
        } catch (e4) {
        }
      }
      throw err;
    }
  }
  _request(configOrUrl, config2) {
    if (typeof configOrUrl === "string") {
      config2 = config2 || {};
      config2.url = configOrUrl;
    } else {
      config2 = configOrUrl || {};
    }
    config2 = mergeConfig$1(this.defaults, config2);
    const { transitional: transitional2, paramsSerializer, headers } = config2;
    if (transitional2 !== void 0) {
      validator.assertOptions(
        transitional2,
        {
          silentJSONParsing: validators.transitional(validators.boolean),
          forcedJSONParsing: validators.transitional(validators.boolean),
          clarifyTimeoutError: validators.transitional(validators.boolean),
          legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
        },
        false
      );
    }
    if (paramsSerializer != null) {
      if (utils$1.isFunction(paramsSerializer)) {
        config2.paramsSerializer = {
          serialize: paramsSerializer
        };
      } else {
        validator.assertOptions(
          paramsSerializer,
          {
            encode: validators.function,
            serialize: validators.function
          },
          true
        );
      }
    }
    if (config2.allowAbsoluteUrls !== void 0) ;
    else if (this.defaults.allowAbsoluteUrls !== void 0) {
      config2.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
    } else {
      config2.allowAbsoluteUrls = true;
    }
    validator.assertOptions(
      config2,
      {
        baseUrl: validators.spelling("baseURL"),
        withXsrfToken: validators.spelling("withXSRFToken")
      },
      true
    );
    config2.method = (config2.method || this.defaults.method || "get").toLowerCase();
    let contextHeaders = headers && utils$1.merge(headers.common, headers[config2.method]);
    headers && utils$1.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (method) => {
      delete headers[method];
    });
    config2.headers = AxiosHeaders$1.concat(contextHeaders, headers);
    const requestInterceptorChain = [];
    let synchronousRequestInterceptors = true;
    this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
      if (typeof interceptor.runWhen === "function" && interceptor.runWhen(config2) === false) {
        return;
      }
      synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
      const transitional3 = config2.transitional || transitionalDefaults;
      const legacyInterceptorReqResOrdering = transitional3 && transitional3.legacyInterceptorReqResOrdering;
      if (legacyInterceptorReqResOrdering) {
        requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
      } else {
        requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
      }
    });
    const responseInterceptorChain = [];
    this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
      responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
    });
    let promise;
    let i = 0;
    let len;
    if (!synchronousRequestInterceptors) {
      const chain = [dispatchRequest.bind(this), void 0];
      chain.unshift(...requestInterceptorChain);
      chain.push(...responseInterceptorChain);
      len = chain.length;
      promise = Promise.resolve(config2);
      while (i < len) {
        promise = promise.then(chain[i++], chain[i++]);
      }
      return promise;
    }
    len = requestInterceptorChain.length;
    let newConfig = config2;
    while (i < len) {
      const onFulfilled = requestInterceptorChain[i++];
      const onRejected = requestInterceptorChain[i++];
      try {
        newConfig = onFulfilled(newConfig);
      } catch (error) {
        onRejected.call(this, error);
        break;
      }
    }
    try {
      promise = dispatchRequest.call(this, newConfig);
    } catch (error) {
      return Promise.reject(error);
    }
    i = 0;
    len = responseInterceptorChain.length;
    while (i < len) {
      promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
    }
    return promise;
  }
  getUri(config2) {
    config2 = mergeConfig$1(this.defaults, config2);
    const fullPath = buildFullPath(config2.baseURL, config2.url, config2.allowAbsoluteUrls);
    return buildURL(fullPath, config2.params, config2.paramsSerializer);
  }
};
utils$1.forEach(["delete", "get", "head", "options"], function forEachMethodNoData(method) {
  Axios$2.prototype[method] = function(url, config2) {
    return this.request(
      mergeConfig$1(config2 || {}, {
        method,
        url,
        data: (config2 || {}).data
      })
    );
  };
});
utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData(method) {
  function generateHTTPMethod(isForm) {
    return function httpMethod(url, data, config2) {
      return this.request(
        mergeConfig$1(config2 || {}, {
          method,
          headers: isForm ? {
            "Content-Type": "multipart/form-data"
          } : {},
          url,
          data
        })
      );
    };
  }
  Axios$2.prototype[method] = generateHTTPMethod();
  Axios$2.prototype[method + "Form"] = generateHTTPMethod(true);
});
let CancelToken$1 = class CancelToken {
  constructor(executor) {
    if (typeof executor !== "function") {
      throw new TypeError("executor must be a function.");
    }
    let resolvePromise;
    this.promise = new Promise(function promiseExecutor(resolve) {
      resolvePromise = resolve;
    });
    const token = this;
    this.promise.then((cancel) => {
      if (!token._listeners) return;
      let i = token._listeners.length;
      while (i-- > 0) {
        token._listeners[i](cancel);
      }
      token._listeners = null;
    });
    this.promise.then = (onfulfilled) => {
      let _resolve;
      const promise = new Promise((resolve) => {
        token.subscribe(resolve);
        _resolve = resolve;
      }).then(onfulfilled);
      promise.cancel = function reject() {
        token.unsubscribe(_resolve);
      };
      return promise;
    };
    executor(function cancel(message2, config2, request) {
      if (token.reason) {
        return;
      }
      token.reason = new CanceledError$1(message2, config2, request);
      resolvePromise(token.reason);
    });
  }
  /**
   * Throws a `CanceledError` if cancellation has been requested.
   */
  throwIfRequested() {
    if (this.reason) {
      throw this.reason;
    }
  }
  /**
   * Subscribe to the cancel signal
   */
  subscribe(listener) {
    if (this.reason) {
      listener(this.reason);
      return;
    }
    if (this._listeners) {
      this._listeners.push(listener);
    } else {
      this._listeners = [listener];
    }
  }
  /**
   * Unsubscribe from the cancel signal
   */
  unsubscribe(listener) {
    if (!this._listeners) {
      return;
    }
    const index = this._listeners.indexOf(listener);
    if (index !== -1) {
      this._listeners.splice(index, 1);
    }
  }
  toAbortSignal() {
    const controller = new AbortController();
    const abort = (err) => {
      controller.abort(err);
    };
    this.subscribe(abort);
    controller.signal.unsubscribe = () => this.unsubscribe(abort);
    return controller.signal;
  }
  /**
   * Returns an object that contains a new `CancelToken` and a function that, when called,
   * cancels the `CancelToken`.
   */
  static source() {
    let cancel;
    const token = new CancelToken(function executor(c10) {
      cancel = c10;
    });
    return {
      token,
      cancel
    };
  }
};
function spread$1(callback) {
  return function wrap(arr) {
    return callback.apply(null, arr);
  };
}
function isAxiosError$1(payload) {
  return utils$1.isObject(payload) && payload.isAxiosError === true;
}
const HttpStatusCode$1 = {
  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(HttpStatusCode$1).forEach(([key2, value]) => {
  HttpStatusCode$1[value] = key2;
});
function createInstance(defaultConfig) {
  const context = new Axios$2(defaultConfig);
  const instance = bind(Axios$2.prototype.request, context);
  utils$1.extend(instance, Axios$2.prototype, context, { allOwnKeys: true });
  utils$1.extend(instance, context, null, { allOwnKeys: true });
  instance.create = function create(instanceConfig) {
    return createInstance(mergeConfig$1(defaultConfig, instanceConfig));
  };
  return instance;
}
const axios = createInstance(defaults);
axios.Axios = Axios$2;
axios.CanceledError = CanceledError$1;
axios.CancelToken = CancelToken$1;
axios.isCancel = isCancel$1;
axios.VERSION = VERSION$1;
axios.toFormData = toFormData$1;
axios.AxiosError = AxiosError$1;
axios.Cancel = axios.CanceledError;
axios.all = function all(promises) {
  return Promise.all(promises);
};
axios.spread = spread$1;
axios.isAxiosError = isAxiosError$1;
axios.mergeConfig = mergeConfig$1;
axios.AxiosHeaders = AxiosHeaders$1;
axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
axios.getAdapter = adapters.getAdapter;
axios.HttpStatusCode = HttpStatusCode$1;
axios.default = axios;
const {
  Axios: Axios$1,
  AxiosError: AxiosError2,
  CanceledError: CanceledError2,
  isCancel,
  CancelToken: CancelToken2,
  VERSION,
  all: all2,
  Cancel,
  isAxiosError,
  spread,
  toFormData,
  AxiosHeaders: AxiosHeaders2,
  HttpStatusCode,
  formToJSON,
  getAdapter,
  mergeConfig
} = axios;
var tinyEmitter = { exports: {} };
var hasRequiredTinyEmitter;
function requireTinyEmitter() {
  if (hasRequiredTinyEmitter) return tinyEmitter.exports;
  hasRequiredTinyEmitter = 1;
  function E() {
  }
  E.prototype = {
    on: function(name, callback, ctx) {
      var e4 = this.e || (this.e = {});
      (e4[name] || (e4[name] = [])).push({
        fn: callback,
        ctx
      });
      return this;
    },
    once: function(name, callback, ctx) {
      var self2 = this;
      function listener() {
        self2.off(name, listener);
        callback.apply(ctx, arguments);
      }
      listener._ = callback;
      return this.on(name, listener, ctx);
    },
    emit: function(name) {
      var data = [].slice.call(arguments, 1);
      var evtArr = ((this.e || (this.e = {}))[name] || []).slice();
      var i = 0;
      var len = evtArr.length;
      for (i; i < len; i++) {
        evtArr[i].fn.apply(evtArr[i].ctx, data);
      }
      return this;
    },
    off: function(name, callback) {
      var e4 = this.e || (this.e = {});
      var evts = e4[name];
      var liveEvents = [];
      if (evts && callback) {
        for (var i = 0, len = evts.length; i < len; i++) {
          if (evts[i].fn !== callback && evts[i].fn._ !== callback)
            liveEvents.push(evts[i]);
        }
      }
      liveEvents.length ? e4[name] = liveEvents : delete e4[name];
      return this;
    }
  };
  tinyEmitter.exports = E;
  tinyEmitter.exports.TinyEmitter = E;
  return tinyEmitter.exports;
}
var tinyEmitterExports = requireTinyEmitter();
const eventEmitter = new tinyEmitterExports.TinyEmitter();
class BaseStore {
  constructor() {
    this.setters = {};
  }
  addSetter(val, id2) {
    this.setters = this.setters || {};
    this.setters[id2] = val;
  }
  removeSetter(id2) {
    delete this.setters[id2];
  }
  triggerChange() {
    eventEmitter.emit("change");
  }
  onChange(cb2) {
    return eventEmitter.on("change", cb2);
  }
}
const addExtraParam = (params, newParam) => {
  if (!newParam) {
    return;
  }
  const newParamQuery = getQueryParam(newParam);
  if (newParamQuery && Boolean(newParamQuery)) {
    if (!params) {
      params = {};
    }
    params = {
      ...params
    };
    if (newParamQuery.toLowerCase() === "true") {
      params[newParam] = true;
    }
    if (newParamQuery.toLowerCase() === "1") {
      params[newParam] = 1;
    }
  }
  return params;
};
const parseParams = (params) => {
  var _a2;
  params = addExtraParam(params, "noCache");
  params = addExtraParam(params, "debug");
  if (!params) {
    return "";
  }
  let queryString = "";
  const keysLn = (_a2 = Object.keys(params)) == null ? void 0 : _a2.length;
  if (!params || !keysLn) {
    return "";
  }
  const keys = Object.keys(params);
  for (const key2 of keys) {
    if (params[key2] === void 0) {
      continue;
    }
    if (queryString) {
      queryString += "&";
    }
    queryString = queryString ? queryString + key2 + "=" + params[key2] : key2 + "=" + encodeURIComponent(params[key2] ?? "");
  }
  if (!queryString) {
    return "";
  }
  return "?" + queryString;
};
class Stores {
  constructor() {
    this.stores = [];
  }
  addStore(store) {
    this.stores.push(store);
  }
  resetStores() {
    this.stores = [];
  }
}
const stores = new Stores();
rcWindow.stores = stores;
class AxiosClass {
  request(opts) {
    return from(axios.request(opts));
  }
}
const Axios2 = new AxiosClass();
class HttpStore extends BaseStore {
  constructor() {
    super();
    stores.addStore(this);
  }
  getHeaders(isFormData2 = false, token = "") {
    const Headers2 = {};
    Headers2["Content-Type"] = isFormData2 ? "application/x-www-form-urlencoded" : "application/json";
    if (token) {
      Headers2["Authorization"] = `Bearer ${token}`;
    }
    if (rcWindow.rankingCoachRestData.nonce) {
      Headers2["X-WP-Nonce"] = rcWindow.rankingCoachRestData.nonce;
    }
    return Headers2;
  }
  buildFormData(formData, data, parentKey) {
    if (data && typeof data === "object" && !(data instanceof Date) && !(data instanceof File)) {
      Object.keys(data).forEach((key2) => {
        this.buildFormData(formData, data[key2], parentKey ? `${parentKey}[${key2}]` : key2);
      });
    } else {
      const value = data == null ? "" : data;
      formData.append(parentKey, value);
    }
  }
  jsonToFormData(data) {
    const formData = new FormData();
    this.buildFormData(formData, data, null);
    return formData;
  }
  get(endPoint, queryParams, signal) {
    const token = "";
    const options = {
      withCredentials: true,
      store: this,
      method: "GET",
      headers: this.getHeaders(false, token),
      url: `${endPoint.get()}${parseParams(queryParams)}`,
      signal
    };
    return Axios2.request(options).pipe(
      map((response) => {
        if (response.data) {
          return response.data;
        }
        return response;
      }),
      catchError((err) => {
        return new Observable((observer) => {
          console.warn("Warning | Request Rejected | Details: ", JSON.stringify(err));
          observer.error(err);
          observer.next(err);
          observer.complete();
        });
      })
    );
  }
  post(endPoint, requestBody, queryParams, signal, contentType = "", bearerToken) {
    const body = contentType === "multipart/form-data" ? this.jsonToFormData(requestBody) : requestBody;
    const options = {
      method: "POST",
      headers: this.getHeaders(contentType === "multipart/form-data", bearerToken),
      data: body,
      url: `${endPoint.get()}${parseParams(queryParams)}`,
      signal,
      onUploadProgress: (progress) => {
        if (progress.total !== void 0) ;
      }
    };
    return Axios2.request(options).pipe(
      map((resp) => {
        return resp.data;
      }),
      catchError((err) => {
        console.warn("Warning | Request Rejected | Details: ", JSON.stringify(err));
        return new Observable((observer) => {
          observer.error(err);
          observer.complete();
        });
      })
    );
  }
  put(endPoint, requestBody, queryParams, signal) {
    const options = {
      method: "PUT",
      headers: this.getHeaders(),
      data: requestBody,
      url: `${endPoint.get()}${parseParams(queryParams)}`,
      signal
    };
    return Axios2.request(options).pipe(
      map((resp) => {
        return resp.data;
      }),
      catchError((err) => {
        return new Observable((observer) => {
          observer.error(err);
          observer.complete();
        });
      })
    );
  }
  delete(endPoint, requestBody, queryParams, signal) {
    const options = {
      method: "DELETE",
      headers: this.getHeaders(),
      data: requestBody,
      url: `${endPoint.get()}${parseParams(queryParams)}`,
      signal
    };
    return Axios2.request(options).pipe(
      map((resp) => {
        return resp.data;
      }),
      catchError((err) => {
        return new Observable((observer) => {
          observer.error(err);
          observer.complete();
        });
      })
    );
  }
  patch(endPoint, requestBody, queryParams, signal) {
    const options = {
      method: "PATCH",
      headers: this.getHeaders(),
      data: requestBody,
      url: `${endPoint.get()}${parseParams(queryParams)}`,
      signal
    };
    return Axios2.request(options).pipe(
      map((resp) => {
        return resp.data;
      }),
      catchError((err) => {
        return new Observable((observer) => {
          observer.error(err);
          observer.complete();
        });
      })
    );
  }
}
const ApiConfig = (env = "dev") => {
  const activeConfigs = {
    local: () => {
      const base = ``;
      return {
        authBase: `${base}`,
        apiBase: `${base}`
      };
    },
    dev: () => {
      const base = ``;
      return {
        authBase: `${base}`,
        apiBase: `${base}`
      };
    },
    test: () => {
      const base = ``;
      return {
        authBase: `${base}`,
        apiBase: `${base}`
      };
    }
  };
  return activeConfigs[env]();
};
const apiConfig = ApiConfig(
  "dev"
  /* dev */
);
class EndPoint {
  constructor(endPoint, base = apiConfig.apiBase) {
    this.base = base;
    this.endPoint = endPoint;
  }
  get() {
    return `${this.base}${this.endPoint}`;
  }
}
class AbortControllersManager {
  constructor() {
    this.controllers = {};
    this._push = (id2, controller) => {
      this.controllers[id2] = controller;
    };
    this._remove = (id2) => {
      delete this.controllers[id2];
    };
    this.abortAll = () => {
      Object.values(this.controllers).forEach((c10) => {
        c10.abort();
      });
    };
  }
}
const _SeoStore = class _SeoStore extends HttpStore {
  /** 
  * Returns the list of available modules with their names. 
  */
  /** 
  * Get the list of available modules. 
  * Returns the list of available modules with their names. 
  */
  getRankingcoachSeoFeatureModules(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/feature_modules`), queryParams, signal);
  }
  /** 
  * Returns the rankingCoach account details including user data, subscription data, and other account details. 
  */
  /** 
  * Get the current logged account details. 
  * Returns the rankingCoach account details including user data, subscription data, and other account details. 
  */
  getRankingcoachSeoAccountDetails(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/account_details`), queryParams, signal);
  }
  /** 
  * Returns from rankingCoach the location keywords for the current logged account. 
  */
  /** 
  * Get the location keywords. 
  * Returns from rankingCoach the location keywords for the current logged account. 
  */
  getRankingcoachSeoLocationKeywords(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/location_keywords`), queryParams, signal);
  }
  /** 
  * Returns the available variables for a post. 
  */
  /** 
  * Get the available variables for a post. 
  * Returns the available variables for a post. 
  */
  getRankingcoachSeoRcVariablesDataById(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/rc_variables/${id}/data`), queryParams, signal);
  }
  /** 
  * Generates the OpenAPI spec for registered routes. This is used for generating stores on frontend. 
  */
  /** 
  * Generate OpenAPI specification. 
  * Generates the OpenAPI spec for registered routes. This is used for generating stores on frontend. 
  */
  getRankingcoachSeoGenerateSdk(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/generate_sdk`), queryParams, signal);
  }
  /** 
  * Creates a temporary token for SDK generation. The token is valid for 10 minutes and allows access to documentation/OpenAPI endpoints. 
  */
  /** 
  * Create SDK Generation Token 
  * Creates a temporary token for SDK generation. The token is valid for 10 minutes and allows access to documentation/OpenAPI endpoints. 
  */
  postRankingcoachSeoSdkToken(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/sdk_token`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Handle general settings CRUD operations 
  */
  /** 
  * General Settings Management 
  * Handle general settings CRUD operations 
  */
  getRankingcoachSeoSettings(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/settings`), queryParams, signal);
  }
  /** 
  * Handle general settings CRUD operations 
  */
  /** 
  * General Settings Management 
  * Handle general settings CRUD operations 
  */
  postRankingcoachSeoSettings(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/settings`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Handle individual setting CRUD operations 
  */
  /** 
  * Single Setting Management 
  * Handle individual setting CRUD operations 
  */
  getRankingcoachSeoSettingsByKey(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/settings/${key}`), queryParams, signal);
  }
  /** 
  * Handle individual setting CRUD operations 
  */
  /** 
  * Single Setting Management 
  * Handle individual setting CRUD operations 
  */
  postRankingcoachSeoSettingsByKey(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/settings/${key}`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Handle individual setting CRUD operations 
  */
  /** 
  * Single Setting Management 
  * Handle individual setting CRUD operations 
  */
  deleteRankingcoachSeoSettingsByKey(requestBody, queryParams, signal) {
    return this.delete(new EndPoint(`/wp-json/rankingcoach/seo/settings/${key}`), requestBody, queryParams, signal);
  }
  /** 
  * Generate breadcrumbs for multiple context types with full customization support. Supports post types, archives, search results, 404 pages, taxonomies, and date archives. Context-aware generation based on provided parameters. 
  */
  /** 
  * Multi-context Breadcrumbs Generator 
  * Generate breadcrumbs for multiple context types with full customization support. Supports post types, archives, search results, 404 pages, taxonomies, and date archives. Context-aware generation based on provided parameters. 
  */
  postRankingcoachSeoBreadcrumbs(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/breadcrumbs`), requestBody, queryParams, signal, contentType);
  }
  /** 
  *  
  *  
  */
  postRankingcoachSeoAccountChallenge(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/account/challenge`), requestBody, queryParams, signal, contentType);
  }
  /** 
  *  
  *  
  */
  getRankingcoachSeoAccountVerificationStatus(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/account/verificationStatus`), queryParams, signal);
  }
  /** 
  *  
  *  
  */
  postRankingcoachSeoAccountRegister(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/account/register`), requestBody, queryParams, signal, contentType);
  }
  /** 
  *  
  *  
  */
  postRankingcoachSeoAccountFinalizeRegister(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/account/finalizeRegister`), requestBody, queryParams, signal, contentType);
  }
  /** 
  *  
  *  
  */
  getRankingcoachSeoFlowguardState(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/flowguard/state`), queryParams, signal);
  }
  /** 
  *  
  *  
  */
  postRankingcoachSeoUpsellUrl(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/upsell/url`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Get all links with pagination 
  */
  /** 
  * Get All Links 
  * Get all links with pagination 
  */
  getRankingcoachSeoLinkAnalyzer(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/linkAnalyzer`), queryParams, signal);
  }
  /** 
  * Get links for a specific post 
  */
  /** 
  * Get Links For Post 
  * Get links for a specific post 
  */
  getRankingcoachSeoLinkAnalyzerById(id2, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/linkAnalyzer/${id2}`), queryParams, signal);
  }
  /** 
  * Index links from posts 
  */
  /** 
  * Index Links 
  * Index links from posts 
  */
  postRankingcoachSeoLinkAnalyzerIndexByPostId(post_id, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/linkAnalyzer/index/${post_id}`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Scan links for broken status 
  */
  /** 
  * Scan Links 
  * Scan links for broken status 
  */
  postRankingcoachSeoLinkAnalyzerScanByPostId(post_id, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/linkAnalyzer/scan/${post_id}`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Verify links for status 
  */
  /** 
  * Verify Links 
  * Verify links for status 
  */
  postRankingcoachSeoLinkAnalyzerVerifyByPostId(post_id, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/linkAnalyzer/verify/${post_id}`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Get all redirects 
  */
  /** 
  * Get All Redirects 
  * Get all redirects 
  */
  getRankingcoachSeoRedirectManager(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/redirectManager`), queryParams, signal);
  }
  /** 
  * Create a new redirect 
  */
  /** 
  * Create Redirect 
  * Create a new redirect 
  */
  postRankingcoachSeoRedirectManager(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/redirectManager`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Get a single redirect by ID 
  */
  /** 
  * Get Redirect 
  * Get a single redirect by ID 
  */
  getRankingcoachSeoRedirectManagerById(id2, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/redirectManager/${id2}`), queryParams, signal);
  }
  /** 
  * Update an existing redirect 
  */
  /** 
  * Update Redirect 
  * Update an existing redirect 
  */
  patchRankingcoachSeoRedirectManagerById(id2, requestBody, queryParams, signal) {
    return this.patch(new EndPoint(`/wp-json/rankingcoach/seo/redirectManager/${id2}`), requestBody, queryParams, signal);
  }
  /** 
  * Delete a redirect 
  */
  /** 
  * Delete Redirect 
  * Delete a redirect 
  */
  deleteRankingcoachSeoRedirectManagerById(id2, requestBody, queryParams, signal) {
    return this.delete(new EndPoint(`/wp-json/rankingcoach/seo/redirectManager/${id2}`), requestBody, queryParams, signal);
  }
  /** 
  * Get the schema settings data for the module. 
  */
  /** 
  * Get Schema Data 
  * Get the schema settings data for the module. 
  */
  getRankingcoachSeoSchemaMarkupById(id2, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/seo/schemaMarkup/${id2}`), queryParams, signal);
  }
  /** 
  * Save the schema settings data for the module 
  */
  /** 
  * Save Schema Data 
  * Save the schema settings data for the module 
  */
  postRankingcoachSeoSchemaMarkupSaveById(id2, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/seo/schemaMarkup/${id2}/save`), requestBody, queryParams, signal, contentType);
  }
};
_SeoStore.getRankingcoachSeoFeatureModulesAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoFeatureModulesThunk = createAsyncThunk("getRankingcoachSeoFeatureModules", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoFeatureModulesAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoFeatureModules(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoFeatureModulesAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoFeatureModulesAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoFeatureModulesUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/feature_modules");
_SeoStore.getRankingcoachSeoFeatureModulesUrlMockRequest = "/wp-json/rankingcoach/seo/feature_modules(.*)";
_SeoStore.getRankingcoachSeoAccountDetailsAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoAccountDetailsThunk = createAsyncThunk("getRankingcoachSeoAccountDetails", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoAccountDetailsAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoAccountDetails(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoAccountDetailsAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoAccountDetailsAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoAccountDetailsUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/account_details");
_SeoStore.getRankingcoachSeoAccountDetailsUrlMockRequest = "/wp-json/rankingcoach/seo/account_details(.*)";
_SeoStore.getRankingcoachSeoLocationKeywordsAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoLocationKeywordsThunk = createAsyncThunk("getRankingcoachSeoLocationKeywords", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoLocationKeywordsAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoLocationKeywords(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoLocationKeywordsAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoLocationKeywordsAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoLocationKeywordsUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/location_keywords");
_SeoStore.getRankingcoachSeoLocationKeywordsUrlMockRequest = "/wp-json/rankingcoach/seo/location_keywords(.*)";
_SeoStore.getRankingcoachSeoRcVariablesDataByIdAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoRcVariablesDataByIdThunk = createAsyncThunk("getRankingcoachSeoRcVariablesDataById", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoRcVariablesDataByIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoRcVariablesDataById(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoRcVariablesDataByIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoRcVariablesDataByIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoRcVariablesDataByIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/rc_variables/{id}/data");
_SeoStore.getRankingcoachSeoRcVariablesDataByIdUrlMockRequest = "/wp-json/rankingcoach/seo/rc_variables/{id}/data(.*)";
_SeoStore.getRankingcoachSeoGenerateSdkAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoGenerateSdkThunk = createAsyncThunk("getRankingcoachSeoGenerateSdk", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoGenerateSdkAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoGenerateSdk(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoGenerateSdkAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoGenerateSdkAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoGenerateSdkUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/generate_sdk");
_SeoStore.getRankingcoachSeoGenerateSdkUrlMockRequest = "/wp-json/rankingcoach/seo/generate_sdk(.*)";
_SeoStore.postRankingcoachSeoSdkTokenAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoSdkTokenThunk = createAsyncThunk("postRankingcoachSeoSdkToken", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoSdkTokenAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoSdkToken(requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoSdkTokenAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoSdkTokenAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoSdkTokenUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/sdk_token");
_SeoStore.postRankingcoachSeoSdkTokenUrlMockRequest = "/wp-json/rankingcoach/seo/sdk_token(.*)";
_SeoStore.getRankingcoachSeoSettingsAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoSettingsThunk = createAsyncThunk("getRankingcoachSeoSettings", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoSettingsAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoSettings(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoSettingsAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoSettingsAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoSettingsUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/settings");
_SeoStore.getRankingcoachSeoSettingsUrlMockRequest = "/wp-json/rankingcoach/seo/settings(.*)";
_SeoStore.postRankingcoachSeoSettingsAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoSettingsThunk = createAsyncThunk("postRankingcoachSeoSettings", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoSettingsAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoSettings(requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoSettingsAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoSettingsAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoSettingsUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/settings");
_SeoStore.postRankingcoachSeoSettingsUrlMockRequest = "/wp-json/rankingcoach/seo/settings(.*)";
_SeoStore.getRankingcoachSeoSettingsByKeyAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoSettingsByKeyThunk = createAsyncThunk("getRankingcoachSeoSettingsByKey", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoSettingsByKeyAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoSettingsByKey(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoSettingsByKeyAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoSettingsByKeyAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoSettingsByKeyUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/settings/{key}");
_SeoStore.getRankingcoachSeoSettingsByKeyUrlMockRequest = "/wp-json/rankingcoach/seo/settings/{key}(.*)";
_SeoStore.postRankingcoachSeoSettingsByKeyAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoSettingsByKeyThunk = createAsyncThunk("postRankingcoachSeoSettingsByKey", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoSettingsByKeyAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoSettingsByKey(requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoSettingsByKeyAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoSettingsByKeyAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoSettingsByKeyUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/settings/{key}");
_SeoStore.postRankingcoachSeoSettingsByKeyUrlMockRequest = "/wp-json/rankingcoach/seo/settings/{key}(.*)";
_SeoStore.deleteRankingcoachSeoSettingsByKeyAbortManager = new AbortControllersManager();
_SeoStore.deleteRankingcoachSeoSettingsByKeyThunk = createAsyncThunk("deleteRankingcoachSeoSettingsByKey", async ({ requestBody, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.deleteRankingcoachSeoSettingsByKeyAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.deleteRankingcoachSeoSettingsByKey(requestBody, queryParams, signal)
    );
    _SeoStore.deleteRankingcoachSeoSettingsByKeyAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.deleteRankingcoachSeoSettingsByKeyAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.deleteRankingcoachSeoSettingsByKeyUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/settings/{key}");
_SeoStore.deleteRankingcoachSeoSettingsByKeyUrlMockRequest = "/wp-json/rankingcoach/seo/settings/{key}(.*)";
_SeoStore.postRankingcoachSeoBreadcrumbsAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoBreadcrumbsThunk = createAsyncThunk("postRankingcoachSeoBreadcrumbs", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoBreadcrumbsAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoBreadcrumbs(requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoBreadcrumbsAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoBreadcrumbsAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoBreadcrumbsUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/breadcrumbs");
_SeoStore.postRankingcoachSeoBreadcrumbsUrlMockRequest = "/wp-json/rankingcoach/seo/breadcrumbs(.*)";
_SeoStore.postRankingcoachSeoAccountChallengeAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoAccountChallengeThunk = createAsyncThunk("postRankingcoachSeoAccountChallenge", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoAccountChallengeAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoAccountChallenge(requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoAccountChallengeAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoAccountChallengeAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoAccountChallengeUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/account/challenge");
_SeoStore.postRankingcoachSeoAccountChallengeUrlMockRequest = "/wp-json/rankingcoach/seo/account/challenge(.*)";
_SeoStore.getRankingcoachSeoAccountVerificationStatusAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoAccountVerificationStatusThunk = createAsyncThunk("getRankingcoachSeoAccountVerificationStatus", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoAccountVerificationStatusAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoAccountVerificationStatus(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoAccountVerificationStatusAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoAccountVerificationStatusAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoAccountVerificationStatusUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/account/verificationStatus");
_SeoStore.getRankingcoachSeoAccountVerificationStatusUrlMockRequest = "/wp-json/rankingcoach/seo/account/verificationStatus(.*)";
_SeoStore.postRankingcoachSeoAccountRegisterAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoAccountRegisterThunk = createAsyncThunk("postRankingcoachSeoAccountRegister", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoAccountRegisterAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoAccountRegister(requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoAccountRegisterAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoAccountRegisterAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoAccountRegisterUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/account/register");
_SeoStore.postRankingcoachSeoAccountRegisterUrlMockRequest = "/wp-json/rankingcoach/seo/account/register(.*)";
_SeoStore.postRankingcoachSeoAccountFinalizeRegisterAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoAccountFinalizeRegisterThunk = createAsyncThunk("postRankingcoachSeoAccountFinalizeRegister", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoAccountFinalizeRegisterAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoAccountFinalizeRegister(requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoAccountFinalizeRegisterAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoAccountFinalizeRegisterAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoAccountFinalizeRegisterUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/account/finalizeRegister");
_SeoStore.postRankingcoachSeoAccountFinalizeRegisterUrlMockRequest = "/wp-json/rankingcoach/seo/account/finalizeRegister(.*)";
_SeoStore.getRankingcoachSeoFlowguardStateAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoFlowguardStateThunk = createAsyncThunk("getRankingcoachSeoFlowguardState", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoFlowguardStateAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoFlowguardState(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoFlowguardStateAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoFlowguardStateAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoFlowguardStateUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/flowguard/state");
_SeoStore.getRankingcoachSeoFlowguardStateUrlMockRequest = "/wp-json/rankingcoach/seo/flowguard/state(.*)";
_SeoStore.postRankingcoachSeoUpsellUrlAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoUpsellUrlThunk = createAsyncThunk("postRankingcoachSeoUpsellUrl", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoUpsellUrlAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoUpsellUrl(requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoUpsellUrlAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoUpsellUrlAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoUpsellUrlUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/upsell/url");
_SeoStore.postRankingcoachSeoUpsellUrlUrlMockRequest = "/wp-json/rankingcoach/seo/upsell/url(.*)";
_SeoStore.getRankingcoachSeoLinkAnalyzerAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoLinkAnalyzerThunk = createAsyncThunk("getRankingcoachSeoLinkAnalyzer", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoLinkAnalyzerAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoLinkAnalyzer(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoLinkAnalyzerAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoLinkAnalyzerAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoLinkAnalyzerUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/linkAnalyzer");
_SeoStore.getRankingcoachSeoLinkAnalyzerUrlMockRequest = "/wp-json/rankingcoach/seo/linkAnalyzer(.*)";
_SeoStore.getRankingcoachSeoLinkAnalyzerByIdAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoLinkAnalyzerByIdThunk = createAsyncThunk("getRankingcoachSeoLinkAnalyzerById", async ({ id: id2, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoLinkAnalyzerByIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoLinkAnalyzerById(id2, queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoLinkAnalyzerByIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoLinkAnalyzerByIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoLinkAnalyzerByIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/linkAnalyzer/{id}");
_SeoStore.getRankingcoachSeoLinkAnalyzerByIdUrlMockRequest = "/wp-json/rankingcoach/seo/linkAnalyzer/{id}(.*)";
_SeoStore.postRankingcoachSeoLinkAnalyzerIndexByPostIdAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoLinkAnalyzerIndexByPostIdThunk = createAsyncThunk("postRankingcoachSeoLinkAnalyzerIndexByPostId", async ({ post_id, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoLinkAnalyzerIndexByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoLinkAnalyzerIndexByPostId(post_id, requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoLinkAnalyzerIndexByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoLinkAnalyzerIndexByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoLinkAnalyzerIndexByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/linkAnalyzer/index/{post_id}");
_SeoStore.postRankingcoachSeoLinkAnalyzerIndexByPostIdUrlMockRequest = "/wp-json/rankingcoach/seo/linkAnalyzer/index/{post_id}(.*)";
_SeoStore.postRankingcoachSeoLinkAnalyzerScanByPostIdAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoLinkAnalyzerScanByPostIdThunk = createAsyncThunk("postRankingcoachSeoLinkAnalyzerScanByPostId", async ({ post_id, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoLinkAnalyzerScanByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoLinkAnalyzerScanByPostId(post_id, requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoLinkAnalyzerScanByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoLinkAnalyzerScanByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoLinkAnalyzerScanByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/linkAnalyzer/scan/{post_id}");
_SeoStore.postRankingcoachSeoLinkAnalyzerScanByPostIdUrlMockRequest = "/wp-json/rankingcoach/seo/linkAnalyzer/scan/{post_id}(.*)";
_SeoStore.postRankingcoachSeoLinkAnalyzerVerifyByPostIdAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoLinkAnalyzerVerifyByPostIdThunk = createAsyncThunk("postRankingcoachSeoLinkAnalyzerVerifyByPostId", async ({ post_id, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoLinkAnalyzerVerifyByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoLinkAnalyzerVerifyByPostId(post_id, requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoLinkAnalyzerVerifyByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoLinkAnalyzerVerifyByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoLinkAnalyzerVerifyByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/linkAnalyzer/verify/{post_id}");
_SeoStore.postRankingcoachSeoLinkAnalyzerVerifyByPostIdUrlMockRequest = "/wp-json/rankingcoach/seo/linkAnalyzer/verify/{post_id}(.*)";
_SeoStore.getRankingcoachSeoRedirectManagerAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoRedirectManagerThunk = createAsyncThunk("getRankingcoachSeoRedirectManager", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoRedirectManagerAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoRedirectManager(queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoRedirectManagerAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoRedirectManagerAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoRedirectManagerUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/redirectManager");
_SeoStore.getRankingcoachSeoRedirectManagerUrlMockRequest = "/wp-json/rankingcoach/seo/redirectManager(.*)";
_SeoStore.postRankingcoachSeoRedirectManagerAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoRedirectManagerThunk = createAsyncThunk("postRankingcoachSeoRedirectManager", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoRedirectManagerAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoRedirectManager(requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoRedirectManagerAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoRedirectManagerAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoRedirectManagerUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/redirectManager");
_SeoStore.postRankingcoachSeoRedirectManagerUrlMockRequest = "/wp-json/rankingcoach/seo/redirectManager(.*)";
_SeoStore.getRankingcoachSeoRedirectManagerByIdAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoRedirectManagerByIdThunk = createAsyncThunk("getRankingcoachSeoRedirectManagerById", async ({ id: id2, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoRedirectManagerByIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoRedirectManagerById(id2, queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoRedirectManagerByIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoRedirectManagerByIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoRedirectManagerByIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/redirectManager/{id}");
_SeoStore.getRankingcoachSeoRedirectManagerByIdUrlMockRequest = "/wp-json/rankingcoach/seo/redirectManager/{id}(.*)";
_SeoStore.patchRankingcoachSeoRedirectManagerByIdAbortManager = new AbortControllersManager();
_SeoStore.patchRankingcoachSeoRedirectManagerByIdThunk = createAsyncThunk("patchRankingcoachSeoRedirectManagerById", async ({ id: id2, requestBody, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.patchRankingcoachSeoRedirectManagerByIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.patchRankingcoachSeoRedirectManagerById(id2, requestBody, queryParams, signal)
    );
    _SeoStore.patchRankingcoachSeoRedirectManagerByIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.patchRankingcoachSeoRedirectManagerByIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.patchRankingcoachSeoRedirectManagerByIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/redirectManager/{id}");
_SeoStore.patchRankingcoachSeoRedirectManagerByIdUrlMockRequest = "/wp-json/rankingcoach/seo/redirectManager/{id}(.*)";
_SeoStore.deleteRankingcoachSeoRedirectManagerByIdAbortManager = new AbortControllersManager();
_SeoStore.deleteRankingcoachSeoRedirectManagerByIdThunk = createAsyncThunk("deleteRankingcoachSeoRedirectManagerById", async ({ id: id2, requestBody, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.deleteRankingcoachSeoRedirectManagerByIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.deleteRankingcoachSeoRedirectManagerById(id2, requestBody, queryParams, signal)
    );
    _SeoStore.deleteRankingcoachSeoRedirectManagerByIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.deleteRankingcoachSeoRedirectManagerByIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.deleteRankingcoachSeoRedirectManagerByIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/redirectManager/{id}");
_SeoStore.deleteRankingcoachSeoRedirectManagerByIdUrlMockRequest = "/wp-json/rankingcoach/seo/redirectManager/{id}(.*)";
_SeoStore.getRankingcoachSeoSchemaMarkupByIdAbortManager = new AbortControllersManager();
_SeoStore.getRankingcoachSeoSchemaMarkupByIdThunk = createAsyncThunk("getRankingcoachSeoSchemaMarkupById", async ({ id: id2, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.getRankingcoachSeoSchemaMarkupByIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.getRankingcoachSeoSchemaMarkupById(id2, queryParams, signal)
    );
    _SeoStore.getRankingcoachSeoSchemaMarkupByIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.getRankingcoachSeoSchemaMarkupByIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.getRankingcoachSeoSchemaMarkupByIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/schemaMarkup/{id}");
_SeoStore.getRankingcoachSeoSchemaMarkupByIdUrlMockRequest = "/wp-json/rankingcoach/seo/schemaMarkup/{id}(.*)";
_SeoStore.postRankingcoachSeoSchemaMarkupSaveByIdAbortManager = new AbortControllersManager();
_SeoStore.postRankingcoachSeoSchemaMarkupSaveByIdThunk = createAsyncThunk("postRankingcoachSeoSchemaMarkupSaveById", async ({ id: id2, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SeoStore.postRankingcoachSeoSchemaMarkupSaveByIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      seoStore.postRankingcoachSeoSchemaMarkupSaveById(id2, requestBody, queryParams, signal, contentType)
    );
    _SeoStore.postRankingcoachSeoSchemaMarkupSaveByIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SeoStore.postRankingcoachSeoSchemaMarkupSaveByIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SeoStore.postRankingcoachSeoSchemaMarkupSaveByIdUrlRegEx = new RegExp("/wp-json/rankingcoach/seo/schemaMarkup/{id}/save");
_SeoStore.postRankingcoachSeoSchemaMarkupSaveByIdUrlMockRequest = "/wp-json/rankingcoach/seo/schemaMarkup/{id}/save(.*)";
let SeoStore = _SeoStore;
const seoStore = new SeoStore();
const fetchPost = createAsyncThunk(
  "post/fetchPost",
  async ({ postId, postType }, thunkAPI) => {
    var _a2;
    try {
      const response = await fetch(`/wp-json/wp/v2/${postType}s/${postId}/?_ref=rc`, {
        method: "GET",
        headers: {
          "X-WP-Nonce": (_a2 = rcWindow.rankingCoachRestData) == null ? void 0 : _a2.nonce
        }
      });
      if (!response.ok) {
        throw new Error("Failed to fetch post");
      }
      return await response.json();
    } catch (error) {
      if (error instanceof Error) {
        return thunkAPI.rejectWithValue(error.message);
      }
      return thunkAPI.rejectWithValue("An unknown error occurred");
    }
  }
);
const useMapLocationKeywords = (keywordsArray) => {
  const keywords = [];
  keywordsArray.forEach((keyword) => {
    let instance = {
      name: keyword.keyword.name
    };
    keywords.push(instance);
  });
  return keywords;
};
const _PluginInformationStore = class _PluginInformationStore extends HttpStore {
  /** 
  * Get plugin data / information and current user data 
  */
  /** 
  * Get plugin information 
  * Get plugin data / information and current user data 
  */
  postApiPluginInformation(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/pluginInformation`), requestBody, queryParams, signal, contentType);
  }
};
_PluginInformationStore.postApiPluginInformationAbortManager = new AbortControllersManager();
_PluginInformationStore.postApiPluginInformationThunk = createAsyncThunk("postApiPluginInformation", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _PluginInformationStore.postApiPluginInformationAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      pluginInformationStore.postApiPluginInformation(requestBody, queryParams, signal, contentType)
    );
    _PluginInformationStore.postApiPluginInformationAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _PluginInformationStore.postApiPluginInformationAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_PluginInformationStore.postApiPluginInformationUrlRegEx = new RegExp("/wp-json/rankingcoach/api/pluginInformation");
_PluginInformationStore.postApiPluginInformationUrlMockRequest = "/wp-json/rankingcoach/api/pluginInformation(.*)";
let PluginInformationStore = _PluginInformationStore;
const pluginInformationStore = new PluginInformationStore();
const _MetatagsStore = class _MetatagsStore extends HttpStore {
  /** 
  * Get MetaTags
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\ORM\Mapping\MappingException 
  */
  /** 
  * Get all MetaTags 
  * Get MetaTags
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\ORM\Mapping\MappingException 
  */
  getApiMetatagsByPostId(postId, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/metatags/${postId}`), queryParams, signal);
  }
  /** 
  * Save MetaTag Keywords 
  */
  /** 
  * Update or create all MetaTags 
  * Save MetaTag Keywords 
  */
  postApiMetatagsByPostId(postId, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/metatags/${postId}`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Save MetaTag Keywords
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\ORM\Mapping\MappingException 
  */
  /** 
  * Update or create all MetaTags 
  * Save MetaTag Keywords
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\ORM\Mapping\MappingException 
  */
  postApiMetatagsKeywordSwapByPostId(postId, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/metatags/${postId}/keyword/swap`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Save MetaTags Keyword 
  */
  /** 
  * Save MetaTags Keyword 
  * Save MetaTags Keyword 
  */
  putApiMetatagsKeywordByPostId(postId, requestBody, queryParams, signal) {
    return this.put(new EndPoint(`/wp-json/rankingcoach/api/metatags/${postId}/keyword`), requestBody, queryParams, signal);
  }
  /** 
  * Save MetaTags Keyword
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\ORM\Mapping\MappingException 
  */
  /** 
  * Remove MetaTags Keyword 
  * Save MetaTags Keyword
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\ORM\Mapping\MappingException 
  */
  deleteApiMetatagsKeywordByPostId(postId, requestBody, queryParams, signal) {
    return this.delete(new EndPoint(`/wp-json/rankingcoach/api/metatags/${postId}/keyword`), requestBody, queryParams, signal);
  }
  /** 
  * Retrieve Location Keywords
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\ORM\Mapping\MappingException 
  */
  /** 
  * Retrieve Location Keywords 
  * Retrieve Location Keywords
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\ORM\Mapping\MappingException 
  */
  getApiMetatagsKeywordsByPostId(postId, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/metatags/${postId}/keywords`), queryParams, signal);
  }
  /** 
  * Retrieve Keywords After Analyzing The Content 
  */
  /** 
  * Retrieve Content Keywords 
  * Retrieve Keywords After Analyzing The Content 
  */
  postApiMetatagsContentKeywordsByPostId(postId, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/metatags/${postId}/content/keywords`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Get Post Separator 
  */
  /** 
  * Get Post Separator 
  * Get Post Separator 
  */
  getApiMetatagsSeparatorByPostId(postId, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/metatags/${postId}/separator`), queryParams, signal);
  }
  /** 
  * Update Post Separator 
  */
  /** 
  * Update Post Separator 
  * Update Post Separator 
  */
  putApiMetatagsSeparatorByPostId(postId, requestBody, queryParams, signal) {
    return this.put(new EndPoint(`/wp-json/rankingcoach/api/metatags/${postId}/separator`), requestBody, queryParams, signal);
  }
};
_MetatagsStore.getApiMetatagsByPostIdAbortManager = new AbortControllersManager();
_MetatagsStore.getApiMetatagsByPostIdThunk = createAsyncThunk("getApiMetatagsByPostId", async ({ postId, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _MetatagsStore.getApiMetatagsByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      metatagsStore.getApiMetatagsByPostId(postId, queryParams, signal)
    );
    _MetatagsStore.getApiMetatagsByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _MetatagsStore.getApiMetatagsByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_MetatagsStore.getApiMetatagsByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/metatags/{postId}");
_MetatagsStore.getApiMetatagsByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/metatags/{postId}(.*)";
_MetatagsStore.postApiMetatagsByPostIdAbortManager = new AbortControllersManager();
_MetatagsStore.postApiMetatagsByPostIdThunk = createAsyncThunk("postApiMetatagsByPostId", async ({ postId, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _MetatagsStore.postApiMetatagsByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      metatagsStore.postApiMetatagsByPostId(postId, requestBody, queryParams, signal, contentType)
    );
    _MetatagsStore.postApiMetatagsByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _MetatagsStore.postApiMetatagsByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_MetatagsStore.postApiMetatagsByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/metatags/{postId}");
_MetatagsStore.postApiMetatagsByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/metatags/{postId}(.*)";
_MetatagsStore.postApiMetatagsKeywordSwapByPostIdAbortManager = new AbortControllersManager();
_MetatagsStore.postApiMetatagsKeywordSwapByPostIdThunk = createAsyncThunk("postApiMetatagsKeywordSwapByPostId", async ({ postId, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _MetatagsStore.postApiMetatagsKeywordSwapByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      metatagsStore.postApiMetatagsKeywordSwapByPostId(postId, requestBody, queryParams, signal, contentType)
    );
    _MetatagsStore.postApiMetatagsKeywordSwapByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _MetatagsStore.postApiMetatagsKeywordSwapByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_MetatagsStore.postApiMetatagsKeywordSwapByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/metatags/{postId}/keyword/swap");
_MetatagsStore.postApiMetatagsKeywordSwapByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/metatags/{postId}/keyword/swap(.*)";
_MetatagsStore.putApiMetatagsKeywordByPostIdAbortManager = new AbortControllersManager();
_MetatagsStore.putApiMetatagsKeywordByPostIdThunk = createAsyncThunk("putApiMetatagsKeywordByPostId", async ({ postId, requestBody, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _MetatagsStore.putApiMetatagsKeywordByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      metatagsStore.putApiMetatagsKeywordByPostId(postId, requestBody, queryParams, signal)
    );
    _MetatagsStore.putApiMetatagsKeywordByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _MetatagsStore.putApiMetatagsKeywordByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_MetatagsStore.putApiMetatagsKeywordByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/metatags/{postId}/keyword");
_MetatagsStore.putApiMetatagsKeywordByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/metatags/{postId}/keyword(.*)";
_MetatagsStore.deleteApiMetatagsKeywordByPostIdAbortManager = new AbortControllersManager();
_MetatagsStore.deleteApiMetatagsKeywordByPostIdThunk = createAsyncThunk("deleteApiMetatagsKeywordByPostId", async ({ postId, requestBody, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _MetatagsStore.deleteApiMetatagsKeywordByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      metatagsStore.deleteApiMetatagsKeywordByPostId(postId, requestBody, queryParams, signal)
    );
    _MetatagsStore.deleteApiMetatagsKeywordByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _MetatagsStore.deleteApiMetatagsKeywordByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_MetatagsStore.deleteApiMetatagsKeywordByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/metatags/{postId}/keyword");
_MetatagsStore.deleteApiMetatagsKeywordByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/metatags/{postId}/keyword(.*)";
_MetatagsStore.getApiMetatagsKeywordsByPostIdAbortManager = new AbortControllersManager();
_MetatagsStore.getApiMetatagsKeywordsByPostIdThunk = createAsyncThunk("getApiMetatagsKeywordsByPostId", async ({ postId, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _MetatagsStore.getApiMetatagsKeywordsByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      metatagsStore.getApiMetatagsKeywordsByPostId(postId, queryParams, signal)
    );
    _MetatagsStore.getApiMetatagsKeywordsByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _MetatagsStore.getApiMetatagsKeywordsByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_MetatagsStore.getApiMetatagsKeywordsByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/metatags/{postId}/keywords");
_MetatagsStore.getApiMetatagsKeywordsByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/metatags/{postId}/keywords(.*)";
_MetatagsStore.postApiMetatagsContentKeywordsByPostIdAbortManager = new AbortControllersManager();
_MetatagsStore.postApiMetatagsContentKeywordsByPostIdThunk = createAsyncThunk("postApiMetatagsContentKeywordsByPostId", async ({ postId, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _MetatagsStore.postApiMetatagsContentKeywordsByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      metatagsStore.postApiMetatagsContentKeywordsByPostId(postId, requestBody, queryParams, signal, contentType)
    );
    _MetatagsStore.postApiMetatagsContentKeywordsByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _MetatagsStore.postApiMetatagsContentKeywordsByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_MetatagsStore.postApiMetatagsContentKeywordsByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/metatags/{postId}/content/keywords");
_MetatagsStore.postApiMetatagsContentKeywordsByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/metatags/{postId}/content/keywords(.*)";
_MetatagsStore.getApiMetatagsSeparatorByPostIdAbortManager = new AbortControllersManager();
_MetatagsStore.getApiMetatagsSeparatorByPostIdThunk = createAsyncThunk("getApiMetatagsSeparatorByPostId", async ({ postId, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _MetatagsStore.getApiMetatagsSeparatorByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      metatagsStore.getApiMetatagsSeparatorByPostId(postId, queryParams, signal)
    );
    _MetatagsStore.getApiMetatagsSeparatorByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _MetatagsStore.getApiMetatagsSeparatorByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_MetatagsStore.getApiMetatagsSeparatorByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/metatags/{postId}/separator");
_MetatagsStore.getApiMetatagsSeparatorByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/metatags/{postId}/separator(.*)";
_MetatagsStore.putApiMetatagsSeparatorByPostIdAbortManager = new AbortControllersManager();
_MetatagsStore.putApiMetatagsSeparatorByPostIdThunk = createAsyncThunk("putApiMetatagsSeparatorByPostId", async ({ postId, requestBody, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _MetatagsStore.putApiMetatagsSeparatorByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      metatagsStore.putApiMetatagsSeparatorByPostId(postId, requestBody, queryParams, signal)
    );
    _MetatagsStore.putApiMetatagsSeparatorByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _MetatagsStore.putApiMetatagsSeparatorByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_MetatagsStore.putApiMetatagsSeparatorByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/metatags/{postId}/separator");
_MetatagsStore.putApiMetatagsSeparatorByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/metatags/{postId}/separator(.*)";
let MetatagsStore = _MetatagsStore;
const metatagsStore = new MetatagsStore();
const _OptimiserStore = class _OptimiserStore extends HttpStore {
  /** 
  * Extract SEO data 
  */
  /** 
  * Extract SEO Data 
  * Extract SEO data 
  */
  getApiOptimiserDataByPostId(postId, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/optimiser/${postId}/data`), queryParams, signal);
  }
  /** 
  * Retrieve the SEO Optimiser 
  */
  /** 
  * Retrieve SEO Optimiser 
  * Retrieve the SEO Optimiser 
  */
  getApiOptimiserByPostId(postId, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/optimiser/${postId}`), queryParams, signal);
  }
  /** 
  * Process the SEO Optimizer 
  */
  /** 
  * Proceed SEO Optimiser 
  * Process the SEO Optimizer 
  */
  postApiOptimiserByPostId(postId, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/optimiser/${postId}`), requestBody, queryParams, signal, contentType);
  }
};
_OptimiserStore.getApiOptimiserDataByPostIdAbortManager = new AbortControllersManager();
_OptimiserStore.getApiOptimiserDataByPostIdThunk = createAsyncThunk("getApiOptimiserDataByPostId", async ({ postId, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OptimiserStore.getApiOptimiserDataByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      optimiserStore.getApiOptimiserDataByPostId(postId, queryParams, signal)
    );
    _OptimiserStore.getApiOptimiserDataByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OptimiserStore.getApiOptimiserDataByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OptimiserStore.getApiOptimiserDataByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/optimiser/{postId}/data");
_OptimiserStore.getApiOptimiserDataByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/optimiser/{postId}/data(.*)";
_OptimiserStore.getApiOptimiserByPostIdAbortManager = new AbortControllersManager();
_OptimiserStore.getApiOptimiserByPostIdThunk = createAsyncThunk("getApiOptimiserByPostId", async ({ postId, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OptimiserStore.getApiOptimiserByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      optimiserStore.getApiOptimiserByPostId(postId, queryParams, signal)
    );
    _OptimiserStore.getApiOptimiserByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OptimiserStore.getApiOptimiserByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OptimiserStore.getApiOptimiserByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/optimiser/{postId}");
_OptimiserStore.getApiOptimiserByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/optimiser/{postId}(.*)";
_OptimiserStore.postApiOptimiserByPostIdAbortManager = new AbortControllersManager();
_OptimiserStore.postApiOptimiserByPostIdThunk = createAsyncThunk("postApiOptimiserByPostId", async ({ postId, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OptimiserStore.postApiOptimiserByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      optimiserStore.postApiOptimiserByPostId(postId, requestBody, queryParams, signal, contentType)
    );
    _OptimiserStore.postApiOptimiserByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OptimiserStore.postApiOptimiserByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OptimiserStore.postApiOptimiserByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/optimiser/{postId}");
_OptimiserStore.postApiOptimiserByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/optimiser/{postId}(.*)";
let OptimiserStore = _OptimiserStore;
const optimiserStore = new OptimiserStore();
const _OnboardingStore = class _OnboardingStore extends HttpStore {
  /** 
  * Save onboarding data 
  */
  /** 
  * Save onboarding data on completion 
  * Save onboarding data 
  */
  postApiOnboardingSubmitOnboarding(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/onboarding/submitOnboarding`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Scan all posts and pages 
  */
  /** 
  * Scan all posts and pages 
  * Scan all posts and pages 
  */
  postApiOnboardingScanPages(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/onboarding/scanPages`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Generate flow steps
  * @throws \BeyondSEODeps\Doctrine\Persistence\Mapping\MappingException
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\DBAL\Exception 
  */
  /** 
  * Generate flow steps 
  * Generate flow steps
  * @throws \BeyondSEODeps\Doctrine\Persistence\Mapping\MappingException
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\DBAL\Exception 
  */
  postApiOnboardingGenerateSteps(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/onboarding/generateSteps`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Extract onboarding information automatically
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\DBAL\Exception
  * @throws \BeyondSEODeps\Doctrine\Persistence\Mapping\MappingException 
  */
  /** 
  * Extract onboarding information automatically 
  * Extract onboarding information automatically
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\DBAL\Exception
  * @throws \BeyondSEODeps\Doctrine\Persistence\Mapping\MappingException 
  */
  postApiOnboardingExtractAuto(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/onboarding/extractAuto`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Save answer data from a step's question 
  */
  /** 
  * Save completion data from a specific step 
  * Save answer data from a step's question 
  */
  postApiOnboardingSubmitStepAnswer(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/onboarding/submitStepAnswer`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Retrieves a step by its unique ID. 
  */
  /** 
  * Get a step by step id 
  * Retrieves a step by its unique ID. 
  */
  postApiOnboardingGetStep(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/onboarding/getStep`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Retrieves all prefilled requirements 
  */
  /** 
  * Get all prefilled requirements 
  * Retrieves all prefilled requirements 
  */
  getApiOnboardingRequirements(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/onboarding/requirements`), queryParams, signal);
  }
  /** 
  * Create requirement
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\DBAL\Exception|\BeyondSEODeps\Doctrine\Persistence\Mapping\MappingException 
  */
  /** 
  * create requirement 
  * Create requirement
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\DBAL\Exception|\BeyondSEODeps\Doctrine\Persistence\Mapping\MappingException 
  */
  postApiOnboardingRequirements(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/onboarding/requirements`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Update a requirement
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\DBAL\Exception
  * @throws \BeyondSEODeps\Doctrine\Persistence\Mapping\MappingException 
  */
  /** 
  * Update a requirement 
  * Update a requirement
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * 
  * @throws \BeyondSEODeps\Doctrine\DBAL\Exception
  * @throws \BeyondSEODeps\Doctrine\Persistence\Mapping\MappingException 
  */
  putApiOnboardingRequirementsByRequirementId(requirementId, requestBody, queryParams, signal) {
    return this.put(new EndPoint(`/wp-json/rankingcoach/api/onboarding/requirements/${requirementId}`), requestBody, queryParams, signal);
  }
  /** 
  * Search categories 
  */
  /** 
  * Categories search 
  * Search categories 
  */
  getApiOnboardingCategories(queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/onboarding/categories`), queryParams, signal);
  }
  /** 
  * Get location suggestions based on address input 
  */
  /** 
  * Get location suggestions for onboarding 
  * Get location suggestions based on address input 
  */
  postApiOnboardingLocationSuggestions(requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/onboarding/location/suggestions`), requestBody, queryParams, signal, contentType);
  }
};
_OnboardingStore.postApiOnboardingSubmitOnboardingAbortManager = new AbortControllersManager();
_OnboardingStore.postApiOnboardingSubmitOnboardingThunk = createAsyncThunk("postApiOnboardingSubmitOnboarding", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.postApiOnboardingSubmitOnboardingAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.postApiOnboardingSubmitOnboarding(requestBody, queryParams, signal, contentType)
    );
    _OnboardingStore.postApiOnboardingSubmitOnboardingAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.postApiOnboardingSubmitOnboardingAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.postApiOnboardingSubmitOnboardingUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/submitOnboarding");
_OnboardingStore.postApiOnboardingSubmitOnboardingUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/submitOnboarding(.*)";
_OnboardingStore.postApiOnboardingScanPagesAbortManager = new AbortControllersManager();
_OnboardingStore.postApiOnboardingScanPagesThunk = createAsyncThunk("postApiOnboardingScanPages", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.postApiOnboardingScanPagesAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.postApiOnboardingScanPages(requestBody, queryParams, signal, contentType)
    );
    _OnboardingStore.postApiOnboardingScanPagesAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.postApiOnboardingScanPagesAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.postApiOnboardingScanPagesUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/scanPages");
_OnboardingStore.postApiOnboardingScanPagesUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/scanPages(.*)";
_OnboardingStore.postApiOnboardingGenerateStepsAbortManager = new AbortControllersManager();
_OnboardingStore.postApiOnboardingGenerateStepsThunk = createAsyncThunk("postApiOnboardingGenerateSteps", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.postApiOnboardingGenerateStepsAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.postApiOnboardingGenerateSteps(requestBody, queryParams, signal, contentType)
    );
    _OnboardingStore.postApiOnboardingGenerateStepsAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.postApiOnboardingGenerateStepsAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.postApiOnboardingGenerateStepsUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/generateSteps");
_OnboardingStore.postApiOnboardingGenerateStepsUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/generateSteps(.*)";
_OnboardingStore.postApiOnboardingExtractAutoAbortManager = new AbortControllersManager();
_OnboardingStore.postApiOnboardingExtractAutoThunk = createAsyncThunk("postApiOnboardingExtractAuto", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.postApiOnboardingExtractAutoAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.postApiOnboardingExtractAuto(requestBody, queryParams, signal, contentType)
    );
    _OnboardingStore.postApiOnboardingExtractAutoAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.postApiOnboardingExtractAutoAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.postApiOnboardingExtractAutoUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/extractAuto");
_OnboardingStore.postApiOnboardingExtractAutoUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/extractAuto(.*)";
_OnboardingStore.postApiOnboardingSubmitStepAnswerAbortManager = new AbortControllersManager();
_OnboardingStore.postApiOnboardingSubmitStepAnswerThunk = createAsyncThunk("postApiOnboardingSubmitStepAnswer", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.postApiOnboardingSubmitStepAnswerAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.postApiOnboardingSubmitStepAnswer(requestBody, queryParams, signal, contentType)
    );
    _OnboardingStore.postApiOnboardingSubmitStepAnswerAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.postApiOnboardingSubmitStepAnswerAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.postApiOnboardingSubmitStepAnswerUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/submitStepAnswer");
_OnboardingStore.postApiOnboardingSubmitStepAnswerUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/submitStepAnswer(.*)";
_OnboardingStore.postApiOnboardingGetStepAbortManager = new AbortControllersManager();
_OnboardingStore.postApiOnboardingGetStepThunk = createAsyncThunk("postApiOnboardingGetStep", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.postApiOnboardingGetStepAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.postApiOnboardingGetStep(requestBody, queryParams, signal, contentType)
    );
    _OnboardingStore.postApiOnboardingGetStepAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.postApiOnboardingGetStepAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.postApiOnboardingGetStepUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/getStep");
_OnboardingStore.postApiOnboardingGetStepUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/getStep(.*)";
_OnboardingStore.getApiOnboardingRequirementsAbortManager = new AbortControllersManager();
_OnboardingStore.getApiOnboardingRequirementsThunk = createAsyncThunk("getApiOnboardingRequirements", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.getApiOnboardingRequirementsAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.getApiOnboardingRequirements(queryParams, signal)
    );
    _OnboardingStore.getApiOnboardingRequirementsAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.getApiOnboardingRequirementsAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.getApiOnboardingRequirementsUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/requirements");
_OnboardingStore.getApiOnboardingRequirementsUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/requirements(.*)";
_OnboardingStore.postApiOnboardingRequirementsAbortManager = new AbortControllersManager();
_OnboardingStore.postApiOnboardingRequirementsThunk = createAsyncThunk("postApiOnboardingRequirements", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.postApiOnboardingRequirementsAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.postApiOnboardingRequirements(requestBody, queryParams, signal, contentType)
    );
    _OnboardingStore.postApiOnboardingRequirementsAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.postApiOnboardingRequirementsAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.postApiOnboardingRequirementsUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/requirements");
_OnboardingStore.postApiOnboardingRequirementsUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/requirements(.*)";
_OnboardingStore.putApiOnboardingRequirementsByRequirementIdAbortManager = new AbortControllersManager();
_OnboardingStore.putApiOnboardingRequirementsByRequirementIdThunk = createAsyncThunk("putApiOnboardingRequirementsByRequirementId", async ({ requirementId, requestBody, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.putApiOnboardingRequirementsByRequirementIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.putApiOnboardingRequirementsByRequirementId(requirementId, requestBody, queryParams, signal)
    );
    _OnboardingStore.putApiOnboardingRequirementsByRequirementIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.putApiOnboardingRequirementsByRequirementIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.putApiOnboardingRequirementsByRequirementIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/requirements/{requirementId}");
_OnboardingStore.putApiOnboardingRequirementsByRequirementIdUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/requirements/{requirementId}(.*)";
_OnboardingStore.getApiOnboardingCategoriesAbortManager = new AbortControllersManager();
_OnboardingStore.getApiOnboardingCategoriesThunk = createAsyncThunk("getApiOnboardingCategories", async (queryParams, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.getApiOnboardingCategoriesAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.getApiOnboardingCategories(queryParams, signal)
    );
    _OnboardingStore.getApiOnboardingCategoriesAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.getApiOnboardingCategoriesAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.getApiOnboardingCategoriesUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/categories");
_OnboardingStore.getApiOnboardingCategoriesUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/categories(.*)";
_OnboardingStore.postApiOnboardingLocationSuggestionsAbortManager = new AbortControllersManager();
_OnboardingStore.postApiOnboardingLocationSuggestionsThunk = createAsyncThunk("postApiOnboardingLocationSuggestions", async ({ requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _OnboardingStore.postApiOnboardingLocationSuggestionsAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      onboardingStore.postApiOnboardingLocationSuggestions(requestBody, queryParams, signal, contentType)
    );
    _OnboardingStore.postApiOnboardingLocationSuggestionsAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _OnboardingStore.postApiOnboardingLocationSuggestionsAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_OnboardingStore.postApiOnboardingLocationSuggestionsUrlRegEx = new RegExp("/wp-json/rankingcoach/api/onboarding/location/suggestions");
_OnboardingStore.postApiOnboardingLocationSuggestionsUrlMockRequest = "/wp-json/rankingcoach/api/onboarding/location/suggestions(.*)";
let OnboardingStore = _OnboardingStore;
const onboardingStore = new OnboardingStore();
const initialState = {
  appLoadedModalId: "",
  plugin: void 0,
  isPluginDataLoaded: false,
  isMetaTagsDataLoaded: false,
  isFetchingPluginData: false,
  metaTagsData: void 0,
  seoTitle: "",
  seoDescription: "",
  previewTitle: "",
  previewDescription: "",
  parsedTitle: null,
  parsedDescription: null,
  seoKeywords: null,
  currentPost: null,
  currentPostStatus: null,
  isCurrentPostLoaded: false,
  isFetchingPostData: false,
  primaryKeyword: "",
  additionalKeywords: [],
  error: null,
  onboardAccountKeywords: null,
  postSeoOptimiserLoading: void 0,
  postSeoOptimiser: void 0,
  postSeoOptimiserKeywords: void 0,
  hasValidSEOKeywords: void 0,
  // Schema Markup
  schemaMarkup: void 0,
  // Advanced Settings
  noIndexForPage: false,
  excludeSitemapForPage: false,
  disableAutoLinks: false,
  canonicalUrl: "",
  viewportForPage: false,
  //
  optimiserResult: null,
  // Breadcrumbs
  breadcrumbsData: null,
  isBreadcrumbsLoaded: false,
  // Onboarding
  onboardingSteps: void 0,
  isGeneratingOnboardingSteps: false,
  onboardingError: null
};
const G = new ReduxGenerator();
const appSlice = createSlice({
  name: "app",
  initialState,
  reducers: {
    ...G.genAll(initialState),
    setAppLoadedModalId: (state, action) => {
      state.appLoadedModalId = action.payload;
    },
    setParsedTitle: (state, action) => {
      state.parsedTitle = action.payload;
    },
    setParsedDescription: (state, action) => {
      state.parsedDescription = action.payload;
    },
    setBreadcrumbsData: (state, action) => {
      state.breadcrumbsData = action.payload;
      state.isBreadcrumbsLoaded = true;
    }
  },
  extraReducers: (builder) => {
    builder.addCase(MetatagsStore.postApiMetatagsContentKeywordsByPostIdThunk.fulfilled, (state, action) => {
      var _a2, _b2, _c, _d;
      state.postSeoOptimiser = action.payload;
      state.postSeoOptimiserLoading = false;
      state.hasValidSEOKeywords = false;
      state.postSeoOptimiserKeywords = state.postSeoOptimiser.keywords;
      if (((_a2 = state.postSeoOptimiserKeywords) == null ? void 0 : _a2.primaryKeywordFromExisting) && ((_b2 = state.postSeoOptimiserKeywords) == null ? void 0 : _b2.primaryKeywordFromExisting.name) || ((_c = state.postSeoOptimiserKeywords) == null ? void 0 : _c.primaryKeywordFromContent) && ((_d = state.postSeoOptimiserKeywords) == null ? void 0 : _d.primaryKeywordFromContent.name)) {
        state.hasValidSEOKeywords = true;
      }
    });
    builder.addCase(MetatagsStore.postApiMetatagsContentKeywordsByPostIdThunk.rejected, (state, action) => {
      state.hasValidSEOKeywords = false;
      state.postSeoOptimiserLoading = false;
    });
    builder.addCase(MetatagsStore.postApiMetatagsContentKeywordsByPostIdThunk.pending, (state, action) => {
      state.hasValidSEOKeywords = false;
      state.postSeoOptimiserLoading = true;
    });
    builder.addCase(PluginInformationStore.postApiPluginInformationThunk.fulfilled, (state, action) => {
      state.plugin = action.payload;
      state.isPluginDataLoaded = true;
      state.isFetchingPluginData = false;
    });
    builder.addCase(PluginInformationStore.postApiPluginInformationThunk.rejected, (state, action) => {
      state.isPluginDataLoaded = true;
      state.isFetchingPluginData = false;
    });
    builder.addCase(PluginInformationStore.postApiPluginInformationThunk.pending, (state, action) => {
      state.isPluginDataLoaded = false;
      state.isFetchingPluginData = true;
    });
    builder.addCase(MetatagsStore.deleteApiMetatagsKeywordByPostIdThunk.fulfilled, (state, action) => {
      var _a2, _b2, _c, _d;
      state.isMetaTagsDataLoaded = true;
      state.metaTagsData = action.payload;
      state.seoTitle = ((_a2 = action.payload.title) == null ? void 0 : _a2.content) ?? null;
      state.seoDescription = ((_b2 = action.payload.description) == null ? void 0 : _b2.content) ?? null;
      state.seoKeywords = action.payload.keywords ?? null;
      state.primaryKeyword = ((_c = state.seoKeywords) == null ? void 0 : _c.primaryKeyword) ?? "";
      state.additionalKeywords = ((_d = state.seoKeywords) == null ? void 0 : _d.additionalKeywords) ?? [];
    });
    builder.addCase(MetatagsStore.deleteApiMetatagsKeywordByPostIdThunk.rejected, (state, action) => {
      state.isMetaTagsDataLoaded = false;
    });
    builder.addCase(MetatagsStore.deleteApiMetatagsKeywordByPostIdThunk.pending, (state, action) => {
      state.isMetaTagsDataLoaded = false;
    });
    builder.addCase(MetatagsStore.postApiMetatagsKeywordSwapByPostIdThunk.fulfilled, (state, action) => {
      var _a2, _b2, _c, _d;
      state.metaTagsData = action.payload;
      state.seoTitle = ((_a2 = action.payload.title) == null ? void 0 : _a2.content) ?? null;
      state.seoDescription = ((_b2 = action.payload.description) == null ? void 0 : _b2.content) ?? null;
      state.seoKeywords = action.payload.keywords ?? null;
      state.primaryKeyword = ((_c = state.seoKeywords) == null ? void 0 : _c.primaryKeyword) ?? "";
      state.additionalKeywords = ((_d = state.seoKeywords) == null ? void 0 : _d.additionalKeywords) ?? [];
    });
    builder.addCase(MetatagsStore.postApiMetatagsKeywordSwapByPostIdThunk.rejected, (state, action) => {
    });
    builder.addCase(MetatagsStore.postApiMetatagsKeywordSwapByPostIdThunk.pending, (state, action) => {
    });
    builder.addCase(MetatagsStore.getApiMetatagsByPostIdThunk.fulfilled, (state, action) => {
      var _a2, _b2, _c, _d, _e, _f;
      state.isMetaTagsDataLoaded = true;
      state.metaTagsData = action.payload;
      state.parsedTitle = ((_a2 = action.payload.title) == null ? void 0 : _a2.parsed) ?? null;
      state.parsedDescription = ((_b2 = action.payload.description) == null ? void 0 : _b2.parsed) ?? null;
      if (state.parsedTitle) {
        state.previewTitle = state.parsedTitle;
      } else {
        action.payload.title ? {
          ...action.payload.title
        } : null;
      }
      if (state.parsedDescription) {
        state.previewDescription = state.parsedDescription;
      }
      state.seoTitle = ((_c = action.payload.title) == null ? void 0 : _c.content) ?? null;
      state.seoDescription = ((_d = action.payload.description) == null ? void 0 : _d.content) ?? null;
      state.seoKeywords = action.payload.keywords ?? null;
      state.primaryKeyword = ((_e = state.seoKeywords) == null ? void 0 : _e.primaryKeyword) ?? "";
      state.additionalKeywords = ((_f = state.seoKeywords) == null ? void 0 : _f.additionalKeywords) ?? [];
    });
    builder.addCase(MetatagsStore.getApiMetatagsByPostIdThunk.rejected, (state, action) => {
    });
    builder.addCase(MetatagsStore.getApiMetatagsByPostIdThunk.pending, (state, action) => {
    });
    builder.addCase(MetatagsStore.postApiMetatagsByPostIdThunk.fulfilled, (state, action) => {
      var _a2, _b2, _c, _d;
      state.metaTagsData = action.payload;
      state.seoTitle = ((_a2 = action.payload.title) == null ? void 0 : _a2.content) ?? null;
      state.seoDescription = ((_b2 = action.payload.description) == null ? void 0 : _b2.content) ?? null;
      state.seoKeywords = action.payload.keywords ?? null;
      state.primaryKeyword = ((_c = state.seoKeywords) == null ? void 0 : _c.primaryKeyword) ?? "";
      state.additionalKeywords = ((_d = state.seoKeywords) == null ? void 0 : _d.additionalKeywords) ?? [];
    });
    builder.addCase(MetatagsStore.postApiMetatagsByPostIdThunk.rejected, (state, action) => {
    });
    builder.addCase(MetatagsStore.postApiMetatagsByPostIdThunk.pending, (state, action) => {
    });
    builder.addCase(SeoStore.getRankingcoachSeoLocationKeywordsThunk.fulfilled, (state, action) => {
      state.onboardAccountKeywords = useMapLocationKeywords(action.payload.response.location.keywords.elements);
    });
    builder.addCase(SeoStore.getRankingcoachSeoLocationKeywordsThunk.rejected, (state, action) => {
    });
    builder.addCase(SeoStore.getRankingcoachSeoLocationKeywordsThunk.pending, (state, action) => {
    });
    builder.addCase(SeoStore.getRankingcoachSeoSchemaMarkupByIdThunk.fulfilled, (state, action) => {
      state.schemaMarkup = action.payload.response;
    });
    builder.addCase(SeoStore.postRankingcoachSeoSchemaMarkupSaveByIdThunk.fulfilled, (state, action) => {
      state.schemaMarkup = action.payload.response;
    });
    builder.addCase(OptimiserStore.getApiOptimiserByPostIdThunk.fulfilled, (state, action) => {
      state.optimiserResult = action.payload.analyseResult;
    });
    builder.addCase(OptimiserStore.postApiOptimiserByPostIdThunk.fulfilled, (state, action) => {
      state.optimiserResult = action.payload.analyseResult;
    });
    builder.addCase(OnboardingStore.postApiOnboardingGenerateStepsThunk.fulfilled, (state, action) => {
      state.onboardingSteps = action.payload;
      state.isGeneratingOnboardingSteps = false;
      state.onboardingError = null;
    });
    builder.addCase(OnboardingStore.postApiOnboardingGenerateStepsThunk.rejected, (state, action) => {
      state.onboardingError = action.payload;
      state.isGeneratingOnboardingSteps = false;
    });
    builder.addCase(OnboardingStore.postApiOnboardingGenerateStepsThunk.pending, (state) => {
      state.isGeneratingOnboardingSteps = true;
      state.onboardingError = null;
    });
  }
});
const AppSlice = appSlice.actions;
const AppReducer = appSlice.reducer;
const postSlice = createSlice({
  name: "post",
  initialState,
  reducers: {},
  extraReducers: (builder) => {
    builder.addCase(fetchPost.pending, (state) => {
      state.isFetchingPostData = true;
      state.isCurrentPostLoaded = false;
      state.error = null;
    }).addCase(fetchPost.fulfilled, (state, action) => {
      state.isFetchingPostData = false;
      state.currentPost = action.payload;
      state.isCurrentPostLoaded = true;
      state.currentPostStatus = action.payload.status;
    }).addCase(fetchPost.rejected, (state, action) => {
      state.isFetchingPostData = true;
      state.isCurrentPostLoaded = false;
      state.error = true;
    });
  }
});
const PostReducer = postSlice.reducer;
const ScoreRecalculationContext = reactExports.createContext(void 0);
const useScoreRecalculation = () => {
  const context = reactExports.useContext(ScoreRecalculationContext);
  if (!context) {
    throw new Error("useScoreRecalculation must be used within ScoreRecalculationProvider");
  }
  return context;
};
const ScoreRecalculationProvider = ({
  children,
  onRecalculationStart,
  onRecalculationComplete
}) => {
  const dispatch = useAppDispatch();
  const [isRecalculating, setIsRecalculating] = reactExports.useState(false);
  const debounceTimeoutRef = reactExports.useRef(null);
  const immediateTimeoutRef = reactExports.useRef(null);
  const performRecalculation = reactExports.useCallback(async () => {
    if (isRecalculating) return;
    try {
      setIsRecalculating(true);
      onRecalculationStart == null ? void 0 : onRecalculationStart();
      const apiResponse = await dispatch(
        OptimiserStore.postApiOptimiserByPostIdThunk({
          postId: getPathId(),
          requestBody: null,
          queryParams: { noCache: true }
        })
      );
      const event = new CustomEvent("rankingcoach-score-recalculated", {
        detail: {
          timestamp: Date.now(),
          apiResponse
        }
      });
      document.dispatchEvent(event);
      onRecalculationComplete == null ? void 0 : onRecalculationComplete();
    } catch (error) {
      const errorEvent = new CustomEvent("rankingcoach-score-recalculated", {
        detail: {
          timestamp: Date.now(),
          error
        }
      });
      document.dispatchEvent(errorEvent);
    } finally {
      setIsRecalculating(false);
    }
  }, [dispatch, isRecalculating, onRecalculationStart, onRecalculationComplete]);
  const triggerRecalculation = reactExports.useCallback((immediate = false) => {
    if (debounceTimeoutRef.current) {
      clearTimeout(debounceTimeoutRef.current);
      debounceTimeoutRef.current = null;
    }
    if (immediateTimeoutRef.current) {
      clearTimeout(immediateTimeoutRef.current);
      immediateTimeoutRef.current = null;
    }
    if (immediate) {
      immediateTimeoutRef.current = setTimeout(() => {
        performRecalculation().then((r) => r);
      }, 500);
    } else {
      debounceTimeoutRef.current = setTimeout(() => {
        performRecalculation().then((r) => r);
      }, 2e3);
    }
  }, [performRecalculation]);
  reactExports.useEffect(() => {
    const isGutenberg = typeof wp !== "undefined" && wp.data && wp.data.select("core/editor");
    if (isGutenberg) {
      const { select, subscribe } = wp.data;
      let wasSaving = false;
      let previousTitle = "";
      let previousSlug = "";
      let currentPost = null;
      const initializeTracking = () => {
        var _a2, _b2;
        const post = (_a2 = select("core/editor")) == null ? void 0 : _a2.getCurrentPost();
        if (post) {
          currentPost = post;
          previousSlug = ((_b2 = select("core/editor")) == null ? void 0 : _b2.getEditedPostAttribute("slug")) || "";
        }
      };
      initializeTracking();
      const unsubscribe = subscribe(() => {
        var _a2, _b2, _c, _d, _e;
        const isSaving = ((_a2 = select("core/editor")) == null ? void 0 : _a2.isSavingPost()) ?? false;
        const didSaveSucceed = (_b2 = select("core/editor")) == null ? void 0 : _b2.didPostSaveRequestSucceed();
        const currentTitle = ((_c = select("core/editor")) == null ? void 0 : _c.getEditedPostAttribute("title")) || "";
        ((_d = select("core/editor")) == null ? void 0 : _d.getEditedPostContent()) || "";
        const currentSlug = ((_e = select("core/editor")) == null ? void 0 : _e.getEditedPostAttribute("slug")) || "";
        if (wasSaving && !isSaving && didSaveSucceed) {
          triggerRecalculation(true);
        }
        if (currentSlug !== previousSlug && previousSlug !== "") {
          let newUrl = "";
          if (currentPost == null ? void 0 : currentPost.link) {
            const savedSlug = currentPost.slug;
            newUrl = currentPost.link.replace(
              new RegExp(`/${savedSlug}(/|\\?|$)`),
              `/${currentSlug}$1`
            );
          }
          const slugChangeEvent = new CustomEvent("rankingcoach-slug-changed", {
            detail: {
              timestamp: Date.now(),
              oldSlug: previousSlug,
              newSlug: currentSlug,
              newUrl
            }
          });
          document.dispatchEvent(slugChangeEvent);
          triggerRecalculation(true);
          previousSlug = currentSlug;
        } else if (previousSlug === "") {
          previousSlug = currentSlug;
        }
        if (currentTitle !== previousTitle) {
          if (previousTitle !== "") {
            triggerRecalculation(false);
          }
          previousTitle = currentTitle;
        }
        wasSaving = isSaving;
      });
      return () => unsubscribe();
    } else {
      const slugInput = document.querySelector("#post_name");
      const permalinkEl = document.querySelector("#sample-permalink");
      if (slugInput && permalinkEl) {
        let previousSlug = slugInput.value;
        const observer = new MutationObserver(() => {
          const newSlug = slugInput.value;
          const newPermalink = permalinkEl.textContent || permalinkEl.innerText || "";
          if (newSlug !== previousSlug && previousSlug !== "") {
            const oldSlugMatch = newPermalink.match(/\/([^\/?#]+)(\/|\?|$)/);
            const oldSlug = oldSlugMatch ? oldSlugMatch[1] : null;
            let newUrl = "";
            if (oldSlug && newPermalink.includes(oldSlug)) {
              newUrl = newPermalink.replace(new RegExp(`/${oldSlug}(/|\\?|$)`), `/${newSlug}$1`);
            }
            const slugChangeEvent = new CustomEvent("rankingcoach-slug-changed", {
              detail: {
                timestamp: Date.now(),
                oldSlug: previousSlug,
                newSlug,
                newUrl
              }
            });
            document.dispatchEvent(slugChangeEvent);
            triggerRecalculation(true);
            previousSlug = newSlug;
          } else if (previousSlug === "") {
            previousSlug = newSlug;
          }
        });
        observer.observe(permalinkEl, { childList: true, subtree: true });
        observer.observe(slugInput, { attributes: true, childList: true, subtree: true });
        return () => observer.disconnect();
      }
    }
  }, [triggerRecalculation]);
  reactExports.useEffect(() => {
    const handleElementorSave = (event) => {
      console.log("[RankingCoach] Elementor save detected, triggering score recalculation");
      triggerRecalculation(true);
    };
    document.addEventListener("rankingcoach-elementor-saved", handleElementorSave);
    return () => {
      document.removeEventListener("rankingcoach-elementor-saved", handleElementorSave);
    };
  }, [triggerRecalculation]);
  reactExports.useEffect(() => {
    return () => {
      if (debounceTimeoutRef.current) {
        clearTimeout(debounceTimeoutRef.current);
      }
      if (immediateTimeoutRef.current) {
        clearTimeout(immediateTimeoutRef.current);
      }
    };
  }, []);
  const value = reactExports.useMemo(() => ({
    triggerRecalculation,
    isRecalculating
  }), [triggerRecalculation, isRecalculating]);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ScoreRecalculationContext.Provider, { value, children });
};
const useSlugChangeRecalculation = () => {
  const { triggerRecalculation, isRecalculating } = useScoreRecalculation();
  reactExports.useEffect(() => {
    const handleSlugChange = (event) => {
      const { newSlug, oldSlug } = event.detail;
      triggerRecalculation(true);
    };
    document.addEventListener("rankingcoach-slug-changed", handleSlugChange);
    return () => {
      document.removeEventListener("rankingcoach-slug-changed", handleSlugChange);
    };
  }, [triggerRecalculation]);
  return {
    isRecalculating,
    triggerRecalculation
  };
};
function memize(fn, options) {
  var size = 0;
  var head;
  var tail;
  options = options || {};
  function memoized() {
    var node = head, len = arguments.length, args, i;
    searchCache: while (node) {
      if (node.args.length !== arguments.length) {
        node = node.next;
        continue;
      }
      for (i = 0; i < len; i++) {
        if (node.args[i] !== arguments[i]) {
          node = node.next;
          continue searchCache;
        }
      }
      if (node !== head) {
        if (node === tail) {
          tail = node.prev;
        }
        node.prev.next = node.next;
        if (node.next) {
          node.next.prev = node.prev;
        }
        node.next = head;
        node.prev = null;
        head.prev = node;
        head = node;
      }
      return node.val;
    }
    args = new Array(len);
    for (i = 0; i < len; i++) {
      args[i] = arguments[i];
    }
    node = {
      args,
      // Generate the result from original function
      val: fn.apply(null, args)
    };
    if (head) {
      head.prev = node;
      node.next = head;
    } else {
      tail = node;
    }
    if (size === /** @type {MemizeOptions} */
    options.maxSize) {
      tail = /** @type {MemizeCacheNode} */
      tail.prev;
      tail.next = null;
    } else {
      size++;
    }
    head = node;
    return node.val;
  }
  memoized.clear = function() {
    head = null;
    tail = null;
    size = 0;
  };
  return memoized;
}
var sprintf$1 = {};
var hasRequiredSprintf;
function requireSprintf() {
  if (hasRequiredSprintf) return sprintf$1;
  hasRequiredSprintf = 1;
  (function(exports) {
    !(function() {
      var re = {
        not_type: /[^T]/,
        not_primitive: /[^v]/,
        number: /[diefg]/,
        numeric_arg: /[bcdiefguxX]/,
        json: /[j]/,
        text: /^[^\x25]+/,
        modulo: /^\x25{2}/,
        placeholder: /^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,
        key: /^([a-z_][a-z_\d]*)/i,
        key_access: /^\.([a-z_][a-z_\d]*)/i,
        index_access: /^\[(\d+)\]/,
        sign: /^[+-]/
      };
      function sprintf2(key2) {
        return sprintf_format(sprintf_parse(key2), arguments);
      }
      function vsprintf(fmt, argv) {
        return sprintf2.apply(null, [fmt].concat(argv || []));
      }
      function sprintf_format(parse_tree, argv) {
        var cursor = 1, tree_length = parse_tree.length, arg, output = "", i, k, ph2, pad, pad_character, pad_length, is_positive, sign;
        for (i = 0; i < tree_length; i++) {
          if (typeof parse_tree[i] === "string") {
            output += parse_tree[i];
          } else if (typeof parse_tree[i] === "object") {
            ph2 = parse_tree[i];
            if (ph2.keys) {
              arg = argv[cursor];
              for (k = 0; k < ph2.keys.length; k++) {
                if (arg == void 0) {
                  throw new Error(sprintf2('[sprintf] Cannot access property "%s" of undefined value "%s"', ph2.keys[k], ph2.keys[k - 1]));
                }
                arg = arg[ph2.keys[k]];
              }
            } else if (ph2.param_no) {
              arg = argv[ph2.param_no];
            } else {
              arg = argv[cursor++];
            }
            if (re.not_type.test(ph2.type) && re.not_primitive.test(ph2.type) && arg instanceof Function) {
              arg = arg();
            }
            if (re.numeric_arg.test(ph2.type) && (typeof arg !== "number" && isNaN(arg))) {
              throw new TypeError(sprintf2("[sprintf] expecting number but found %T", arg));
            }
            if (re.number.test(ph2.type)) {
              is_positive = arg >= 0;
            }
            switch (ph2.type) {
              case "b":
                arg = parseInt(arg, 10).toString(2);
                break;
              case "c":
                arg = String.fromCharCode(parseInt(arg, 10));
                break;
              case "d":
              case "i":
                arg = parseInt(arg, 10);
                break;
              case "j":
                arg = JSON.stringify(arg, null, ph2.width ? parseInt(ph2.width) : 0);
                break;
              case "e":
                arg = ph2.precision ? parseFloat(arg).toExponential(ph2.precision) : parseFloat(arg).toExponential();
                break;
              case "f":
                arg = ph2.precision ? parseFloat(arg).toFixed(ph2.precision) : parseFloat(arg);
                break;
              case "g":
                arg = ph2.precision ? String(Number(arg.toPrecision(ph2.precision))) : parseFloat(arg);
                break;
              case "o":
                arg = (parseInt(arg, 10) >>> 0).toString(8);
                break;
              case "s":
                arg = String(arg);
                arg = ph2.precision ? arg.substring(0, ph2.precision) : arg;
                break;
              case "t":
                arg = String(!!arg);
                arg = ph2.precision ? arg.substring(0, ph2.precision) : arg;
                break;
              case "T":
                arg = Object.prototype.toString.call(arg).slice(8, -1).toLowerCase();
                arg = ph2.precision ? arg.substring(0, ph2.precision) : arg;
                break;
              case "u":
                arg = parseInt(arg, 10) >>> 0;
                break;
              case "v":
                arg = arg.valueOf();
                arg = ph2.precision ? arg.substring(0, ph2.precision) : arg;
                break;
              case "x":
                arg = (parseInt(arg, 10) >>> 0).toString(16);
                break;
              case "X":
                arg = (parseInt(arg, 10) >>> 0).toString(16).toUpperCase();
                break;
            }
            if (re.json.test(ph2.type)) {
              output += arg;
            } else {
              if (re.number.test(ph2.type) && (!is_positive || ph2.sign)) {
                sign = is_positive ? "+" : "-";
                arg = arg.toString().replace(re.sign, "");
              } else {
                sign = "";
              }
              pad_character = ph2.pad_char ? ph2.pad_char === "0" ? "0" : ph2.pad_char.charAt(1) : " ";
              pad_length = ph2.width - (sign + arg).length;
              pad = ph2.width ? pad_length > 0 ? pad_character.repeat(pad_length) : "" : "";
              output += ph2.align ? sign + arg + pad : pad_character === "0" ? sign + pad + arg : pad + sign + arg;
            }
          }
        }
        return output;
      }
      var sprintf_cache = /* @__PURE__ */ Object.create(null);
      function sprintf_parse(fmt) {
        if (sprintf_cache[fmt]) {
          return sprintf_cache[fmt];
        }
        var _fmt = fmt, match, parse_tree = [], arg_names = 0;
        while (_fmt) {
          if ((match = re.text.exec(_fmt)) !== null) {
            parse_tree.push(match[0]);
          } else if ((match = re.modulo.exec(_fmt)) !== null) {
            parse_tree.push("%");
          } else if ((match = re.placeholder.exec(_fmt)) !== null) {
            if (match[2]) {
              arg_names |= 1;
              var field_list = [], replacement_field = match[2], field_match = [];
              if ((field_match = re.key.exec(replacement_field)) !== null) {
                field_list.push(field_match[1]);
                while ((replacement_field = replacement_field.substring(field_match[0].length)) !== "") {
                  if ((field_match = re.key_access.exec(replacement_field)) !== null) {
                    field_list.push(field_match[1]);
                  } else if ((field_match = re.index_access.exec(replacement_field)) !== null) {
                    field_list.push(field_match[1]);
                  } else {
                    throw new SyntaxError("[sprintf] failed to parse named argument key");
                  }
                }
              } else {
                throw new SyntaxError("[sprintf] failed to parse named argument key");
              }
              match[2] = field_list;
            } else {
              arg_names |= 2;
            }
            if (arg_names === 3) {
              throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");
            }
            parse_tree.push(
              {
                placeholder: match[0],
                param_no: match[1],
                keys: match[2],
                sign: match[3],
                pad_char: match[4],
                align: match[5],
                width: match[6],
                precision: match[7],
                type: match[8]
              }
            );
          } else {
            throw new SyntaxError("[sprintf] unexpected placeholder");
          }
          _fmt = _fmt.substring(match[0].length);
        }
        return sprintf_cache[fmt] = parse_tree;
      }
      {
        exports["sprintf"] = sprintf2;
        exports["vsprintf"] = vsprintf;
      }
      if (typeof window !== "undefined") {
        window["sprintf"] = sprintf2;
        window["vsprintf"] = vsprintf;
      }
    })();
  })(sprintf$1);
  return sprintf$1;
}
var sprintfExports = requireSprintf();
const sprintfjs = /* @__PURE__ */ getDefaultExportFromCjs(sprintfExports);
const logErrorOnce = memize(console.error);
function sprintf(format, ...args) {
  try {
    return sprintfjs.sprintf(format, ...args);
  } catch (error) {
    if (error instanceof Error) {
      logErrorOnce("sprintf error: \n\n" + error.toString());
    }
    return format;
  }
}
var PRECEDENCE, OPENERS, TERMINATORS, PATTERN;
PRECEDENCE = {
  "(": 9,
  "!": 8,
  "*": 7,
  "/": 7,
  "%": 7,
  "+": 6,
  "-": 6,
  "<": 5,
  "<=": 5,
  ">": 5,
  ">=": 5,
  "==": 4,
  "!=": 4,
  "&&": 3,
  "||": 2,
  "?": 1,
  "?:": 1
};
OPENERS = ["(", "?"];
TERMINATORS = {
  ")": ["("],
  ":": ["?", "?:"]
};
PATTERN = /<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;
function postfix(expression) {
  var terms = [], stack = [], match, operator, term, element;
  while (match = expression.match(PATTERN)) {
    operator = match[0];
    term = expression.substr(0, match.index).trim();
    if (term) {
      terms.push(term);
    }
    while (element = stack.pop()) {
      if (TERMINATORS[operator]) {
        if (TERMINATORS[operator][0] === element) {
          operator = TERMINATORS[operator][1] || operator;
          break;
        }
      } else if (OPENERS.indexOf(element) >= 0 || PRECEDENCE[element] < PRECEDENCE[operator]) {
        stack.push(element);
        break;
      }
      terms.push(element);
    }
    if (!TERMINATORS[operator]) {
      stack.push(operator);
    }
    expression = expression.substr(match.index + operator.length);
  }
  expression = expression.trim();
  if (expression) {
    terms.push(expression);
  }
  return terms.concat(stack.reverse());
}
var OPERATORS = {
  "!": function(a) {
    return !a;
  },
  "*": function(a, b) {
    return a * b;
  },
  "/": function(a, b) {
    return a / b;
  },
  "%": function(a, b) {
    return a % b;
  },
  "+": function(a, b) {
    return a + b;
  },
  "-": function(a, b) {
    return a - b;
  },
  "<": function(a, b) {
    return a < b;
  },
  "<=": function(a, b) {
    return a <= b;
  },
  ">": function(a, b) {
    return a > b;
  },
  ">=": function(a, b) {
    return a >= b;
  },
  "==": function(a, b) {
    return a === b;
  },
  "!=": function(a, b) {
    return a !== b;
  },
  "&&": function(a, b) {
    return a && b;
  },
  "||": function(a, b) {
    return a || b;
  },
  "?:": function(a, b, c10) {
    if (a) {
      throw b;
    }
    return c10;
  }
};
function evaluate(postfix2, variables) {
  var stack = [], i, j, args, getOperatorResult, term, value;
  for (i = 0; i < postfix2.length; i++) {
    term = postfix2[i];
    getOperatorResult = OPERATORS[term];
    if (getOperatorResult) {
      j = getOperatorResult.length;
      args = Array(j);
      while (j--) {
        args[j] = stack.pop();
      }
      try {
        value = getOperatorResult.apply(null, args);
      } catch (earlyReturn) {
        return earlyReturn;
      }
    } else if (variables.hasOwnProperty(term)) {
      value = variables[term];
    } else {
      value = +term;
    }
    stack.push(value);
  }
  return stack[0];
}
function compile(expression) {
  var terms = postfix(expression);
  return function(variables) {
    return evaluate(terms, variables);
  };
}
function pluralForms(expression) {
  var evaluate2 = compile(expression);
  return function(n) {
    return +evaluate2({ n });
  };
}
var DEFAULT_OPTIONS = {
  contextDelimiter: "",
  onMissingKey: null
};
function getPluralExpression(pf2) {
  var parts, i, part;
  parts = pf2.split(";");
  for (i = 0; i < parts.length; i++) {
    part = parts[i].trim();
    if (part.indexOf("plural=") === 0) {
      return part.substr(7);
    }
  }
}
function Tannin(data, options) {
  var key2;
  this.data = data;
  this.pluralForms = {};
  this.options = {};
  for (key2 in DEFAULT_OPTIONS) {
    this.options[key2] = options !== void 0 && key2 in options ? options[key2] : DEFAULT_OPTIONS[key2];
  }
}
Tannin.prototype.getPluralForm = function(domain, n) {
  var getPluralForm = this.pluralForms[domain], config2, plural, pf2;
  if (!getPluralForm) {
    config2 = this.data[domain][""];
    pf2 = config2["Plural-Forms"] || config2["plural-forms"] || // Ignore reason: As known, there's no way to document the empty
    // string property on a key to guarantee this as metadata.
    // @ts-ignore
    config2.plural_forms;
    if (typeof pf2 !== "function") {
      plural = getPluralExpression(
        config2["Plural-Forms"] || config2["plural-forms"] || // Ignore reason: As known, there's no way to document the empty
        // string property on a key to guarantee this as metadata.
        // @ts-ignore
        config2.plural_forms
      );
      pf2 = pluralForms(plural);
    }
    getPluralForm = this.pluralForms[domain] = pf2;
  }
  return getPluralForm(n);
};
Tannin.prototype.dcnpgettext = function(domain, context, singular, plural, n) {
  var index, key2, entry;
  if (n === void 0) {
    index = 0;
  } else {
    index = this.getPluralForm(domain, n);
  }
  key2 = singular;
  if (context) {
    key2 = context + this.options.contextDelimiter + singular;
  }
  entry = this.data[domain][key2];
  if (entry && entry[index]) {
    return entry[index];
  }
  if (this.options.onMissingKey) {
    this.options.onMissingKey(singular, domain);
  }
  return index === 0 ? singular : plural;
};
const DEFAULT_LOCALE_DATA = {
  "": {
    /** @param {number} n */
    plural_forms(n) {
      return n === 1 ? 0 : 1;
    }
  }
};
const I18N_HOOK_REGEXP = /^i18n\.(n?gettext|has_translation)(_|$)/;
const createI18n = (initialData, initialDomain, hooks) => {
  const tannin = new Tannin({});
  const listeners = /* @__PURE__ */ new Set();
  const notifyListeners = () => {
    listeners.forEach((listener) => listener());
  };
  const subscribe = (callback) => {
    listeners.add(callback);
    return () => listeners.delete(callback);
  };
  const getLocaleData = (domain = "default") => tannin.data[domain];
  const doSetLocaleData = (data, domain = "default") => {
    var _a2;
    tannin.data[domain] = {
      ...tannin.data[domain],
      ...data
    };
    tannin.data[domain][""] = {
      ...DEFAULT_LOCALE_DATA[""],
      ...(_a2 = tannin.data[domain]) == null ? void 0 : _a2[""]
    };
    delete tannin.pluralForms[domain];
  };
  const setLocaleData2 = (data, domain) => {
    doSetLocaleData(data, domain);
    notifyListeners();
  };
  const addLocaleData = (data, domain = "default") => {
    var _a2;
    tannin.data[domain] = {
      ...tannin.data[domain],
      ...data,
      // Populate default domain configuration (supported locale date which omits
      // a plural forms expression).
      "": {
        ...DEFAULT_LOCALE_DATA[""],
        ...(_a2 = tannin.data[domain]) == null ? void 0 : _a2[""],
        ...data == null ? void 0 : data[""]
      }
    };
    delete tannin.pluralForms[domain];
    notifyListeners();
  };
  const resetLocaleData = (data, domain) => {
    tannin.data = {};
    tannin.pluralForms = {};
    setLocaleData2(data, domain);
  };
  const dcnpgettext = (domain = "default", context, single, plural, number) => {
    if (!tannin.data[domain]) {
      doSetLocaleData(void 0, domain);
    }
    return tannin.dcnpgettext(domain, context, single, plural, number);
  };
  const getFilterDomain = (domain = "default") => domain;
  const __2 = (text, domain) => {
    let translation = dcnpgettext(domain, void 0, text);
    if (!hooks) {
      return translation;
    }
    translation = /** @type {string} */
    /** @type {*} */
    hooks.applyFilters("i18n.gettext", translation, text, domain);
    return (
      /** @type {string} */
      /** @type {*} */
      hooks.applyFilters("i18n.gettext_" + getFilterDomain(domain), translation, text, domain)
    );
  };
  const _x2 = (text, context, domain) => {
    let translation = dcnpgettext(domain, context, text);
    if (!hooks) {
      return translation;
    }
    translation = /** @type {string} */
    /** @type {*} */
    hooks.applyFilters("i18n.gettext_with_context", translation, text, context, domain);
    return (
      /** @type {string} */
      /** @type {*} */
      hooks.applyFilters("i18n.gettext_with_context_" + getFilterDomain(domain), translation, text, context, domain)
    );
  };
  const _n = (single, plural, number, domain) => {
    let translation = dcnpgettext(domain, void 0, single, plural, number);
    if (!hooks) {
      return translation;
    }
    translation = /** @type {string} */
    /** @type {*} */
    hooks.applyFilters("i18n.ngettext", translation, single, plural, number, domain);
    return (
      /** @type {string} */
      /** @type {*} */
      hooks.applyFilters("i18n.ngettext_" + getFilterDomain(domain), translation, single, plural, number, domain)
    );
  };
  const _nx = (single, plural, number, context, domain) => {
    let translation = dcnpgettext(domain, context, single, plural, number);
    if (!hooks) {
      return translation;
    }
    translation = /** @type {string} */
    /** @type {*} */
    hooks.applyFilters("i18n.ngettext_with_context", translation, single, plural, number, context, domain);
    return (
      /** @type {string} */
      /** @type {*} */
      hooks.applyFilters("i18n.ngettext_with_context_" + getFilterDomain(domain), translation, single, plural, number, context, domain)
    );
  };
  const isRTL = () => {
    return "rtl" === _x2("ltr", "text direction");
  };
  const hasTranslation = (single, context, domain) => {
    var _a2, _b2;
    const key2 = context ? context + "" + single : single;
    let result = !!((_b2 = (_a2 = tannin.data) == null ? void 0 : _a2[domain !== null && domain !== void 0 ? domain : "default"]) == null ? void 0 : _b2[key2]);
    if (hooks) {
      result = /** @type { boolean } */
      /** @type {*} */
      hooks.applyFilters("i18n.has_translation", result, single, context, domain);
      result = /** @type { boolean } */
      /** @type {*} */
      hooks.applyFilters("i18n.has_translation_" + getFilterDomain(domain), result, single, context, domain);
    }
    return result;
  };
  if (hooks) {
    const onHookAddedOrRemoved = (hookName) => {
      if (I18N_HOOK_REGEXP.test(hookName)) {
        notifyListeners();
      }
    };
    hooks.addAction("hookAdded", "core/i18n", onHookAddedOrRemoved);
    hooks.addAction("hookRemoved", "core/i18n", onHookAddedOrRemoved);
  }
  return {
    getLocaleData,
    setLocaleData: setLocaleData2,
    addLocaleData,
    resetLocaleData,
    subscribe,
    __: __2,
    _x: _x2,
    _n,
    _nx,
    isRTL,
    hasTranslation
  };
};
function validateNamespace(namespace) {
  if ("string" !== typeof namespace || "" === namespace) {
    console.error("The namespace must be a non-empty string.");
    return false;
  }
  if (!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(namespace)) {
    console.error(
      "The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."
    );
    return false;
  }
  return true;
}
var validateNamespace_default = validateNamespace;
function validateHookName(hookName) {
  if ("string" !== typeof hookName || "" === hookName) {
    console.error("The hook name must be a non-empty string.");
    return false;
  }
  if (/^__/.test(hookName)) {
    console.error("The hook name cannot begin with `__`.");
    return false;
  }
  if (!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(hookName)) {
    console.error(
      "The hook name can only contain numbers, letters, dashes, periods and underscores."
    );
    return false;
  }
  return true;
}
var validateHookName_default = validateHookName;
function createAddHook(hooks, storeKey) {
  return function addHook(hookName, namespace, callback, priority = 10) {
    const hooksStore = hooks[storeKey];
    if (!validateHookName_default(hookName)) {
      return;
    }
    if (!validateNamespace_default(namespace)) {
      return;
    }
    if ("function" !== typeof callback) {
      console.error("The hook callback must be a function.");
      return;
    }
    if ("number" !== typeof priority) {
      console.error(
        "If specified, the hook priority must be a number."
      );
      return;
    }
    const handler = { callback, priority, namespace };
    if (hooksStore[hookName]) {
      const handlers = hooksStore[hookName].handlers;
      let i;
      for (i = handlers.length; i > 0; i--) {
        if (priority >= handlers[i - 1].priority) {
          break;
        }
      }
      if (i === handlers.length) {
        handlers[i] = handler;
      } else {
        handlers.splice(i, 0, handler);
      }
      hooksStore.__current.forEach((hookInfo) => {
        if (hookInfo.name === hookName && hookInfo.currentIndex >= i) {
          hookInfo.currentIndex++;
        }
      });
    } else {
      hooksStore[hookName] = {
        handlers: [handler],
        runs: 0
      };
    }
    if (hookName !== "hookAdded") {
      hooks.doAction(
        "hookAdded",
        hookName,
        namespace,
        callback,
        priority
      );
    }
  };
}
var createAddHook_default = createAddHook;
function createRemoveHook(hooks, storeKey, removeAll = false) {
  return function removeHook(hookName, namespace) {
    const hooksStore = hooks[storeKey];
    if (!validateHookName_default(hookName)) {
      return;
    }
    if (!removeAll && !validateNamespace_default(namespace)) {
      return;
    }
    if (!hooksStore[hookName]) {
      return 0;
    }
    let handlersRemoved = 0;
    if (removeAll) {
      handlersRemoved = hooksStore[hookName].handlers.length;
      hooksStore[hookName] = {
        runs: hooksStore[hookName].runs,
        handlers: []
      };
    } else {
      const handlers = hooksStore[hookName].handlers;
      for (let i = handlers.length - 1; i >= 0; i--) {
        if (handlers[i].namespace === namespace) {
          handlers.splice(i, 1);
          handlersRemoved++;
          hooksStore.__current.forEach((hookInfo) => {
            if (hookInfo.name === hookName && hookInfo.currentIndex >= i) {
              hookInfo.currentIndex--;
            }
          });
        }
      }
    }
    if (hookName !== "hookRemoved") {
      hooks.doAction("hookRemoved", hookName, namespace);
    }
    return handlersRemoved;
  };
}
var createRemoveHook_default = createRemoveHook;
function createHasHook(hooks, storeKey) {
  return function hasHook(hookName, namespace) {
    const hooksStore = hooks[storeKey];
    if ("undefined" !== typeof namespace) {
      return hookName in hooksStore && hooksStore[hookName].handlers.some(
        (hook) => hook.namespace === namespace
      );
    }
    return hookName in hooksStore;
  };
}
var createHasHook_default = createHasHook;
function createRunHook(hooks, storeKey, returnFirstArg, async) {
  return function runHook(hookName, ...args) {
    const hooksStore = hooks[storeKey];
    if (!hooksStore[hookName]) {
      hooksStore[hookName] = {
        handlers: [],
        runs: 0
      };
    }
    hooksStore[hookName].runs++;
    const handlers = hooksStore[hookName].handlers;
    if (!handlers || !handlers.length) {
      return returnFirstArg ? args[0] : void 0;
    }
    const hookInfo = {
      name: hookName,
      currentIndex: 0
    };
    async function asyncRunner() {
      try {
        hooksStore.__current.add(hookInfo);
        let result = returnFirstArg ? args[0] : void 0;
        while (hookInfo.currentIndex < handlers.length) {
          const handler = handlers[hookInfo.currentIndex];
          result = await handler.callback.apply(null, args);
          if (returnFirstArg) {
            args[0] = result;
          }
          hookInfo.currentIndex++;
        }
        return returnFirstArg ? result : void 0;
      } finally {
        hooksStore.__current.delete(hookInfo);
      }
    }
    function syncRunner() {
      try {
        hooksStore.__current.add(hookInfo);
        let result = returnFirstArg ? args[0] : void 0;
        while (hookInfo.currentIndex < handlers.length) {
          const handler = handlers[hookInfo.currentIndex];
          result = handler.callback.apply(null, args);
          if (returnFirstArg) {
            args[0] = result;
          }
          hookInfo.currentIndex++;
        }
        return returnFirstArg ? result : void 0;
      } finally {
        hooksStore.__current.delete(hookInfo);
      }
    }
    return (async ? asyncRunner : syncRunner)();
  };
}
var createRunHook_default = createRunHook;
function createCurrentHook(hooks, storeKey) {
  return function currentHook() {
    var _a2;
    const hooksStore = hooks[storeKey];
    const currentArray = Array.from(hooksStore.__current);
    return ((_a2 = currentArray.at(-1)) == null ? void 0 : _a2.name) ?? null;
  };
}
var createCurrentHook_default = createCurrentHook;
function createDoingHook(hooks, storeKey) {
  return function doingHook(hookName) {
    const hooksStore = hooks[storeKey];
    if ("undefined" === typeof hookName) {
      return hooksStore.__current.size > 0;
    }
    return Array.from(hooksStore.__current).some(
      (hook) => hook.name === hookName
    );
  };
}
var createDoingHook_default = createDoingHook;
function createDidHook(hooks, storeKey) {
  return function didHook(hookName) {
    const hooksStore = hooks[storeKey];
    if (!validateHookName_default(hookName)) {
      return;
    }
    return hooksStore[hookName] && hooksStore[hookName].runs ? hooksStore[hookName].runs : 0;
  };
}
var createDidHook_default = createDidHook;
var _Hooks = class {
  constructor() {
    __publicField(this, "actions");
    __publicField(this, "filters");
    __publicField(this, "addAction");
    __publicField(this, "addFilter");
    __publicField(this, "removeAction");
    __publicField(this, "removeFilter");
    __publicField(this, "hasAction");
    __publicField(this, "hasFilter");
    __publicField(this, "removeAllActions");
    __publicField(this, "removeAllFilters");
    __publicField(this, "doAction");
    __publicField(this, "doActionAsync");
    __publicField(this, "applyFilters");
    __publicField(this, "applyFiltersAsync");
    __publicField(this, "currentAction");
    __publicField(this, "currentFilter");
    __publicField(this, "doingAction");
    __publicField(this, "doingFilter");
    __publicField(this, "didAction");
    __publicField(this, "didFilter");
    this.actions = /* @__PURE__ */ Object.create(null);
    this.actions.__current = /* @__PURE__ */ new Set();
    this.filters = /* @__PURE__ */ Object.create(null);
    this.filters.__current = /* @__PURE__ */ new Set();
    this.addAction = createAddHook_default(this, "actions");
    this.addFilter = createAddHook_default(this, "filters");
    this.removeAction = createRemoveHook_default(this, "actions");
    this.removeFilter = createRemoveHook_default(this, "filters");
    this.hasAction = createHasHook_default(this, "actions");
    this.hasFilter = createHasHook_default(this, "filters");
    this.removeAllActions = createRemoveHook_default(this, "actions", true);
    this.removeAllFilters = createRemoveHook_default(this, "filters", true);
    this.doAction = createRunHook_default(this, "actions", false, false);
    this.doActionAsync = createRunHook_default(this, "actions", false, true);
    this.applyFilters = createRunHook_default(this, "filters", true, false);
    this.applyFiltersAsync = createRunHook_default(this, "filters", true, true);
    this.currentAction = createCurrentHook_default(this, "actions");
    this.currentFilter = createCurrentHook_default(this, "filters");
    this.doingAction = createDoingHook_default(this, "actions");
    this.doingFilter = createDoingHook_default(this, "filters");
    this.didAction = createDidHook_default(this, "actions");
    this.didFilter = createDidHook_default(this, "filters");
  }
};
function createHooks() {
  return new _Hooks();
}
var createHooks_default = createHooks;
var defaultHooks = createHooks_default();
var {
  addAction,
  addFilter,
  removeAction,
  removeFilter,
  hasAction,
  hasFilter,
  removeAllActions,
  removeAllFilters,
  doAction,
  doActionAsync,
  applyFilters,
  applyFiltersAsync,
  currentAction,
  currentFilter,
  doingAction,
  doingFilter,
  didAction,
  didFilter,
  actions,
  filters
} = defaultHooks;
const i18n = createI18n(void 0, void 0, defaultHooks);
i18n.getLocaleData.bind(i18n);
const setLocaleData = i18n.setLocaleData.bind(i18n);
i18n.resetLocaleData.bind(i18n);
i18n.subscribe.bind(i18n);
const __ = i18n.__.bind(i18n);
i18n._x.bind(i18n);
i18n._n.bind(i18n);
i18n._nx.bind(i18n);
i18n.isRTL.bind(i18n);
i18n.hasTranslation.bind(i18n);
const SERPPreview = (props) => {
  const {
    seoTitle,
    seoDescription,
    previewTitle: previewTitle2,
    previewDescription,
    parsedTitle,
    parsedDescription,
    isMetaTagsDataLoaded,
    metaTagsData,
    breadcrumbsData,
    isBreadcrumbsLoaded
  } = useSelector((state) => state.app);
  const { currentPost, isCurrentPostLoaded } = useSelector((state) => state.post);
  const [previewMode, setPreviewMode] = reactExports.useState(
    "desktop"
    /* desktop */
  );
  const { setPreviewTitle, setPreviewDescription, setParsedTitle, setParsedDescription } = AppSlice;
  const [seoUrl, setSeoUrl] = reactExports.useState(null);
  const [breadcrumbs, setBreadcrumbs] = reactExports.useState("");
  const [separator2, setSeparator] = reactExports.useState("|");
  const dispatch = useAppDispatch();
  const { isRecalculating } = useSlugChangeRecalculation();
  const handlePreviewModeChange = (mode) => {
    setPreviewMode(mode);
  };
  reactExports.useEffect(() => {
    const handleSlugChange = (event) => {
      const { newUrl, newSlug, oldSlug } = event.detail;
      setSeoUrl(newUrl);
    };
    document.addEventListener("rankingcoach-slug-changed", handleSlugChange);
    return () => {
      document.removeEventListener("rankingcoach-slug-changed", handleSlugChange);
    };
  }, []);
  reactExports.useEffect(() => {
    var _a2, _b2;
    if (isBreadcrumbsLoaded && (breadcrumbsData == null ? void 0 : breadcrumbsData.breadcrumbs)) {
      const breadcrumbItems = (currentPost == null ? void 0 : currentPost.type) === "page" ? breadcrumbsData.breadcrumbs.page : breadcrumbsData.breadcrumbs.post;
      const sep = ((_b2 = (_a2 = breadcrumbsData.meta) == null ? void 0 : _a2.settings_applied) == null ? void 0 : _b2.separator) || "»";
      setSeparator(sep);
      if ((breadcrumbItems == null ? void 0 : breadcrumbItems.length) > 0) {
        const formattedBreadcrumbs = breadcrumbItems.map((item) => item.name).join(` ${sep} `);
        setBreadcrumbs(formattedBreadcrumbs);
      } else {
        setSeoUrl((currentPost == null ? void 0 : currentPost.link) ?? null);
      }
    }
  }, [breadcrumbsData, isBreadcrumbsLoaded, currentPost == null ? void 0 : currentPost.type]);
  reactExports.useEffect(() => {
    var _a2, _b2;
    if (isCurrentPostLoaded && currentPost) {
      if (!seoUrl) setSeoUrl(currentPost.link ?? null);
      if (!seoTitle) dispatch(setPreviewTitle(((_a2 = currentPost.title) == null ? void 0 : _a2.rendered) ?? ""));
      if (!seoDescription && !parsedDescription) {
        dispatch(setPreviewDescription(((_b2 = currentPost.excerpt) == null ? void 0 : _b2.filtered) ?? ""));
      }
    }
  }, [isCurrentPostLoaded, currentPost == null ? void 0 : currentPost.id]);
  reactExports.useEffect(() => {
    if (parsedTitle) {
      dispatch(setPreviewTitle(parsedTitle));
    }
  }, [parsedTitle]);
  reactExports.useEffect(() => {
    if (parsedDescription) {
      dispatch(setPreviewDescription(parsedDescription));
    }
  }, [parsedDescription]);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Va, { if: isMetaTagsDataLoaded, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { testId: "serp-preview-container", className: styles$k.serpPreviewContainer, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { fontWeight: si.bold, children: __("SERP Preview", "beyondseo") }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: Kt(styles$k.serpPreviewBreakpoints, S8e.dFlex, S8e.gap1), children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        li,
        {
          className: Kt(styles$k.desktopIcon),
          color: previewMode === "desktop" ? "--n800" : "--n400",
          type: ai.small,
          onClick: () => handlePreviewModeChange("desktop"),
          children: Ln.desktop
        }
      ),
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        li,
        {
          className: Kt(styles$k.tabletIcon),
          color: previewMode === "tablet" ? "--n800" : "--n400",
          type: ai.small,
          onClick: () => handlePreviewModeChange("tablet"),
          children: Ln.tablet
        }
      )
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(
      "div",
      {
        className: Kt(
          styles$k.serpPreviewContent,
          previewMode === "desktop" ? styles$k.contentDesktopModePreview : styles$k.contentTabletModePreview,
          isRecalculating ? styles$k.recalculating : ""
        ),
        children: isCurrentPostLoaded && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
          /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$k.serpSeoUrl, children: [
            breadcrumbs ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: breadcrumbs.split(` ${separator2} `).map((part, index, array) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
              /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$k.breadcrumbPart, children: part }),
              index < array.length - 1 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$k.separator, children: separator2 })
            ] })) }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$k.breadcrumbPart, children: seoUrl }),
            isRecalculating && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$k.recalculatingIndicator, children: "⟳" })
          ] }),
          /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$k.serpSeoTitle, children: previewTitle2 || (currentPost == null ? void 0 : currentPost.title.rendered) || "" }),
          /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$k.serpSeoDescription, children: previewDescription })
        ] })
      }
    )
  ] }) });
};
const seoTitleEditorContainer = "SEOMetaTitleEditor-module__seo-title-editor-container___-f-X5";
const styles$j = {
  seoTitleEditorContainer
};
const multiSelectorAdornmentInput = "MultiSelectAdornmentInput-module__multiSelectorAdornmentInput___k92qE";
const headerControlsContainer = "MultiSelectAdornmentInput-module__headerControlsContainer___vPE0W";
const leftAlignControls = "MultiSelectAdornmentInput-module__leftAlignControls___viCtM";
const titleText = "MultiSelectAdornmentInput-module__titleText___6YJuH";
const variablesContainer = "MultiSelectAdornmentInput-module__variablesContainer___QHqNY";
const adornmentItem = "MultiSelectAdornmentInput-module__adornmentItem___H-DfK";
const inlineInput = "MultiSelectAdornmentInput-module__inlineInput___K2sEJ";
const variablesContainerError = "MultiSelectAdornmentInput-module__variablesContainerError___3mgz9";
const selectAdornmentInputContainer = "MultiSelectAdornmentInput-module__selectAdornmentInputContainer___O9cdG";
const feedbackContainer = "MultiSelectAdornmentInput-module__feedbackContainer___-JiJ5";
const characterCounter = "MultiSelectAdornmentInput-module__characterCounter___L3fyz";
const characterCounterError = "MultiSelectAdornmentInput-module__characterCounterError___Cnpdw";
const errorMessage = "MultiSelectAdornmentInput-module__errorMessage___PsGmB";
const styles$i = {
  multiSelectorAdornmentInput,
  headerControlsContainer,
  leftAlignControls,
  titleText,
  variablesContainer,
  adornmentItem,
  inlineInput,
  variablesContainerError,
  selectAdornmentInputContainer,
  feedbackContainer,
  characterCounter,
  characterCounterError,
  errorMessage
};
const AdornmentControls = (props) => {
  const {
    title = __("Add Adornments", "beyondseo"),
    disabled = false,
    onAddAdornment,
    onEmojiSelect,
    adornmentCount,
    maxAdornments,
    variableConfig: variableConfig2,
    separatorConfig: separatorConfig2
  } = props;
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$i.headerControlsContainer, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$i.leftAlignControls, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$i.titleText, children: title }),
    !disabled && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        gh,
        {
          onClick: (e4) => onAddAdornment(e4, "variable", variableConfig2.options),
          disabled: adornmentCount >= maxAdornments,
          size: uf.small,
          iconLeft: Ln.add,
          type: Vo.secondary,
          children: __(variableConfig2.buttonText, "beyondseo")
        },
        "variable"
      ),
      separatorConfig2 && /* @__PURE__ */ jsxRuntimeExports.jsx(
        gh,
        {
          onClick: (e4) => onAddAdornment(e4, "separator", separatorConfig2.options),
          disabled: adornmentCount >= maxAdornments,
          size: uf.small,
          iconLeft: Ln.add,
          type: Vo.secondary,
          children: __(separatorConfig2.buttonText, "beyondseo")
        },
        "separator"
      )
    ] })
  ] }) });
};
const generateTextAdornmentKey = () => {
  const textId = Date.now().toString(36) + Math.random().toString(36).substring(2, 5);
  return `text_${textId}`;
};
const generateVariableKey = (baseKey, type, existingAdornments = []) => {
  const uniqueId = Date.now().toString(36) + Math.random().toString(36).substring(2, 5);
  const candidateKey = `${baseKey}_${uniqueId}`;
  const existingKeys = existingAdornments.map((a) => a.key).filter(Boolean);
  if (existingKeys.includes(candidateKey)) {
    const extraId = Math.random().toString(36).substring(2, 5);
    return `${baseKey}_${uniqueId}_${extraId}`;
  }
  return candidateKey;
};
const createAdornment = (type, option, existingAdornments = []) => {
  if (typeof option === "string") {
    return {
      key: generateTextAdornmentKey(),
      value: option,
      type: "text"
    };
  }
  const baseKey = type === "variable" ? option.key.toString() : option.key.toString();
  const value = option.value.toString();
  const uniqueKey = generateVariableKey(baseKey, type, existingAdornments);
  return {
    key: uniqueKey,
    value,
    type: type === "separator" ? "separator" : "variable"
  };
};
const updateAdornmentKey = (adornment, newValue, optionKey) => {
  if (adornment.type === "text") {
    return { ...adornment, value: newValue };
  }
  if (optionKey) {
    const currentKey = adornment.key || "";
    const suffixMatch = currentKey.match(/_([a-zA-Z0-9]+)$/);
    const suffix = suffixMatch ? `_${suffixMatch[1]}` : "";
    return {
      ...adornment,
      value: newValue,
      key: `${optionKey}${suffix}`
    };
  } else {
    const currentKey = adornment.key || "";
    const baseKeyMatch = currentKey.match(/^([^_]+)/);
    const baseKey = baseKeyMatch ? baseKeyMatch[1] : "";
    const suffixMatch = currentKey.match(/_([a-zA-Z0-9]+)$/);
    const suffix = suffixMatch ? `_${suffixMatch[1]}` : "";
    if (baseKey) {
      return { ...adornment, value: newValue, key: `${baseKey}${suffix}` };
    } else {
      return { ...adornment, value: newValue, key: newValue };
    }
  }
};
const measureTextWithCanvas = (text, font) => {
  const canvas = document.createElement("canvas");
  const context = canvas.getContext("2d");
  if (!context) return text.length * 8;
  context.font = font;
  return context.measureText(text).width;
};
const calculateInputWidthCanvas = (text, referenceElement) => {
  if (!text) return "8px";
  let targetElement = referenceElement;
  if (!targetElement) {
    targetElement = document.querySelector(".multi-adornment-input input");
  }
  if (!targetElement) {
    targetElement = document.querySelector("input");
  }
  if (!targetElement) {
    targetElement = document.body;
  }
  const computedStyles = window.getComputedStyle(targetElement);
  const fontSize = computedStyles.fontSize || "14px";
  const fontFamily = computedStyles.fontFamily || "Arial, sans-serif";
  const fontWeight = computedStyles.fontWeight || "normal";
  const fontStyle = computedStyles.fontStyle || "normal";
  const fontVariant = computedStyles.fontVariant || "normal";
  const fontString = `${fontStyle} ${fontVariant} ${fontWeight} ${fontSize} ${fontFamily}`;
  let width = measureTextWithCanvas(text, fontString);
  if (width === 0 || width < text.length * 3) {
    const fontSizeNum = parseFloat(fontSize);
    width = text.length * fontSizeNum * 0.6;
  }
  const paddedWidth = width + 2;
  const finalWidth = `${Math.min(Math.max(paddedWidth, 8), 644)}px`;
  return finalWidth;
};
const buildCompleteAdornmentsArray = (firstInputValue, inlineInputValues, addedAdornments) => {
  const completeAdornments = [];
  if (firstInputValue && firstInputValue.trim()) {
    const existingFirstTextAdornment = addedAdornments.length > 0 && addedAdornments[0].type === "text" ? addedAdornments[0] : null;
    if (existingFirstTextAdornment) {
      completeAdornments.push({
        ...existingFirstTextAdornment,
        value: firstInputValue.trim()
      });
    } else {
      const firstTextAdornment = createAdornment("text", firstInputValue.trim(), addedAdornments);
      completeAdornments.push(firstTextAdornment);
    }
  }
  const nonTextAdornments = addedAdornments.filter((a) => a.type !== "text");
  for (let i = 0; i < nonTextAdornments.length; i++) {
    completeAdornments.push({
      ...nonTextAdornments[i]
    });
    if (i < inlineInputValues.length && inlineInputValues[i] && inlineInputValues[i].trim()) {
      const textAdornment = createAdornment("text", inlineInputValues[i].trim(), addedAdornments);
      completeAdornments.push(textAdornment);
    }
  }
  if (completeAdornments.length === 0 && firstInputValue && firstInputValue.trim()) {
    const firstTextAdornment = createAdornment("text", firstInputValue.trim(), []);
    completeAdornments.push(firstTextAdornment);
  }
  return completeAdornments;
};
const processAdornmentsToInputsAndVariables = (addedAdornments) => {
  const processedAdornments = [];
  const inputValues = [];
  let firstInputText = "";
  let firstNonTextIndex = addedAdornments.findIndex((a) => a.type !== "text");
  if (firstNonTextIndex > 0) {
    for (let i = 0; i < firstNonTextIndex; i++) {
      if (addedAdornments[i].type === "text") {
        firstInputText += addedAdornments[i].value || "";
      }
    }
  } else if (firstNonTextIndex === -1) {
    for (let i = 0; i < addedAdornments.length; i++) {
      if (addedAdornments[i].type === "text") {
        firstInputText += addedAdornments[i].value || "";
      }
    }
  }
  for (let i = 0; i < addedAdornments.length; i++) {
    if (addedAdornments[i].type !== "text") {
      processedAdornments.push(addedAdornments[i]);
    }
  }
  for (let i = 0; i < processedAdornments.length; i++) {
    const adornmentIndex = addedAdornments.findIndex((a) => a === processedAdornments[i]);
    let textValue = "";
    let j = adornmentIndex + 1;
    while (j < addedAdornments.length && addedAdornments[j].type === "text") {
      textValue += addedAdornments[j].value || "";
      j++;
    }
    inputValues.push(textValue);
  }
  inputValues.push("");
  return { processedAdornments, inputValues, firstInputText };
};
const InlineInput = (props) => {
  const { value, onChange, onKeyDown, inputRef } = props;
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
    "input",
    {
      type: "text",
      className: styles$i.inlineInput,
      value: value || "",
      onChange: (e4) => onChange(e4.target.value),
      onKeyDown,
      style: { width: calculateInputWidthCanvas(value, inputRef == null ? void 0 : inputRef.current) },
      ref: inputRef
    }
  );
};
const AdornmentSelector = (props) => {
  const { type, options, value, changeFn, removeFn, index, maxMenuItemsUntilScroll } = props;
  const [selectValue, setSelectValue] = reactExports.useState(value);
  const handleSelectChange = (event) => {
    var _a2;
    const newValue = event.target.value;
    if (newValue === "Remove") {
      removeFn(index);
    } else {
      setSelectValue(__(newValue, "beyondseo"));
      const selectedOption = options.find((opt) => opt.value === newValue);
      const optionKey = (_a2 = selectedOption == null ? void 0 : selectedOption.key) == null ? void 0 : _a2.toString();
      changeFn(index, newValue, optionKey);
    }
  };
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
    B8e,
    {
      options,
      value: selectValue,
      onChange: handleSelectChange,
      theme: "grey",
      containToSelectWidth: true,
      maxMenuItemsUntilScroll,
      className: type === "separator" ? styles$i.separatorSelector : void 0
    }
  ) });
};
const SeparatorOptions = [
  { value: "Remove", key: "remove", title: __("Remove", "beyondseo") },
  { value: "»", key: "angle_double", title: "»" },
  { value: "›", key: "angle_single", title: "›" },
  { value: "*", key: "asterisk", title: "*" },
  { value: "\\", key: "backslash", title: "\\" },
  { value: "•", key: "bullet", title: "•" },
  { value: ":", key: "colon", title: ":" },
  { value: "-", key: "dash", title: "-" },
  { value: "·", key: "dot", title: "·" },
  { value: "…", key: "ellipsis", title: "…" },
  { value: "—", key: "em_dash", title: "—" },
  { value: "–", key: "en_dash", title: "–" },
  { value: "=", key: "equals", title: "=" },
  { value: "|", key: "pipe", title: "|" },
  { value: "+", key: "plus", title: "+" },
  { value: "/", key: "slash", title: "/" },
  { value: "~", key: "tilde", title: "~" }
];
const VariableOptions = [
  { value: "Remove", key: "remove", title: __("Remove", "beyondseo") },
  { value: "Post title", key: "post_title", title: __("Post title", "beyondseo") },
  { value: "Post slug", key: "post_slug", title: __("Post slug", "beyondseo") },
  // { value: "Post modified", key: "post_modified", title: "Post modified" },
  { value: "Post date", key: "post_date", title: __("Post date", "beyondseo") },
  { value: "Author name", key: "author_name", title: __("Author name", "beyondseo") },
  { value: "Site title", key: "site_title", title: __("Site title", "beyondseo") },
  { value: "Site tagline", key: "site_tagline", title: __("Site tagline", "beyondseo") },
  { value: "Category", key: "category", title: __("Category", "beyondseo") },
  { value: "Categories", key: "categories", title: __("Categories", "beyondseo") },
  // { value: "Tag", key: "tag", title: "Tag" },
  // { value: "Tags", key: "tags", title: "Tags" },
  { value: "Current date", key: "current_date", title: __("Current date", "beyondseo") },
  { value: "Current time", key: "current_time", title: __("Current time", "beyondseo") },
  { value: "Year", key: "year", title: __("Year", "beyondseo") },
  { value: "Month", key: "month", title: __("Month", "beyondseo") },
  { value: "Day", key: "day", title: __("Day", "beyondseo") },
  // { value: "Archive title", key: "archive_title", title: "Archive title" },
  { value: "Search term", key: "search_term", title: __("Search term", "beyondseo") }
];
const AdornmentItem = (props) => {
  const { adornment, index, onChangeVariable, onRemoveVariable } = props;
  const getOptionsForType = (type) => {
    switch (type) {
      case "variable":
        return VariableOptions;
      case "separator":
        return SeparatorOptions;
      default:
        return [];
    }
  };
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(styles$i.adornmentItem), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
    AdornmentSelector,
    {
      type: adornment.type,
      options: getOptionsForType(adornment.type),
      index,
      value: adornment.value,
      changeFn: onChangeVariable,
      removeFn: onRemoveVariable,
      maxMenuItemsUntilScroll: adornment.type === "variable" ? 10 : void 0
    },
    `${adornment.key}-${index}-${adornment.value}`
  ) });
};
const AdornmentContainer = (props) => {
  const {
    firstInputValue,
    onFirstInputChange,
    onFirstInputKeyDown,
    adornments,
    inlineInputValues,
    onInlineInputChange,
    onInlineInputKeyDown,
    onChangeVariable,
    onRemoveVariable,
    firstInputRef,
    lastInputRef,
    onContainerClick,
    isError
  } = props;
  const inlineInputRefs = reactExports.useRef([]);
  reactExports.useEffect(() => {
    inlineInputRefs.current = adornments.map(() => reactExports.createRef());
  }, [adornments.length]);
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
    "div",
    {
      className: Kt(styles$i.variablesContainer, isError ? styles$i.variablesContainerError : void 0),
      onClick: onContainerClick,
      children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(styles$i.adornmentItem), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
          InlineInput,
          {
            value: firstInputValue,
            onChange: onFirstInputChange,
            onKeyDown: onFirstInputKeyDown,
            inputRef: firstInputRef
          }
        ) }),
        adornments.map((adornment, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs(reactExports.Fragment, { children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            AdornmentItem,
            {
              adornment,
              index,
              onChangeVariable,
              onRemoveVariable
            }
          ),
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            InlineInput,
            {
              value: inlineInputValues[index] || "",
              onChange: (value) => onInlineInputChange(index, value),
              onKeyDown: (e4) => onInlineInputKeyDown(e4, index),
              inputRef: index === adornments.length - 1 ? lastInputRef : inlineInputRefs.current[index]
            }
          )
        ] }, `adornment-group-${index}`))
      ]
    }
  );
};
const useAdornmentState = (props) => {
  const { initialAdornments, onSave, maxAdornments, maxChars, value, defaultValue = "" } = props;
  const firstTextAdornment = initialAdornments.find((a) => a.type === "text");
  (firstTextAdornment == null ? void 0 : firstTextAdornment.value) || "";
  const shouldUseDefault = initialAdornments.length === 0 && (!value || value === "");
  const [addedAdornments, setAddedAdornments] = reactExports.useState(initialAdornments);
  const [inlineInputValues, setInlineInputValues] = reactExports.useState([]);
  const [firstInputValue, setFirstInputValue] = reactExports.useState(shouldUseDefault && defaultValue ? defaultValue : "");
  const isOverCharLimit = reactExports.useCallback(() => {
    if (maxChars === void 0) return false;
    const effectiveValue = value || firstInputValue;
    if (!effectiveValue) return false;
    return false;
  }, [maxChars, value, firstInputValue]);
  const isEmpty = reactExports.useCallback(() => {
    const hasAdornments = addedAdornments.length > 0;
    const hasFirstInputText = firstInputValue.trim().length > 0;
    const hasInlineText = inlineInputValues.some((val) => val.trim().length > 0);
    return !hasAdornments && !hasFirstInputText && !hasInlineText;
  }, [addedAdornments, firstInputValue, inlineInputValues]);
  const hasError = reactExports.useCallback(() => {
    return isEmpty();
  }, [isEmpty]);
  reactExports.useEffect(() => {
    if (addedAdornments.length > 0 && inlineInputValues.length === 0) {
      const { processedAdornments, inputValues, firstInputText } = processAdornmentsToInputsAndVariables(addedAdornments);
      setFirstInputValue(firstInputText);
      setInlineInputValues(inputValues);
      if (processedAdornments.length !== addedAdornments.length) {
        setAddedAdornments(processedAdornments);
      }
    }
  }, [addedAdornments, inlineInputValues.length]);
  const handleAddAdornment = reactExports.useCallback(
    (e4, type, options) => {
      e4.preventDefault();
      if (addedAdornments.length >= maxAdornments) return;
      const firstOption = options.find((opt) => opt.value !== "Remove");
      const explicitType = type === "separator" ? "separator" : "variable";
      const newAdornment = createAdornment(explicitType, firstOption, addedAdornments);
      const newAdornments = [...addedAdornments, newAdornment];
      setAddedAdornments(newAdornments);
      const newInlineInputValues = [...inlineInputValues, ""];
      setInlineInputValues(newInlineInputValues);
      const completeAdornments = buildCompleteAdornmentsArray(firstInputValue, newInlineInputValues, newAdornments);
      onSave(completeAdornments);
    },
    [addedAdornments, inlineInputValues, firstInputValue, onSave]
  );
  const handleRemoveVariable = reactExports.useCallback(
    (index) => {
      const newAdornments = addedAdornments.filter((_, i) => i !== index);
      const nonTextAdornments = addedAdornments.filter((adornment) => adornment.type !== "text");
      const nonTextIndex = nonTextAdornments.findIndex((_, i) => {
        const nonTextBeforeCount = addedAdornments.slice(0, index).filter((a) => a.type !== "text").length;
        return i === nonTextBeforeCount;
      });
      const newInlineInputValues = [...inlineInputValues];
      let updatedFirstInputValue = firstInputValue;
      if (nonTextIndex !== -1) {
        const currentInputValue = newInlineInputValues[nonTextIndex] || "";
        if (nonTextIndex === 0) {
          updatedFirstInputValue = firstInputValue + currentInputValue;
        } else if (nonTextIndex > 0) {
          newInlineInputValues[nonTextIndex - 1] = (newInlineInputValues[nonTextIndex - 1] || "") + currentInputValue;
        } else if (newInlineInputValues.length > 1) {
          newInlineInputValues[1] = currentInputValue + (newInlineInputValues[1] || "");
        }
        newInlineInputValues.splice(nonTextIndex, 1);
      }
      setFirstInputValue(updatedFirstInputValue);
      setInlineInputValues(newInlineInputValues);
      setAddedAdornments(newAdornments);
      const completeAdornments = buildCompleteAdornmentsArray(
        updatedFirstInputValue,
        newInlineInputValues,
        newAdornments
      );
      onSave(completeAdornments);
    },
    [addedAdornments, onSave, inlineInputValues, firstInputValue]
  );
  const handleChangeVariable = reactExports.useCallback(
    (index, value2, optionKey) => {
      const newAdornments = addedAdornments.map((adornment, i) => {
        if (i !== index) return adornment;
        return updateAdornmentKey(adornment, value2, optionKey);
      });
      setAddedAdornments(newAdornments);
      const completeAdornments = buildCompleteAdornmentsArray(firstInputValue, inlineInputValues, newAdornments);
      onSave(completeAdornments);
    },
    [addedAdornments, onSave, inlineInputValues, firstInputValue]
  );
  const handleFirstInputChange = reactExports.useCallback(
    (value2) => {
      setFirstInputValue(value2);
      const completeAdornments = buildCompleteAdornmentsArray(value2, inlineInputValues, addedAdornments);
      onSave(completeAdornments);
    },
    [addedAdornments, inlineInputValues, onSave]
  );
  const handleInlineInputChange = reactExports.useCallback(
    (index, value2) => {
      const newValues = [...inlineInputValues];
      newValues[index] = value2;
      setInlineInputValues(newValues);
      const completeAdornments = buildCompleteAdornmentsArray(firstInputValue, newValues, addedAdornments);
      onSave(completeAdornments);
    },
    [inlineInputValues, addedAdornments, firstInputValue, onSave]
  );
  return {
    addedAdornments,
    inlineInputValues,
    firstInputValue,
    handleAddAdornment,
    handleRemoveVariable,
    handleChangeVariable,
    handleFirstInputChange,
    handleInlineInputChange,
    isOverCharLimit,
    isEmpty,
    hasError
  };
};
const useKeyboardNavigation = (props) => {
  const { handleRemoveVariable, firstInputRef } = props;
  const handleInlineInputKeyDown = reactExports.useCallback(
    (event, index) => {
      const input = event.target;
      const hasSelection = input.selectionStart !== input.selectionEnd;
      if (event.key === "Backspace" && input.selectionStart === 0 && !hasSelection) {
        event.preventDefault();
        let inputToFocus = null;
        const allInputs = document.querySelectorAll(`.${styles$i.inlineInput}`);
        if (allInputs[index]) {
          inputToFocus = allInputs[index];
        } else {
          inputToFocus = firstInputRef.current;
        }
        handleRemoveVariable(index);
        setTimeout(() => {
          if (inputToFocus) {
            inputToFocus.focus();
          } else if (firstInputRef.current) {
            firstInputRef.current.focus();
          }
        }, 10);
      } else if (event.key === "ArrowLeft" && input.selectionStart === 0 && !hasSelection) {
        event.preventDefault();
        let previousInput = null;
        if (index === 0 || index === -1) {
          previousInput = firstInputRef.current;
        } else {
          const allInlineInputs = Array.from(document.querySelectorAll(`.${styles$i.inlineInput}`)).filter(
            (el2) => el2 !== firstInputRef.current
          );
          if (allInlineInputs[index - 1]) {
            previousInput = allInlineInputs[index - 1];
          } else {
            previousInput = firstInputRef.current;
          }
        }
        if (previousInput) {
          previousInput.focus();
          const length = previousInput.value.length;
          previousInput.setSelectionRange(length, length);
        }
      } else if (event.key === "ArrowRight" && input.selectionStart === input.value.length && !hasSelection) {
        event.preventDefault();
        let nextInput = null;
        if (index === -1 || input === firstInputRef.current) {
          const allInlineInputs = Array.from(document.querySelectorAll(`.${styles$i.inlineInput}`)).filter(
            (el2) => el2 !== firstInputRef.current
          );
          if (allInlineInputs.length > 0) {
            nextInput = allInlineInputs[0];
          }
        } else {
          const allInlineInputs = Array.from(document.querySelectorAll(`.${styles$i.inlineInput}`)).filter(
            (el2) => el2 !== firstInputRef.current
          );
          const currentInputIndex = allInlineInputs.findIndex((el2) => el2 === input);
          if (currentInputIndex !== -1 && currentInputIndex < allInlineInputs.length - 1) {
            nextInput = allInlineInputs[currentInputIndex + 1];
          }
        }
        if (nextInput) {
          nextInput.focus();
          nextInput.setSelectionRange(0, 0);
        }
      }
    },
    [handleRemoveVariable, firstInputRef, styles$i.inlineInput]
  );
  return { handleInlineInputKeyDown };
};
const MultiSelectAdornmentInput = (props) => {
  const {
    title,
    variableConfig: variableConfig2,
    separatorConfig: separatorConfig2,
    disable,
    initialAdornments,
    onSave,
    maxAdornments = 10,
    value,
    maxChars,
    defaultValue
  } = props;
  const lastInputRef = reactExports.useRef(null);
  const firstInputRef = reactExports.useRef(null);
  const {
    addedAdornments,
    inlineInputValues,
    firstInputValue,
    handleAddAdornment,
    handleRemoveVariable,
    handleChangeVariable,
    handleFirstInputChange,
    handleInlineInputChange,
    isOverCharLimit,
    isEmpty,
    hasError
  } = useAdornmentState({
    initialAdornments,
    onSave,
    maxAdornments,
    maxChars,
    value,
    defaultValue
  });
  const { handleInlineInputKeyDown } = useKeyboardNavigation({
    handleRemoveVariable,
    firstInputRef
  });
  const hasInitialized = reactExports.useRef(false);
  reactExports.useEffect(() => {
    if (!hasInitialized.current && defaultValue && (value === defaultValue || !value)) {
      const adornmentsToSave = addedAdornments.length > 0 ? addedAdornments : initialAdornments;
      if (adornmentsToSave.length === 0 && defaultValue) {
        const defaultAdornment = {
          key: "default",
          value: defaultValue,
          type: "text"
        };
        onSave([defaultAdornment]);
      } else if (adornmentsToSave.length > 0) {
        onSave(adornmentsToSave);
      }
      hasInitialized.current = true;
    }
  }, [defaultValue, value, addedAdornments, initialAdornments]);
  const focusLastInput = reactExports.useCallback(
    (e4) => {
      if (e4.target === e4.currentTarget) {
        if (addedAdornments.filter((a) => a.type !== "text").length === 0 && firstInputRef.current) {
          firstInputRef.current.focus();
        } else if (lastInputRef.current) {
          lastInputRef.current.focus();
        }
      }
    },
    [lastInputRef, firstInputRef, addedAdornments]
  );
  const handleEmojiSelect = reactExports.useCallback(
    (emoji) => {
      if (addedAdornments.length === 0) {
        handleFirstInputChange((firstInputValue || "") + emoji);
      } else {
        const lastIndex = addedAdornments.length - 1;
        const currentValue = inlineInputValues[lastIndex] || "";
        handleInlineInputChange(lastIndex, currentValue + emoji);
      }
    },
    [addedAdornments, inlineInputValues, firstInputValue, handleFirstInputChange, handleInlineInputChange]
  );
  const nonTextAdornments = addedAdornments.filter((adornment) => adornment.type !== "text");
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
    Li,
    {
      testId: "multi-adornment-input-container",
      className: Kt(styles$i.multiSelectorAdornmentInput),
      children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx(
          AdornmentControls,
          {
            title,
            disabled: disable,
            onAddAdornment: handleAddAdornment,
            onEmojiSelect: handleEmojiSelect,
            adornmentCount: addedAdornments.length,
            maxAdornments,
            variableConfig: variableConfig2,
            separatorConfig: separatorConfig2
          }
        ),
        /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$i.selectAdornmentInputContainer, children: !disable && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            AdornmentContainer,
            {
              firstInputValue,
              onFirstInputChange: handleFirstInputChange,
              onFirstInputKeyDown: (e4) => handleInlineInputKeyDown(e4, -1),
              adornments: nonTextAdornments,
              inlineInputValues,
              onInlineInputChange: handleInlineInputChange,
              onInlineInputKeyDown: handleInlineInputKeyDown,
              onChangeVariable: handleChangeVariable,
              onRemoveVariable: handleRemoveVariable,
              firstInputRef,
              lastInputRef,
              onContainerClick: focusLastInput,
              isError: hasError()
            }
          ),
          /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$i.feedbackContainer, children: [
            isEmpty() && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(styles$i.errorMessage), children: __("This field cannot be empty", "beyondseo") }),
            maxChars !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
              "div",
              {
                className: Kt(
                  styles$i.characterCounter,
                  isOverCharLimit() || isEmpty() ? styles$i.characterCounterError : void 0
                ),
                children: [
                  nonTextAdornments.length === 0 ? firstInputValue.length || 0 : (value == null ? void 0 : value.length) || 0,
                  " / ",
                  maxChars,
                  " ",
                  __("recommended", "beyondseo")
                ]
              }
            )
          ] })
        ] }) })
      ]
    }
  );
};
const WPWebPageTitleMetaTagObjectType = {
  BeyondSEO_Domain_Integrations_WordPress_Seo_Entities_WebPages_Content_Elements_MetaTags_Tags_WPWebPageTitleMetaTag: "BeyondSEO\\Domain\\Integrations\\WordPress\\Seo\\Entities\\WebPages\\Content\\Elements\\MetaTags\\Tags\\WPWebPageTitleMetaTag"
};
const WPVariablesObjectType = {
  BeyondSEO_Domain_Integrations_WordPress_Common_Entities_WPVariables: "BeyondSEO\\Domain\\Integrations\\WordPress\\Common\\Entities\\WPVariables"
};
const updateUIFromResponse = (response, dispatch) => {
  if (!(response == null ? void 0 : response.payload) || !("title" in response.payload)) return;
  const serverResponse = response.payload.title;
  const { setPreviewTitle, setSeoTitle, setParsedTitle } = AppSlice;
  if (serverResponse.parsed) {
    dispatch(setParsedTitle(serverResponse.parsed));
    dispatch(setPreviewTitle(serverResponse.parsed));
  } else {
    dispatch(setParsedTitle(null));
  }
  dispatch(setSeoTitle(serverResponse.parsed));
};
const mapAdornmentToWPVariable = (adornment, post_id) => {
  return {
    post_id,
    key: adornment.key,
    value: adornment.value,
    type: adornment.type,
    objectType: WPWebPageTitleMetaTagObjectType.BeyondSEO_Domain_Integrations_WordPress_Seo_Entities_WebPages_Content_Elements_MetaTags_Tags_WPWebPageTitleMetaTag
  };
};
const createTitleObject = (titleText2, post_id, variableElements) => {
  return {
    content: titleText2,
    postId: getPathId(),
    variables: {
      elements: variableElements ? variableElements.map((adornment) => mapAdornmentToWPVariable(adornment, post_id)) : [],
      objectType: WPVariablesObjectType.BeyondSEO_Domain_Integrations_WordPress_Common_Entities_WPVariables
    },
    objectType: WPWebPageTitleMetaTagObjectType.BeyondSEO_Domain_Integrations_WordPress_Seo_Entities_WebPages_Content_Elements_MetaTags_Tags_WPWebPageTitleMetaTag
  };
};
const saveToServer = (titleText2, post_id, variableElements, dispatch, metaTagsData) => {
  const base = createTitleObject(titleText2, post_id, variableElements);
  const titleToSave = {
    ...base,
    ...(metaTagsData == null ? void 0 : metaTagsData.title) && {
      id: metaTagsData.title.id
    }
  };
  return dispatch(
    MetatagsStore.postApiMetatagsByPostIdThunk({
      postId: getPathId(),
      requestBody: { title: titleToSave },
      queryParams: { noCache: true }
    })
  ).then((response) => {
    updateUIFromResponse(response, dispatch);
    return response;
  }).catch((error) => {
    console.error("Error updating meta tags:", error);
    throw error;
  });
};
var lodash_debounce;
var hasRequiredLodash_debounce;
function requireLodash_debounce() {
  if (hasRequiredLodash_debounce) return lodash_debounce;
  hasRequiredLodash_debounce = 1;
  var FUNC_ERROR_TEXT = "Expected a function";
  var NAN = 0 / 0;
  var symbolTag = "[object Symbol]";
  var reTrim = /^\s+|\s+$/g;
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
  var reIsBinary = /^0b[01]+$/i;
  var reIsOctal = /^0o[0-7]+$/i;
  var freeParseInt = parseInt;
  var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
  var root = freeGlobal || freeSelf || Function("return this")();
  var objectProto = Object.prototype;
  var objectToString = objectProto.toString;
  var nativeMax = Math.max, nativeMin = Math.min;
  var now = function() {
    return root.Date.now();
  };
  function debounce2(func, wait, options) {
    var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
    if (typeof func != "function") {
      throw new TypeError(FUNC_ERROR_TEXT);
    }
    wait = toNumber(wait) || 0;
    if (isObject2(options)) {
      leading = !!options.leading;
      maxing = "maxWait" in options;
      maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
      trailing = "trailing" in options ? !!options.trailing : trailing;
    }
    function invokeFunc(time) {
      var args = lastArgs, thisArg = lastThis;
      lastArgs = lastThis = void 0;
      lastInvokeTime = time;
      result = func.apply(thisArg, args);
      return result;
    }
    function leadingEdge(time) {
      lastInvokeTime = time;
      timerId = setTimeout(timerExpired, wait);
      return leading ? invokeFunc(time) : result;
    }
    function remainingWait(time) {
      var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, result2 = wait - timeSinceLastCall;
      return maxing ? nativeMin(result2, maxWait - timeSinceLastInvoke) : result2;
    }
    function shouldInvoke(time) {
      var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
      return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
    }
    function timerExpired() {
      var time = now();
      if (shouldInvoke(time)) {
        return trailingEdge(time);
      }
      timerId = setTimeout(timerExpired, remainingWait(time));
    }
    function trailingEdge(time) {
      timerId = void 0;
      if (trailing && lastArgs) {
        return invokeFunc(time);
      }
      lastArgs = lastThis = void 0;
      return result;
    }
    function cancel() {
      if (timerId !== void 0) {
        clearTimeout(timerId);
      }
      lastInvokeTime = 0;
      lastArgs = lastCallTime = lastThis = timerId = void 0;
    }
    function flush() {
      return timerId === void 0 ? result : trailingEdge(now());
    }
    function debounced() {
      var time = now(), isInvoking = shouldInvoke(time);
      lastArgs = arguments;
      lastThis = this;
      lastCallTime = time;
      if (isInvoking) {
        if (timerId === void 0) {
          return leadingEdge(lastCallTime);
        }
        if (maxing) {
          timerId = setTimeout(timerExpired, wait);
          return invokeFunc(lastCallTime);
        }
      }
      if (timerId === void 0) {
        timerId = setTimeout(timerExpired, wait);
      }
      return result;
    }
    debounced.cancel = cancel;
    debounced.flush = flush;
    return debounced;
  }
  function isObject2(value) {
    var type = typeof value;
    return !!value && (type == "object" || type == "function");
  }
  function isObjectLike(value) {
    return !!value && typeof value == "object";
  }
  function isSymbol(value) {
    return typeof value == "symbol" || isObjectLike(value) && objectToString.call(value) == symbolTag;
  }
  function toNumber(value) {
    if (typeof value == "number") {
      return value;
    }
    if (isSymbol(value)) {
      return NAN;
    }
    if (isObject2(value)) {
      var other = typeof value.valueOf == "function" ? value.valueOf() : value;
      value = isObject2(other) ? other + "" : other;
    }
    if (typeof value != "string") {
      return value === 0 ? value : +value;
    }
    value = value.replace(reTrim, "");
    var isBinary = reIsBinary.test(value);
    return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
  }
  lodash_debounce = debounce2;
  return lodash_debounce;
}
var lodash_debounceExports = requireLodash_debounce();
const debounce = /* @__PURE__ */ getDefaultExportFromCjs(lodash_debounceExports);
function useElementorDirtyTrigger(deps) {
  const isElementorContext = reactExports.useMemo(() => {
    return typeof window !== "undefined" && (typeof window.elementor !== "undefined" || typeof window.$e !== "undefined");
  }, []);
  const canMarkDirty = reactExports.useMemo(() => {
    var _a2, _b2, _c, _d, _e;
    if (!isElementorContext) return false;
    const e4 = window.elementor;
    return !!window.$e || !!((_b2 = (_a2 = e4 == null ? void 0 : e4.settings) == null ? void 0 : _a2.page) == null ? void 0 : _b2.setFlagEditorChange) || !!((_c = e4 == null ? void 0 : e4.saver) == null ? void 0 : _c.setFlagSaveRequired) || !!((_e = (_d = e4 == null ? void 0 : e4.settings) == null ? void 0 : _d.editor) == null ? void 0 : _e.setFlagEditorChange);
  }, [isElementorContext]);
  const markDirty = reactExports.useCallback(() => {
    var _a2, _b2, _c, _d, _e, _f;
    if (!isElementorContext) {
      return;
    }
    try {
      if (typeof window.rankingCoachMarkElementorDirty === "function") {
        window.rankingCoachMarkElementorDirty();
        return;
      }
      if ((_a2 = window.$e) == null ? void 0 : _a2.internal) {
        window.$e.internal("document/save/set-is-modified", { status: true });
        return;
      }
      const e4 = window.elementor;
      let touched = false;
      if ((_c = (_b2 = e4 == null ? void 0 : e4.settings) == null ? void 0 : _b2.page) == null ? void 0 : _c.setFlagEditorChange) {
        e4.settings.page.setFlagEditorChange(true);
        touched = true;
      }
      if ((_d = e4 == null ? void 0 : e4.saver) == null ? void 0 : _d.setFlagSaveRequired) {
        e4.saver.setFlagSaveRequired(true);
        touched = true;
      }
      if ((_f = (_e = e4 == null ? void 0 : e4.settings) == null ? void 0 : _e.editor) == null ? void 0 : _f.setFlagEditorChange) {
        e4.settings.editor.setFlagEditorChange(true);
        touched = true;
      }
      if (!touched && false) ;
    } catch (err) {
    }
  }, [isElementorContext]);
  const initialValues = reactExports.useRef(null);
  const hasInitialized = reactExports.useRef(false);
  reactExports.useEffect(() => {
    if (!hasInitialized.current) {
      initialValues.current = deps ? JSON.stringify(deps) : null;
      hasInitialized.current = true;
      return;
    }
    const currentValues = deps ? JSON.stringify(deps) : null;
    const hasChanged = initialValues.current !== currentValues;
    if (hasChanged && deps && canMarkDirty) {
      markDirty();
    }
  }, deps ? [...deps, canMarkDirty] : []);
  return { markDirty, isElementorContext, canMarkDirty };
}
const VARIABLE_BUTTON_TEXT = __("Add Variable", "beyondseo");
const SEPARATOR_BUTTON_TEXT = __("Add Separator", "beyondseo");
const seoMetaTitleEditorProps = {
  title: "",
  description: "",
  setSeoTitle: () => {
  },
  setSeoDescription: () => {
  }
};
const variableConfig = {
  options: VariableOptions,
  buttonText: __(VARIABLE_BUTTON_TEXT, "beyondseo")
};
const separatorConfig = {
  options: SeparatorOptions,
  buttonText: __(SEPARATOR_BUTTON_TEXT, "beyondseo")
};
const SEOMetaTitleEditor = (props) => {
  var _a2, _b2;
  const { metaTagsData, previewTitle: previewTitle2 } = useSelector((state) => state.app);
  const { currentPost, isCurrentPostLoaded } = useSelector((state) => state.post);
  const [switchOpen, setSwitchOpen] = reactExports.useState(false);
  const dispatch = useAppDispatch();
  useElementorDirtyTrigger([previewTitle2]);
  const initialAdornments = reactExports.useMemo(
    () => {
      var _a3, _b3;
      return (((_b3 = (_a3 = metaTagsData == null ? void 0 : metaTagsData.title) == null ? void 0 : _a3.variables) == null ? void 0 : _b3.elements) ?? []).map((variable) => ({
        key: variable.key,
        value: variable.value,
        type: variable.type
      }));
    },
    [(_b2 = (_a2 = metaTagsData == null ? void 0 : metaTagsData.title) == null ? void 0 : _a2.variables) == null ? void 0 : _b2.elements]
  );
  const debouncedSaveRef = reactExports.useRef(
    debounce((titleText2, variableElements) => {
      saveToServer(titleText2, currentPost == null ? void 0 : currentPost.id, variableElements, dispatch, metaTagsData);
    }, 500)
  );
  const handleSave = reactExports.useCallback(
    (variableElements) => {
      const elementsToUse = variableElements ?? [];
      debouncedSaveRef.current(previewTitle2 || "", elementsToUse);
    },
    [previewTitle2]
  );
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { testId: "seo-title-editor-container", className: Kt(styles$j.seoTitleEditorContainer), children: isCurrentPostLoaded && initialAdornments && /* @__PURE__ */ jsxRuntimeExports.jsx(
    MultiSelectAdornmentInput,
    {
      disable: switchOpen,
      title: __("Title", "beyondseo"),
      variableConfig,
      separatorConfig,
      initialAdornments,
      onSave: handleSave,
      value: previewTitle2 || "",
      maxChars: 120,
      defaultValue: currentPost == null ? void 0 : currentPost.title.rendered
    }
  ) });
};
const seoDescriptionEditorContainer = "SEOMetaDescriptionEditor-module__seo-description-editor-container___pyi4u";
const descriptionContainer = "SEOMetaDescriptionEditor-module__description-container___V0-81";
const headerControls = "SEOMetaDescriptionEditor-module__header-controls___gsu6D";
const headerControlsTitle = "SEOMetaDescriptionEditor-module__header-controls-title___edrUl";
const textareaContainer$1 = "SEOMetaDescriptionEditor-module__textarea-container___tMcQ0";
const styles$h = {
  seoDescriptionEditorContainer,
  descriptionContainer,
  headerControls,
  headerControlsTitle,
  textareaContainer: textareaContainer$1
};
const seoMetaDescriptionEditorProps = {
  title: "",
  description: "",
  setSeoTitle: () => {
  },
  setSeoDescription: () => {
  }
};
const SEOMetaDescriptionEditor = (props) => {
  const { description: seoDescription } = props;
  const [textareaValue, setTextareaValue] = reactExports.useState(null);
  const [switchOpen, setSwitchOpen] = reactExports.useState(false);
  const [initialSaveDone, setInitialSaveDone] = reactExports.useState(false);
  const { metaTagsData, previewDescription } = useSelector((state) => state.app);
  const { setSeoDescription, setPreviewDescription } = AppSlice;
  const { currentPost } = useSelector((state) => state.post);
  const dispatch = useAppDispatch();
  useElementorDirtyTrigger([previewDescription]);
  const debouncedSaveRef = reactExports.useRef(
    debounce((descriptionText) => {
      const oldDescription = { ...metaTagsData == null ? void 0 : metaTagsData.description };
      if (oldDescription) {
        oldDescription.content = descriptionText;
      }
      dispatch(
        MetatagsStore.postApiMetatagsByPostIdThunk({
          postId: getPathId(),
          requestBody: {
            description: oldDescription
          },
          queryParams: { noCache: true }
        })
      ).then((response) => {
        return response;
      }).catch((error) => {
        throw error;
      });
    }, 800)
  );
  const handleSaveDescription = reactExports.useCallback(
    (descriptionText) => {
      debouncedSaveRef.current(descriptionText);
    },
    [dispatch, metaTagsData]
  );
  const { formConfig } = t9e({
    slice: AppSlice,
    reducer: (state) => state.app,
    inputs: {
      seoDescription: {
        validation: {
          urlNotAllowed: true,
          maxLength: 300
        }
      },
      seoTitle: {}
    }
  });
  reactExports.useEffect(() => {
    setTextareaValue(seoDescription);
  }, [seoDescription]);
  reactExports.useEffect(() => {
    if (!initialSaveDone && seoDescription && !(metaTagsData == null ? void 0 : metaTagsData.description)) {
      const descriptionObject = {
        content: seoDescription,
        postId: getPathId(),
        objectType: "App\\Domain\\Integrations\\WordPress\\Seo\\Entities\\WebPages\\Content\\Elements\\MetaTags\\Tags\\WPWebPageDescriptionMetaTag"
      };
      dispatch(
        MetatagsStore.postApiMetatagsByPostIdThunk({
          postId: getPathId(),
          requestBody: { description: descriptionObject },
          queryParams: { noCache: true }
        })
      ).then((response) => {
        if (response.meta.requestStatus === "fulfilled") {
          setInitialSaveDone(true);
        }
      });
    }
  }, [seoDescription, metaTagsData, initialSaveDone, dispatch]);
  const TEXT_RECOMMENDED = __("recommended", "beyondseo");
  reactExports.useEffect(() => {
    const appendRecommendedText = () => {
      const counterElements = document.querySelectorAll(
        ".paragraph.rc-text.text.text-wrap.text-initial.notranslate.vanguard-input-counter:not([data-recommended])"
      );
      counterElements.forEach((element) => {
        if (element.textContent && !element.hasAttribute("data-recommended")) {
          element.textContent = `${element.textContent} ${TEXT_RECOMMENDED}`;
          element.setAttribute("data-recommended", "true");
        }
      });
    };
    appendRecommendedText();
    const observer = new MutationObserver(appendRecommendedText);
    observer.observe(document.body, {
      childList: true,
      subtree: true
    });
    return () => observer.disconnect();
  }, []);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
    Li,
    {
      testId: "seo-description-editor-container",
      className: Kt(styles$h.seoDescriptionEditorContainer),
      children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$h.descriptionContainer, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$h.headerControls, children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$h.headerControlsTitle, fontWeight: si.medium, children: __("Description", "beyondseo") }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(
          N8e,
          {
            config: formConfig,
            onChange: (e4) => {
            },
            children: /* @__PURE__ */ jsxRuntimeExports.jsx(
              D8e,
              {
                formconfig: formConfig.seoDescription,
                required: false,
                className: styles$h.textareaContainer,
                labelType: "outer",
                disabled: switchOpen,
                placeholder: __("Enter SEO meta description", "beyondseo"),
                rows: 3,
                counter: true,
                maxLength: 300,
                defaultValue: (currentPost == null ? void 0 : currentPost.excerpt.filtered) || "",
                onChange: (e4) => {
                  const value = e4.target.value;
                  setTextareaValue(value);
                  dispatch(setSeoDescription(value));
                  dispatch(setPreviewDescription(value));
                  handleSaveDescription(value);
                },
                value: textareaValue || ""
              }
            )
          }
        )
      ] })
    }
  );
};
const seoKeywordsManagerContainer = "KeywordManager-module__seo-keywords-manager-container___ztKFq";
const seoKeywordsManagerTitle = "KeywordManager-module__seo-keywords-manager-title___7B5Ym";
const seoKeywordsManagerSubtitle = "KeywordManager-module__seo-keywords-manager-subtitle___v0BhT";
const searchInputContainer = "KeywordManager-module__search-input-container___wAozC";
const autocompleteInputContainer = "KeywordManager-module__autocomplete-input-container___vFaEO";
const tableHeaderTitle = "KeywordManager-module__table-header-title___ss4Tj";
const keywordPrimaryTableContainer = "KeywordManager-module__keyword-primary-table-container___yz-yn";
const nodataContainer = "KeywordManager-module__nodata-container___MdQke";
const keywordAdditionalTableContainer = "KeywordManager-module__keyword-additional-table-container___QbrTn";
const styles$g = {
  seoKeywordsManagerContainer,
  seoKeywordsManagerTitle,
  seoKeywordsManagerSubtitle,
  searchInputContainer,
  autocompleteInputContainer,
  tableHeaderTitle,
  keywordPrimaryTableContainer,
  nodataContainer,
  keywordAdditionalTableContainer
};
const keywordsTableContainer = "KeywordsTable-module__keywords-table-container___foP8O";
const tableHeader = "KeywordsTable-module__table-header___PvqMN";
const statusBadge = "KeywordsTable-module__status-badge___Ui74o";
const tableBody = "KeywordsTable-module__table-body___WNViw";
const tableRow$2 = "KeywordsTable-module__table-row___95DWm";
const tableCellKeyword = "KeywordsTable-module__table-cell-keyword___AOm70";
const tableCellActions = "KeywordsTable-module__table-cell-actions___nGydZ";
const keywordTasksContainer = "KeywordsTable-module__keywordTasksContainer___4tdbV";
const taskItem = "KeywordsTable-module__taskItem___D7DUm";
const taskItemHeader = "KeywordsTable-module__taskItemHeader___VxF-a";
const iconText$1 = "KeywordsTable-module__iconText___g-VE5";
const expandIcon = "KeywordsTable-module__expandIcon___2hbul";
const caretDown = "KeywordsTable-module__caretDown___uYuIF";
const caretUp = "KeywordsTable-module__caretUp___DOr4E";
const taskDescription = "KeywordsTable-module__taskDescription___Io5cK";
const taskItemSkeleton = "KeywordsTable-module__taskItemSkeleton___fFFnh";
const noTasksMessage = "KeywordsTable-module__noTasksMessage___DIvzr";
const styles$f = {
  keywordsTableContainer,
  tableHeader,
  statusBadge,
  tableBody,
  tableRow: tableRow$2,
  tableCellKeyword,
  tableCellActions,
  keywordTasksContainer,
  taskItem,
  taskItemHeader,
  iconText: iconText$1,
  expandIcon,
  caretDown,
  caretUp,
  taskDescription,
  taskItemSkeleton,
  noTasksMessage
};
const KeywordsTable = (props) => {
  const { hideSwapButton, title, elements, isPrimaryKeywordTable = false } = props;
  const dispatch = useAppDispatch();
  const { optimiserResult, primaryKeyword, additionalKeywords } = useSelector((state) => state.app);
  const { setPrimaryKeyword, setAdditionalKeywords } = AppSlice;
  const [isDeleting, setIsDeleting] = reactExports.useState({});
  const [expandedTasks, setExpandedTasks] = reactExports.useState({});
  const { triggerRecalculation } = useScoreRecalculation();
  const [isLoadingTasks, setIsLoadingTasks] = reactExports.useState(true);
  const [tasksLoaded, setTasksLoaded] = reactExports.useState(false);
  reactExports.useRef(null);
  reactExports.useEffect(() => {
    if (isPrimaryKeywordTable && primaryKeyword) {
      setIsLoadingTasks(true);
      setTasksLoaded(false);
      setExpandedTasks({});
    }
  }, [isPrimaryKeywordTable, primaryKeyword]);
  reactExports.useEffect(() => {
    if (isPrimaryKeywordTable && optimiserResult) {
      const timer = setTimeout(() => {
        setIsLoadingTasks(false);
        setTasksLoaded(true);
      }, 300);
      return () => clearTimeout(timer);
    }
  }, [isPrimaryKeywordTable, optimiserResult]);
  reactExports.useEffect(() => {
    return () => {
      setIsLoadingTasks(true);
      setTasksLoaded(false);
      setExpandedTasks({});
    };
  }, []);
  const isAIGenerated = (keyword) => {
    return keyword.endsWith("*");
  };
  const cleanKeyword = (keyword) => {
    return keyword.endsWith("*") ? keyword.slice(0, -1) : keyword;
  };
  const getPrimaryKeywordTasks = () => {
    var _a2, _b2;
    if (!optimiserResult || !((_b2 = (_a2 = optimiserResult.categorizedSuggestions) == null ? void 0 : _a2.primaryKeyword) == null ? void 0 : _b2.elements)) {
      return [];
    }
    return optimiserResult.categorizedSuggestions.primaryKeyword.elements.map(
      (suggestion, index) => {
        let priorityString = "medium";
        if (suggestion.priority) {
          if (suggestion.priority <= 2) priorityString = "high";
          else if (suggestion.priority >= 5) priorityString = "low";
        }
        let status = "pending";
        if (suggestion.activationThreshold !== void 0 && suggestion.activationThreshold <= 0.5) {
          status = "completed";
        }
        return {
          id: suggestion.issueType || index.toString(),
          title: suggestion.title || "Untitled suggestion",
          description: suggestion.description || "No description available",
          priority: priorityString,
          status
        };
      }
    );
  };
  const keywordTasks = isPrimaryKeywordTable ? getPrimaryKeywordTasks() : [];
  const toggleTask = (taskId) => {
    setExpandedTasks((prev) => ({
      ...prev,
      [taskId]: !prev[taskId]
    }));
  };
  const getTaskIcon = (status) => {
    switch (status) {
      case "completed":
        return {
          icon: Ln.generate,
          iconSize: ai.small
          // color: "#21c445",
          // fillColor: "#e9fbed",
          // hasCircle: true,
          // circleSize: 20,
        };
      case "pending":
      default:
        return {
          icon: Ln.generate,
          iconSize: ai.small
          // color: "#ff675c",
          // fillColor: "#ffeceb",
          // hasCircle: true,
          // circleSize: 20,
        };
    }
  };
  const swapCallback = async (keyword) => {
    await dispatch(
      MetatagsStore.postApiMetatagsKeywordSwapByPostIdThunk({
        postId: getPathId(),
        requestBody: {
          keyword
        },
        queryParams: {}
      })
    );
    triggerRecalculation(true);
  };
  const removeCallback = async (keyword) => {
    try {
      setIsDeleting((prev) => ({ ...prev, [keyword]: true }));
      if (keyword === primaryKeyword) {
        dispatch(setPrimaryKeyword(null));
      } else {
        const newAdditionalKeywords = additionalKeywords.filter((k) => k !== keyword);
        dispatch(setAdditionalKeywords(newAdditionalKeywords));
      }
      const result = await dispatch(
        MetatagsStore.deleteApiMetatagsKeywordByPostIdThunk({
          postId: getPathId(),
          requestBody: {
            keyword
          },
          queryParams: {}
        })
      );
      await dispatch(
        MetatagsStore.getApiMetatagsByPostIdThunk({
          postId: getPathId(),
          queryParams: {}
        })
      );
      triggerRecalculation(true);
    } catch (error) {
      await dispatch(
        MetatagsStore.getApiMetatagsByPostIdThunk({
          postId: getPathId(),
          queryParams: {}
        })
      );
    } finally {
      setIsDeleting((prev) => ({ ...prev, [keyword]: false }));
    }
  };
  const renderTasksSkeletons = () => {
    return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.keywordTasksContainer, style: { marginTop: "12px", paddingTop: "8px" }, children: [1, 2, 3].map((item) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.taskItemSkeleton, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.fill, style: { height: 30, marginBottom: 8 } }) }, item)) });
  };
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { testId: "keywords-table-container", className: styles$f.keywordsTableContainer, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.tableHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Va, { if: !!title, children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, fontWeight: si.bold, children: title }) }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.tableBody, children: elements.map((element, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
      /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f.tableRow, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(styles$f.tableCellKeyword), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex", alignItems: "center", gap: "8px", width: "100%" }, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: cleanKeyword(element) }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(Va, { if: isAIGenerated(element), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
            Q8e,
            {
              status: "info",
              icon: Ln.ai,
              hideIcon: false,
              text: __("Generated by AI", "beyondseo"),
              variant: "small",
              iconVariant: "reverse",
              className: Kt(styles$f.statusBadge)
            }
          ) }) })
        ] }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: Kt(styles$f.tableCellActions), children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(Va, { if: !hideSwapButton, children: /* @__PURE__ */ jsxRuntimeExports.jsx(jp, { message: __("Set as primary", "beyondseo"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
            gh,
            {
              className: styles$f.swapButton,
              testId: "cta-swap-button",
              size: uf.small,
              iconLeft: Ln.queriesTarget,
              iconSize: ai.small,
              iconColor: "--n500",
              onClick: () => swapCallback(element),
              type: Vo.default,
              disabled: isDeleting[element]
            }
          ) }) }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(jp, { message: __("Remove keyword", "beyondseo"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
            gh,
            {
              className: styles$f.deleteButton,
              testId: "cta-remove-button",
              size: uf.small,
              iconLeft: Ln.trash,
              iconSize: ai.small,
              iconColor: "--n500",
              onClick: () => removeCallback(element),
              type: Vo.default,
              disabled: isDeleting[element]
            }
          ) })
        ] })
      ] }),
      isPrimaryKeywordTable && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
        isLoadingTasks && renderTasksSkeletons(),
        !isLoadingTasks && keywordTasks.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.keywordTasksContainer, style: { marginTop: "12px", paddingTop: "8px" }, children: keywordTasks.map((task) => {
          getTaskIcon(task.status);
          const isExpanded = expandedTasks[task.id] || false;
          return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f.taskItem, children: [
            /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$f.taskItemHeader, onClick: () => toggleTask(task.id), children: [
              /* @__PURE__ */ jsxRuntimeExports.jsx(
                O8e,
                {
                  icon: Ln.rec,
                  iconColor: "#6c5ce7",
                  verticalAlign: "start",
                  iconSize: ai.small,
                  className: styles$f.iconText,
                  children: capitalizeOnlyFirstLetter(task.title)
                }
              ),
              /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.expandIcon, children: isExpanded ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.caretUp, children: "▲" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$f.caretDown, children: "▼" }) })
            ] }),
            isExpanded && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.taskDescription, children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, color: "--n500", fontSize: 13, children: task.description }) })
          ] }, task.id);
        }) }),
        !isLoadingTasks && tasksLoaded && keywordTasks.length === 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$f.noTasksMessage, style: { marginTop: "12px", paddingTop: "8px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, color: "--n500", children: "No tasks available for this keyword." }) })
      ] })
    ] }, index)) })
  ] });
};
const KeywordManager = () => {
  const [inputValue, setInputValue] = reactExports.useState("");
  const [searchValue, setSearchValue] = reactExports.useState("");
  const [showError, setShowError] = reactExports.useState(false);
  const { primaryKeyword, additionalKeywords } = useSelector((state) => state.app);
  const [keywordsSearchOptions, setKeywordsSearchOptions] = reactExports.useState([]);
  const dispatch = useAppDispatch();
  const { setAdditionalKeywords, setPrimaryKeyword } = AppSlice;
  const [resetKey, setResetKey] = reactExports.useState(0);
  const [isLoading, setIsLoading] = reactExports.useState(false);
  const { triggerRecalculation } = useScoreRecalculation();
  useElementorDirtyTrigger([primaryKeyword, additionalKeywords]);
  const isMounted = reactExports.useRef(true);
  const isValidKeyword = (keyword) => {
    const regex = /^[\p{L}\p{N}\s!@#$%^&*()_+}{±~`-]+$/u;
    return regex.test(keyword);
  };
  reactExports.useEffect(() => {
    return () => {
      isMounted.current = false;
    };
  }, []);
  const resetInputs = () => {
    setSearchValue("");
    setInputValue("");
    setResetKey((prev) => prev + 1);
  };
  const fetchKeywords = reactExports.useCallback(async () => {
    var _a2;
    if (!isMounted.current) return;
    try {
      setIsLoading(true);
      const response = await dispatch(
        MetatagsStore.getApiMetatagsKeywordsByPostIdThunk({
          postId: getPathId(),
          queryParams: { noCache: true, debug: true }
        })
      ).unwrap();
      if (!isMounted.current) return;
      if ((_a2 = response == null ? void 0 : response.keywords) == null ? void 0 : _a2.elements) {
        const keywordArray = Array.isArray(response.keywords.elements) ? response.keywords.elements : [];
        const mappedKeywords = keywordArray.map((keyword) => ({
          name: keyword.keyword || keyword.name || keyword
        }));
        setKeywordsSearchOptions(mappedKeywords);
      } else {
        setKeywordsSearchOptions([]);
      }
    } catch (error) {
    } finally {
      if (isMounted.current) {
        setIsLoading(false);
      }
    }
  }, [dispatch]);
  reactExports.useEffect(() => {
    const handleKeywordsUpdated = () => {
      fetchKeywords();
      triggerRecalculation(true);
    };
    document.addEventListener("rankingcoach-keywords-updated", handleKeywordsUpdated);
    return () => {
      document.removeEventListener("rankingcoach-keywords-updated", handleKeywordsUpdated);
    };
  }, [fetchKeywords]);
  const handleAddKeyword = async (keyword) => {
    if (!keyword.trim() || keyword.trim().length <= 1) return;
    const trimmedKeyword = keyword.trim().toLowerCase();
    if (!isValidKeyword(trimmedKeyword)) {
      setShowError(true);
      resetInputs();
      return;
    }
    setShowError(false);
    if ((primaryKeyword == null ? void 0 : primaryKeyword.toLowerCase()) === trimmedKeyword) {
      resetInputs();
      return;
    }
    if (additionalKeywords == null ? void 0 : additionalKeywords.some((k) => k.toLowerCase() === trimmedKeyword)) {
      resetInputs();
      return;
    }
    try {
      setIsLoading(true);
      await dispatch(
        MetatagsStore.putApiMetatagsKeywordByPostIdThunk({
          postId: getPathId(),
          requestBody: {
            keyword: trimmedKeyword
          },
          queryParams: { noCache: true }
        })
      );
      if (primaryKeyword) {
        const updatedAdditionalKeywords = [...additionalKeywords, trimmedKeyword];
        dispatch(setAdditionalKeywords(updatedAdditionalKeywords));
      } else {
        dispatch(setPrimaryKeyword(trimmedKeyword));
      }
      await fetchKeywords();
      triggerRecalculation(true);
      const event = new CustomEvent("rankingcoach-keywords-updated");
      document.dispatchEvent(event);
    } catch (error) {
    } finally {
      setIsLoading(false);
      resetInputs();
    }
  };
  const filteredKeywordsSearchOptions = reactExports.useMemo(() => {
    const selectedKeywordsLowercase = /* @__PURE__ */ new Set([
      ...primaryKeyword ? [primaryKeyword.toLowerCase()] : [],
      ...(additionalKeywords == null ? void 0 : additionalKeywords.map((keyword) => keyword.toLowerCase())) || []
    ]);
    return keywordsSearchOptions.filter((option) => !selectedKeywordsLowercase.has(option.name.toLowerCase()));
  }, [keywordsSearchOptions, primaryKeyword, additionalKeywords]);
  reactExports.useEffect(() => {
    fetchKeywords();
  }, [fetchKeywords]);
  const triggerKeywordGenerator = () => {
    const triggerSEOOptimiserEvent = new CustomEvent("rankingcoach-trigger-keyword-generator");
    document.dispatchEvent(triggerSEOOptimiserEvent);
  };
  reactExports.useEffect(() => {
    if (!primaryKeyword && !(additionalKeywords == null ? void 0 : additionalKeywords.length)) triggerKeywordGenerator();
  }, []);
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { testId: "seo-keywords-manager-container", className: styles$g.seoKeywordsManagerContainer, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$g.seoKeywordsManagerTitle, color: "--n800", children: __("Keywords", "beyondseo") }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$g.seoKeywordsManagerSubtitle, color: "--n800", children: __(
      "Enter the main keyword that best describes the focus of your content. This primary keyword will help search engines understand the core topic of your page and improve your ranking for this specific term.",
      "beyondseo"
    ) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(
      Li,
      {
        testId: "seo-keywords-manager-search-input-container",
        className: styles$g.searchInputContainer,
        children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex", flexDirection: "column", gap: "4px", width: "100%" }, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: { display: "flex", gap: "8px" }, children: [
            /* @__PURE__ */ jsxRuntimeExports.jsx(
              H8e,
              {
                className: styles$g.autocompleteInputContainer,
                placeholder: __("Write words that you want to search", "beyondseo"),
                value: searchValue,
                onChange: (e4, newValue, reason) => {
                  if (reason === "selectOption" && (newValue == null ? void 0 : newValue.name)) {
                    handleAddKeyword(newValue.name);
                  }
                },
                options: filteredKeywordsSearchOptions,
                testId: "search-keywords-input",
                restrictToOptions: false,
                autoSelect: false,
                hideCaret: true,
                hideClearButton: true,
                blurOnSelect: true,
                labelType: "hidden",
                filterOptions: (options) => options,
                optionKey: "name",
                onInputChange: (e4, newValue) => {
                  setShowError(false);
                  setInputValue(newValue);
                  setSearchValue(newValue);
                },
                disabled: isLoading,
                multiple: false,
                onKeyUp: () => {
                },
                onKeyDown: () => {
                },
                autoHighlight: false,
                onBlur: () => {
                },
                onFocus: () => {
                },
                autoComplete: false
              },
              resetKey
            ),
            /* @__PURE__ */ jsxRuntimeExports.jsx(
              gh,
              {
                onClick: () => {
                  const trimmedKeyword = inputValue.trim();
                  if (trimmedKeyword && trimmedKeyword.length > 1 && !isLoading) {
                    handleAddKeyword(inputValue);
                  }
                },
                disabled: isLoading,
                testId: "add-keyword-button",
                children: "Add"
              }
            )
          ] }),
          showError && /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { color: "--e500", className: "error-message", children: __("Certain special characters are not allowed.", "beyondseo") })
        ] })
      }
    ),
    /* @__PURE__ */ jsxRuntimeExports.jsxs(
      Li,
      {
        testId: "seo-keywords-manager-primary-table-container",
        className: styles$g.keywordPrimaryTableContainer,
        children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$g.tableHeaderTitle, color: "--n800", children: __("Primary keyword", "beyondseo") }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(Va, { if: !primaryKeyword, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
            Y8e,
            {
              className: styles$g.nodataContainer,
              testId: "keywords-nodata",
              title: __("Add a primary keyword", "beyondseo"),
              description: __(
                "This keyword should capture a key aspect of your content to boost search visibility",
                "beyondseo"
              ),
              borderRadius: "rounded",
              imgSize: "medium",
              titleType: "text"
            }
          ) }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(Va, { if: !!primaryKeyword, children: /* @__PURE__ */ jsxRuntimeExports.jsx(KeywordsTable, { hideSwapButton: true, elements: [primaryKeyword], isPrimaryKeywordTable: true }) })
        ]
      }
    ),
    /* @__PURE__ */ jsxRuntimeExports.jsxs(
      Li,
      {
        testId: "seo-keywords-manager-additional-table-container",
        className: styles$g.keywordAdditionalTableContainer,
        children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$g.tableHeaderTitle, color: "--n800", children: __("Additional keywords", "beyondseo") }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(Va, { if: !additionalKeywords || additionalKeywords.length === 0, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
            Y8e,
            {
              className: styles$g.nodataContainer,
              testId: "keywords-nodata",
              title: __("Add additional keywords", "beyondseo"),
              description: __(
                "These keywords should capture key aspects of your content to boost search visibility",
                "beyondseo"
              ),
              borderRadius: "rounded",
              imgSize: "medium",
              titleType: "text"
            }
          ) }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(Va, { if: !!additionalKeywords && additionalKeywords.length > 0, children: /* @__PURE__ */ jsxRuntimeExports.jsx(KeywordsTable, { elements: additionalKeywords }) })
        ]
      }
    )
  ] });
};
const SEOMetadataAndKeywords = (props) => {
  const { seoTitle, seoDescription, isMetaTagsDataLoaded, metaTagsData } = useSelector((state) => state.app);
  const { currentPost, isCurrentPostLoaded } = useSelector((state) => state.post);
  const { setSeoTitle, setSeoDescription } = AppSlice;
  const dispatch = useAppDispatch();
  const { triggerRecalculation } = useScoreRecalculation();
  const previousValues = reactExports.useRef({ seoTitle: "", seoDescription: "" });
  reactExports.useEffect(() => {
    if (isCurrentPostLoaded && !(metaTagsData == null ? void 0 : metaTagsData.title)) {
      if (!seoTitle) dispatch(setSeoTitle(currentPost == null ? void 0 : currentPost.title.rendered));
    }
    if (isCurrentPostLoaded && !(metaTagsData == null ? void 0 : metaTagsData.description)) {
      if (!seoDescription) dispatch(setSeoDescription(currentPost == null ? void 0 : currentPost.excerpt.filtered));
    }
  }, [isCurrentPostLoaded, metaTagsData]);
  reactExports.useEffect(() => {
    const currentSeoTitle = seoTitle || "";
    const currentSeoDescription = seoDescription || "";
    if (previousValues.current.seoTitle !== "" || previousValues.current.seoDescription !== "") {
      if (previousValues.current.seoTitle !== currentSeoTitle || previousValues.current.seoDescription !== currentSeoDescription) {
        triggerRecalculation(false);
      }
    }
    previousValues.current = {
      seoTitle: currentSeoTitle,
      seoDescription: currentSeoDescription
    };
  }, [seoTitle, seoDescription, triggerRecalculation]);
  seoMetaTitleEditorProps.title = seoTitle;
  seoMetaTitleEditorProps.description = seoDescription;
  seoMetaTitleEditorProps.setSeoTitle = (title) => dispatch(setSeoTitle(title));
  seoMetaTitleEditorProps.setSeoDescription = (description) => dispatch(setSeoDescription(description));
  seoMetaDescriptionEditorProps.title = seoTitle;
  seoMetaDescriptionEditorProps.description = seoDescription;
  seoMetaDescriptionEditorProps.setSeoTitle = (title) => dispatch(setSeoTitle(title));
  seoMetaDescriptionEditorProps.setSeoDescription = (description) => dispatch(setSeoDescription(description));
  return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Va, { if: isMetaTagsDataLoaded, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: Kt("serp-preview-outer-container", S8e.mb3), children: /* @__PURE__ */ jsxRuntimeExports.jsx(SERPPreview, {}) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: Kt("seo-title-editor-outer-container", S8e.mb3), children: /* @__PURE__ */ jsxRuntimeExports.jsx(SEOMetaTitleEditor, { ...seoMetaTitleEditorProps }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: Kt("seo-description-editor-outer-container", S8e.mb3), children: /* @__PURE__ */ jsxRuntimeExports.jsx(SEOMetaDescriptionEditor, { ...seoMetaDescriptionEditorProps }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: Kt("seo-keywords-manager-outer-container", S8e.mb3), children: /* @__PURE__ */ jsxRuntimeExports.jsx(KeywordManager, {}) })
  ] }) });
};
const messageContainer = "GeneralTabPlaceholder-module__messageContainer___z1c88";
const message = "GeneralTabPlaceholder-module__message___R7-8B";
const styles$e = {
  messageContainer,
  message
};
const GeneralTabPlaceholder = ({ showMessage = false }) => {
  if (showMessage) {
    return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt("general-tab-container", S8e.mt4, S8e.mb4), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: Kt("seo-metadata-and-keywords-container", styles$e.messageContainer), children: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: styles$e.message, children: __("Save draft and refresh page to access BeyondSEO General Tab", "beyondseo") }) }) });
  }
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt("general-tab-container", S8e.mt4, S8e.mb4), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: "seo-metadata-and-keywords-container", children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: Kt("serp-preview-outer-container", S8e.mb3), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.fill, style: { height: 120 } }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: Kt("seo-title-editor-outer-container", S8e.mb3), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.fill, style: { height: 100 } }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: Kt("seo-description-editor-outer-container", S8e.mb3), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.fill, style: { height: 150 } }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: Kt("seo-keywords-manager-outer-container", S8e.mb3), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.fill, style: { height: 100 } }) })
  ] }) });
};
const generalTabContainerOuter = "GeneralTab-module__generalTabContainerOuter___yjqpG";
const generalTabMainContent = "GeneralTab-module__generalTabMainContent___cnVNx";
const styles$d = {
  generalTabContainerOuter,
  generalTabMainContent
};
const tabContent = "Tabs-module__tabContent___v8wE7";
const tabStyles = {
  tabContent
};
const GeneralTab = (props) => {
  const [isLoading, setIsLoading] = reactExports.useState(true);
  const dispatch = useAppDispatch();
  const currentPostId = getPathId();
  const { currentPostType, isEditingPost } = rcWindow == null ? void 0 : rcWindow.rankingCoachReactData;
  const [refreshKey, setRefreshKey] = reactExports.useState(0);
  const { optimiserResult } = useSelector((state) => state.app);
  const { triggerRecalculation } = useScoreRecalculation();
  const { currentPost } = useSelector((state) => state.post);
  const recalculationAttempted = reactExports.useRef(false);
  const loadMetaData = async (postId) => {
    var _a2;
    try {
      setIsLoading(true);
      if (postId && postId > 0) {
        const [metatags, breadcrumbs] = await Promise.all([
          dispatch(
            MetatagsStore.getApiMetatagsByPostIdThunk({
              postId,
              queryParams: {}
            })
          ),
          dispatch(
            SeoStore.postRankingcoachSeoBreadcrumbsThunk({
              requestBody: {
                types: ["page", "post", "archive", "search", "404"],
                context: [],
                post_id: String(postId)
              }
            })
          )
        ]);
        if ((_a2 = breadcrumbs == null ? void 0 : breadcrumbs.payload) == null ? void 0 : _a2.response) {
          dispatch(AppSlice.setBreadcrumbsData(breadcrumbs.payload.response));
        }
      }
    } catch (error) {
    } finally {
      setIsLoading(false);
    }
  };
  reactExports.useEffect(() => {
    const loadData = async () => {
      if (isEditingPost && (currentPostType === "post" || currentPostType === "page")) {
        await loadMetaData(currentPostId);
      } else {
        setIsLoading(false);
      }
    };
    loadData();
    return () => {
    };
  }, [dispatch, currentPostId, isEditingPost, currentPostType, refreshKey]);
  reactExports.useEffect(() => {
    if (optimiserResult === null && !isLoading && currentPostId > 0 && !recalculationAttempted.current) {
      recalculationAttempted.current = true;
      triggerRecalculation(true);
    }
    if (optimiserResult !== null) {
      recalculationAttempted.current = false;
    }
  }, [optimiserResult, isLoading, currentPostId, triggerRecalculation]);
  reactExports.useEffect(() => {
    const handleScoreRecalculated = (event) => {
      const { error } = event.detail;
    };
    document.addEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    return () => {
      document.removeEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    };
  }, []);
  const cannotLoadData = !currentPostId || currentPostId <= 0 || !(isEditingPost && (currentPostType === "post" || currentPostType === "page"));
  const shouldShowMessage = !isLoading && cannotLoadData;
  const shouldShowPlaceholder = isLoading || shouldShowMessage;
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(styles$d.generalTabContainerOuter, tabStyles.tabContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$d.generalTabMainContent, children: shouldShowPlaceholder ? /* @__PURE__ */ jsxRuntimeExports.jsx(GeneralTabPlaceholder, { showMessage: shouldShowMessage }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: "seo-metadata-and-keywords-container", children: /* @__PURE__ */ jsxRuntimeExports.jsx(SEOMetadataAndKeywords, {}) }) }) });
};
const optimisationTabContainer = "OptimisationTab-module__optimisationTabContainer___p-UcZ";
const sidebarWrapper = "OptimisationTab-module__sidebarWrapper___5ZdvC";
const styles$c = {
  optimisationTabContainer,
  sidebarWrapper
};
const gutenbergSidebarContainer = "GutenbergSidebar-module__gutenberg-sidebar-container___1bOj7";
const content = "GutenbergSidebar-module__content___p36wY";
const loadingOptimizationContainer = "GutenbergSidebar-module__loading-optimization-container___rWP0P";
const scoreOverlay = "GutenbergSidebar-module__score-overlay___zBrZ3";
const scoreText = "GutenbergSidebar-module__score-text___LFp-A";
const aiOrbWrapper = "GutenbergSidebar-module__aiOrbWrapper___7O6t4";
const donutChartOverlay = "GutenbergSidebar-module__donutChartOverlay___piZzz";
const donutChart = "GutenbergSidebar-module__donutChart___dV5-T";
const donutRing = "GutenbergSidebar-module__donutRing___KOVsI";
const donutSegment = "GutenbergSidebar-module__donutSegment___-qA--";
const orbContainer = "GutenbergSidebar-module__orbContainer___fg6x4";
const contentWrapper = "GutenbergSidebar-module__contentWrapper___MLgeS";
const orbSection = "GutenbergSidebar-module__orbSection___fqC5u";
const optimisationTitle = "GutenbergSidebar-module__optimisationTitle___wSKvP";
const accordionSection = "GutenbergSidebar-module__accordionSection___rty3g";
const accordionsScrollContainer = "GutenbergSidebar-module__accordionsScrollContainer___ilZSI";
const categoryAndScore = "GutenbergSidebar-module__categoryAndScore___a8tiz";
const score = "GutenbergSidebar-module__score___-goMT";
const scoreGreen = "GutenbergSidebar-module__scoreGreen___0w7vB";
const scoreRed = "GutenbergSidebar-module__scoreRed___2-aJ7";
const accordion = "GutenbergSidebar-module__accordion___-077g";
const contentAccordionContainer = "GutenbergSidebar-module__contentAccordionContainer___7XH8M";
const contentAccordionItem = "GutenbergSidebar-module__contentAccordionItem___q9anF";
const contentItemDetails = "GutenbergSidebar-module__contentItemDetails___5aQJo";
const suggestionItem = "GutenbergSidebar-module__suggestionItem___6q0-J";
const suggestionAccordionItem = "GutenbergSidebar-module__suggestionAccordionItem___woQI9";
const suggestionItemHeader = "GutenbergSidebar-module__suggestionItemHeader___O2rGO";
const suggestionItemTitle = "GutenbergSidebar-module__suggestionItemTitle___u9CHQ";
const suggestionItemToggle = "GutenbergSidebar-module__suggestionItemToggle___64xoU";
const suggestionItemDetails = "GutenbergSidebar-module__suggestionItemDetails___BzRdd";
const expanded = "GutenbergSidebar-module__expanded___m0oOA";
const contentItemHeader = "GutenbergSidebar-module__contentItemHeader___LpRsp";
const contentItemTitle = "GutenbergSidebar-module__contentItemTitle___dn-tn";
const triangle = "GutenbergSidebar-module__triangle___kh9-G";
const contentItemToggle = "GutenbergSidebar-module__contentItemToggle___vs8IU";
const notClickable = "GutenbergSidebar-module__notClickable___VHE8U";
const styles$b = {
  gutenbergSidebarContainer,
  content,
  loadingOptimizationContainer,
  scoreOverlay,
  scoreText,
  aiOrbWrapper,
  donutChartOverlay,
  donutChart,
  donutRing,
  donutSegment,
  orbContainer,
  contentWrapper,
  orbSection,
  optimisationTitle,
  accordionSection,
  accordionsScrollContainer,
  categoryAndScore,
  score,
  scoreGreen,
  scoreRed,
  accordion,
  contentAccordionContainer,
  contentAccordionItem,
  contentItemDetails,
  suggestionItem,
  suggestionAccordionItem,
  suggestionItemHeader,
  suggestionItemTitle,
  suggestionItemToggle,
  suggestionItemDetails,
  expanded,
  contentItemHeader,
  contentItemTitle,
  triangle,
  contentItemToggle,
  notClickable
};
const GutenbergSidebarPlaceholder = () => /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: Kt(styles$b.gutenbergSidebarContainer), children: [
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.orbSection, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(styles$b.orbContainer, styles$b.expanded), children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.aiOrbWrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx(KCe, { state: Ff.Waiting, size: ug.Medium }) }) }) }),
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: S8e.p0_5, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: S8e.mt3, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.rectangle, width: "80%", height: 18 }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: S8e.mt1, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.rectangle, width: "60%", height: 18 }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: S8e.mt3, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.rectangle, width: "100%", height: 56 }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: S8e.mt1, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.rectangle, width: "100%", height: 56 }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: S8e.mt1, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.rectangle, width: "100%", height: 56 }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: S8e.mt1, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { type: tb.rectangle, width: "100%", height: 56 }) })
  ] })
] });
const normalizeToPercent = (score2) => {
  if (typeof score2 !== "number" || Number.isNaN(score2)) return void 0;
  if (score2 <= 1) return Math.round(Math.max(0, Math.min(1, score2)) * 100);
  return Math.round(Math.max(0, Math.min(100, score2)));
};
const getOptimisationMessage = (score2) => {
  const percent = normalizeToPercent(score2);
  if (percent === void 0) return "";
  if (percent <= 50) {
    return __("Poor SEO score — major improvements needed.", "beyondseo");
  }
  if (percent <= 70) {
    return __("You have medium optimisation level on this page", "beyondseo");
  }
  return __("You have good optimisation level on this page", "beyondseo");
};
const SCORE_THRESHOLDS = {
  EXCELLENT: 1,
  GOOD: 0.7,
  IMPROVING: 0.4,
  NORMALIZATION_FACTOR: 100
};
const ICON_STYLES = {
  EXCELLENT: {
    icon: Ln.check,
    color: "#1BA138",
    fillColor: "#e8f5e9",
    hasCircle: true,
    circleSize: 20
  },
  GOOD: {
    icon: Ln.medium,
    color: "#1BA138",
    fillColor: "#e8f5e9",
    hasCircle: true,
    circleSize: 20
  },
  IMPROVING: {
    icon: Ln.exclamation,
    color: "#DB7D0A",
    fillColor: "#FDE5C9",
    hasCircle: false,
    circleSize: 20
  },
  NEEDS_ATTENTION: {
    icon: Ln.exclamation,
    color: "#f44034",
    fillColor: "#feedec",
    hasCircle: true,
    circleSize: 20
  },
  RECOMMENDATION: {
    icon: Ln.rec,
    color: "#6c5ce7",
    hasCircle: false
  }
};
const getIconPropertiesByScore = (score2) => {
  const normalizedScore = score2 > 1 ? score2 / SCORE_THRESHOLDS.NORMALIZATION_FACTOR : score2;
  if (normalizedScore >= SCORE_THRESHOLDS.EXCELLENT) {
    return ICON_STYLES.EXCELLENT;
  } else if (normalizedScore >= SCORE_THRESHOLDS.GOOD) {
    return ICON_STYLES.GOOD;
  } else if (normalizedScore >= SCORE_THRESHOLDS.IMPROVING) {
    return ICON_STYLES.IMPROVING;
  } else {
    return ICON_STYLES.NEEDS_ATTENTION;
  }
};
const formatStatus = (statusName) => {
  const displayStatus = statusName.charAt(0).toUpperCase() + statusName.slice(1).toLowerCase();
  switch (statusName) {
    case "MISSING":
      return {
        displayStatus,
        isPositive: false,
        icon: Ln.close,
        color: "#ff675c",
        fillColor: "#ffeceb"
      };
    case "INCOMPLETE":
      return {
        displayStatus,
        isPositive: true,
        icon: Ln.exclamation,
        color: "#ff9340",
        fillColor: "#fff5eb"
      };
    default:
      return {
        displayStatus,
        isPositive: true,
        icon: Ln.check,
        color: "#21c445",
        fillColor: "#e9fbed"
      };
  }
};
const getScoreStyleClass = (score2) => {
  const normalizedScore = score2 > 1 ? score2 / 100 : score2;
  return normalizedScore >= 0.5 ? styles$b.scoreGreen : styles$b.scoreRed;
};
const calculateDonutStrokeDasharray = (score2) => {
  if (typeof score2 !== "number") return "0 100";
  const normalizedScore = Math.max(0, Math.min(100, score2));
  return `${normalizedScore} ${100 - normalizedScore}`;
};
const transformAnalysisResult = (analysisResult) => {
  var _a2;
  if (!((_a2 = analysisResult == null ? void 0 : analysisResult.contexts) == null ? void 0 : _a2.elements)) return [];
  return analysisResult.contexts.elements.map((context, index) => ({
    id: `context-${index}`,
    title: context.contextName || `Content Group ${index + 1}`,
    // Use contextName with fallback
    score: context.score ? Math.round(context.score * 100) : 0,
    weight: context.weight || 1,
    // Default weight to 1 if not provided
    weightedScore: Math.round((context.score ? Math.round(context.score * 100) : 0) * (context.weight || 1)),
    items: context.factors.elements.map((factor) => {
      var _a3;
      const { displayStatus, isPositive } = formatStatus(factor.status);
      return {
        title: factor.factorName,
        status: displayStatus,
        isPositive,
        score: factor.score || 0,
        // Add score information
        suggestions: ((_a3 = factor.suggestions) == null ? void 0 : _a3.elements.map((s) => {
          return {
            title: s.title,
            description: s.description || ""
          };
        })) || []
      };
    })
  }));
};
const DEFAULT_EXPANDED_CONTENT_ITEMS = {
  h1: true,
  keywords: false,
  paragraphs: false,
  passive: false
};
const DEFAULT_EXPANDED_CATEGORIES = {
  content: true,
  seo: false,
  technical: false
};
const GutenbergSidebarContext = reactExports.createContext(null);
const GutenbergSidebarStateProvider = ({ children }) => {
  const [expandedContentItems, setExpandedContentItems] = reactExports.useState(
    DEFAULT_EXPANDED_CONTENT_ITEMS
  );
  const [expandedCategories, setExpandedCategories] = reactExports.useState(DEFAULT_EXPANDED_CATEGORIES);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
    GutenbergSidebarContext.Provider,
    {
      value: {
        expandedContentItems,
        setExpandedContentItems,
        expandedCategories,
        setExpandedCategories
      },
      children
    }
  );
};
const useGutenbergSidebarState = () => {
  const context = reactExports.useContext(GutenbergSidebarContext);
  if (!context) {
    throw new Error("useGutenbergSidebarState must be used within a GutenbergSidebarStateProvider");
  }
  return context;
};
const SuggestionAccordionItem = (props) => {
  const { suggestion, index, expandedContentItems, handleContentItemExpand } = props;
  const suggestionKey = `suggestion-${suggestion.title.toLowerCase().replace(/\s+/g, "")}-${index}`;
  const isExpanded = expandedContentItems[suggestionKey] || false;
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$b.suggestionAccordionItem, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$b.suggestionItemHeader, onClick: () => handleContentItemExpand(suggestionKey, !isExpanded), children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.suggestionItemTitle, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
        O8e,
        {
          icon: ICON_STYLES.RECOMMENDATION.icon,
          iconColor: ICON_STYLES.RECOMMENDATION.color,
          verticalAlign: "center",
          iconHasCircle: ICON_STYLES.RECOMMENDATION.hasCircle,
          iconSize: ai.small,
          className: styles$b.suggestionItem,
          children: suggestion.title
        }
      ) }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        gh,
        {
          type: Vo.default,
          iconLeft: isExpanded ? Ln.caretUp : Ln.caretDown,
          size: uf.small,
          onClick: (e4) => {
            e4.stopPropagation();
            handleContentItemExpand(suggestionKey, !isExpanded);
          },
          className: styles$b.suggestionItemToggle
        }
      )
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(styles$b.suggestionItemDetails, isExpanded ? styles$b.expanded : ""), children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, color: "--n600", fontSize: 13, children: suggestion.description }) })
  ] });
};
const ContentAccordionItem = (props) => {
  const { item, index, expandedContentItems, handleContentItemExpand } = props;
  const itemKey = item.title.toLowerCase().replace(/\s+/g, "");
  const isExpanded = expandedContentItems[itemKey] || false;
  const iconProps = item.score !== void 0 ? getIconPropertiesByScore(item.score) : {
    icon: item.status === "Incomplete" ? Ln.exclamation : item.isPositive ? Ln.check : Ln.close,
    color: item.status === "Incomplete" ? "#ff9340" : item.isPositive ? "#21c445" : "#ff675c",
    fillColor: item.status === "Incomplete" ? "#fff5eb" : item.isPositive ? "#e9fbed" : "#ffeceb",
    hasCircle: true
  };
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$b.contentAccordionItem, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsxs(
      "div",
      {
        className: Kt(styles$b.contentItemHeader, item.suggestions.length === 0 ? styles$b.notClickable : ""),
        onClick: () => {
          return item.suggestions.length > 0 && handleContentItemExpand(itemKey, !isExpanded);
        },
        children: [
          /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$b.contentItemTitle, children: [
            /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: !iconProps.hasCircle ? styles$b.triangle : "", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
              li,
              {
                color: iconProps.color,
                hasCircle: iconProps.hasCircle,
                fillColor: iconProps.fillColor,
                type: !iconProps.hasCircle ? ai.small : ai.large,
                children: iconProps.icon
              }
            ) }),
            /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { fontSize: 14, type: Er.text, color: "--n600", children: item.title })
          ] }),
          item.suggestions.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
            gh,
            {
              type: Vo.default,
              iconLeft: isExpanded ? Ln.caretUp : Ln.caretDown,
              size: uf.small,
              onClick: (e4) => {
                e4.stopPropagation();
                handleContentItemExpand(itemKey, !isExpanded);
              },
              className: styles$b.contentItemToggle
            }
          )
        ]
      }
    ),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(styles$b.contentItemDetails, isExpanded ? styles$b.expanded : ""), children: item.suggestions.map((suggestion, idx) => /* @__PURE__ */ jsxRuntimeExports.jsx(
      SuggestionAccordionItem,
      {
        suggestion,
        index: idx,
        expandedContentItems,
        handleContentItemExpand
      },
      idx
    )) })
  ] }, `content-item-${index}`);
};
const ContentCategoryComponent = (props) => {
  const { category, index, expandedCategories, handleCategoryExpand, expandedContentItems, handleContentItemExpand } = props;
  const isExpanded = expandedCategories[category.id] || false;
  const scoreStyleClass = getScoreStyleClass(category.score);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
    n9e,
    {
      expanded: isExpanded,
      defaultExpanded: index === 0,
      className: styles$b.accordion,
      accordionId: `category-${category.id}`,
      summaryChildren: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$b.categoryAndScore, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsxs(nr, { fontSize: 14, type: Er.text, className: Kt(styles$b.score, scoreStyleClass), children: [
          category.weightedScore,
          "%"
        ] }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { fontSize: 14, type: Er.text, fontWeight: si.bold, color: "--n600", children: category.title })
      ] }),
      detailsChildren: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.contentAccordionContainer, children: category.items.map((item, idx) => /* @__PURE__ */ jsxRuntimeExports.jsx(
        ContentAccordionItem,
        {
          item,
          index: idx,
          expandedContentItems,
          handleContentItemExpand
        },
        idx
      )) }),
      iconSize: ai.small,
      iconName: Ln.caretDown,
      onExpandedChange: (expanded2) => handleCategoryExpand(category.id, expanded2)
    },
    `category-${category.id}`
  );
};
const GutenbergSidebarContent = (props) => {
  const { headerText, overallScore, analysisResult, isLoading } = props;
  const [uiState, setUiState] = reactExports.useState({
    isTransitioning: false,
    isEntering: true
  });
  const containerRef = reactExports.useRef(null);
  const { expandedContentItems, setExpandedContentItems, expandedCategories, setExpandedCategories } = useGutenbergSidebarState();
  const contentCategories = reactExports.useMemo(() => transformAnalysisResult(analysisResult), [analysisResult]);
  reactExports.useEffect(() => {
    setUiState((prev) => ({ ...prev, isEntering: true }));
    const timer = setTimeout(() => {
      setUiState((prev) => ({ ...prev, isEntering: false }));
    }, 100);
    return () => clearTimeout(timer);
  }, []);
  const handleCategoryExpand = (categoryId, expanded2) => {
    setExpandedCategories((prev) => ({
      ...prev,
      [categoryId]: expanded2
    }));
  };
  const handleContentItemExpand = (itemKey, expanded2) => {
    setExpandedContentItems((prev) => ({
      ...prev,
      [itemKey]: expanded2
    }));
  };
  const handleAccordionClick = (e4) => {
    e4.stopPropagation();
  };
  if (typeof overallScore !== "number") {
    return /* @__PURE__ */ jsxRuntimeExports.jsx(GutenbergSidebarPlaceholder, {});
  }
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
    "div",
    {
      ref: containerRef,
      className: Kt(
        styles$b.gutenbergSidebarContainer,
        uiState.isTransitioning ? styles$b.transitioning : "",
        uiState.isEntering ? styles$b.entering : ""
      ),
      style: {
        willChange: uiState.isTransitioning || uiState.isEntering ? "width, height, transform" : "auto"
      },
      children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.content, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: styles$b.loadingOptimizationContainer, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$b.contentWrapper, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$b.orbSection, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: Kt(styles$b.orbContainer, styles$b.expanded), children: [
            /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$b.aiOrbWrapper, children: [
              /* @__PURE__ */ jsxRuntimeExports.jsx(KCe, { state: Ff.Waiting, size: ug.Medium }),
              typeof overallScore === "number" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.donutChartOverlay, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("svg", { viewBox: "0 0 36 36", className: styles$b.donutChart, children: [
                /* @__PURE__ */ jsxRuntimeExports.jsx(
                  "circle",
                  {
                    className: styles$b.donutRing,
                    cx: "18",
                    cy: "18",
                    r: "15",
                    fill: "transparent",
                    strokeWidth: "3.5"
                  }
                ),
                /* @__PURE__ */ jsxRuntimeExports.jsx(
                  "circle",
                  {
                    className: styles$b.donutSegment,
                    cx: "18",
                    cy: "18",
                    r: "15",
                    fill: "transparent",
                    strokeWidth: "3.5",
                    strokeDasharray: calculateDonutStrokeDasharray(overallScore),
                    strokeDashoffset: "0"
                  }
                )
              ] }) })
            ] }),
            typeof overallScore === "number" && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.scoreOverlay, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
              nr,
              {
                type: Er.heading3,
                fontWeight: si.bold,
                color: "#ffffff",
                className: styles$b.scoreText,
                children: `${overallScore}%`
              }
            ) })
          ] }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            nr,
            {
              type: Er.text,
              fontWeight: si.bold,
              color: "--n600",
              className: styles$b.optimisationTitle,
              children: getOptimisationMessage(overallScore)
            }
          )
        ] }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.accordionSection, onClick: handleAccordionClick, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.accordionsScrollContainer, children: contentCategories.map((category, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
          ContentCategoryComponent,
          {
            category,
            index,
            expandedCategories,
            handleCategoryExpand,
            expandedContentItems,
            handleContentItemExpand
          },
          category.id
        )) }) })
      ] }) }) })
    }
  );
};
const GutenbergSidebar = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(GutenbergSidebarStateProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(GutenbergSidebarContent, { ...props }) });
const OptimisationTab = ({ recalculationStart }) => {
  const { optimiserResult } = useSelector((state) => state.app);
  const dispatch = useAppDispatch();
  const [isLoading, setIsLoading] = reactExports.useState(false);
  const fetchAttempted = reactExports.useRef(false);
  const overallScore = reactExports.useMemo(() => {
    if (optimiserResult && typeof optimiserResult.score === "number") {
      return Math.round(optimiserResult.score * 100);
    }
    return void 0;
  }, [optimiserResult]);
  reactExports.useEffect(() => {
    if (recalculationStart) {
      setIsLoading(true);
    } else {
      const timer = setTimeout(() => {
        setIsLoading(false);
      }, 500);
      return () => clearTimeout(timer);
    }
  }, [recalculationStart]);
  reactExports.useEffect(() => {
    const fetchData = async () => {
      if (!optimiserResult && !fetchAttempted.current) {
        fetchAttempted.current = true;
        setIsLoading(true);
        try {
          await dispatch(
            OptimiserStore.getApiOptimiserByPostIdThunk({
              postId: getPathId(),
              queryParams: { noCache: true }
            })
          );
        } catch (error) {
        } finally {
          setIsLoading(false);
        }
      }
    };
    if (optimiserResult) {
      fetchAttempted.current = false;
    }
    fetchData();
  }, [dispatch, optimiserResult]);
  reactExports.useEffect(() => {
    const handleScoreRecalculated = (event) => {
      setIsLoading(false);
    };
    document.addEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    return () => {
      document.removeEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    };
  }, []);
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$c.optimisationTabContainer, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$c.sidebarWrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
    GutenbergSidebar,
    {
      headerText: __("SEO Plug-in", "beyondseo"),
      overallScore,
      analysisResult: optimiserResult,
      isLoading
    }
  ) }) });
};
const SchemaTabPlaceholder = () => {
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(tabStyles.tabContent, "optimisation-tab-container"), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: Kt(S8e.dFlex, S8e.gap8, S8e.flexWrap), children: [
    /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: S8e.flexGrow4, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 100, height: 24 }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 40, className: S8e.mt2 }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: S8e.mt4, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 150, height: 40 }) }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: S8e.mt4, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 200, height: 20 }) })
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: S8e.flexGrow1, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 158 }) })
  ] }) });
};
const SchemaTab = () => {
  const dispatch = useAppDispatch();
  let currentPostId = getPathId();
  const { currentPost, isCurrentPostLoaded } = useSelector((state) => state.post);
  const { schemaMarkup } = useSelector((state) => state.app);
  const { triggerRecalculation } = useScoreRecalculation();
  const [schemaTypes, setSchemaTypes] = reactExports.useState([]);
  const [selectedSchemaType, setSelectedSchemaType] = reactExports.useState("BlogPosting");
  const [isLoading, setIsLoading] = reactExports.useState(true);
  const [isInitialized, setIsInitialized] = reactExports.useState(false);
  const [isGenerating, setIsGenerating] = reactExports.useState(false);
  const [showSuccess, setShowSuccess] = reactExports.useState(false);
  const handleButtonClick = async () => {
    var _a2;
    if (currentPostId <= 0) {
      return;
    }
    try {
      setIsGenerating(true);
      setShowSuccess(false);
      const response = await dispatch(
        SeoStore.postRankingcoachSeoSchemaMarkupSaveByIdThunk({
          id: currentPostId,
          requestBody: {
            postId: currentPostId.toString(),
            selectedSchema: selectedSchemaType
          },
          queryParams: {}
        })
      );
      if ((_a2 = response == null ? void 0 : response.payload) == null ? void 0 : _a2.response) {
        setShowSuccess(true);
      }
      triggerRecalculation(true);
    } catch (error) {
      setShowSuccess(false);
    } finally {
      setIsGenerating(false);
    }
  };
  reactExports.useEffect(() => {
    const initializeSchema = async () => {
      var _a2, _b2;
      try {
        if (schemaMarkup) {
          if (((_a2 = schemaMarkup.schemaTypes) == null ? void 0 : _a2.length) > 0) {
            setSchemaTypes(schemaMarkup.schemaTypes);
          }
          if (schemaMarkup.currentPostSchemaType) {
            setSelectedSchemaType(schemaMarkup.currentPostSchemaType);
          } else if (((_b2 = schemaMarkup.schemaTypes) == null ? void 0 : _b2.length) > 0) {
            setSelectedSchemaType(schemaMarkup.schemaTypes[0]);
          }
          setIsInitialized(true);
          setIsLoading(false);
        }
      } catch (error) {
        setIsLoading(false);
      }
    };
    if (schemaMarkup) {
      initializeSchema();
    }
  }, [schemaMarkup]);
  reactExports.useEffect(() => {
    const fetchSchemaData = async () => {
      setIsLoading(true);
      try {
        await dispatch(
          SeoStore.getRankingcoachSeoSchemaMarkupByIdThunk({
            id: currentPostId
          })
        );
      } catch (error) {
        setIsLoading(false);
      }
    };
    if (currentPostId > 0) {
      fetchSchemaData();
    }
  }, [currentPostId]);
  reactExports.useEffect(() => {
  }, [selectedSchemaType]);
  reactExports.useEffect(() => {
    if (isCurrentPostLoaded) {
      currentPostId = (currentPost == null ? void 0 : currentPost.id) ? currentPost.id : 0;
    }
  }, [isCurrentPostLoaded]);
  reactExports.useEffect(() => {
    const handleScoreRecalculated = (event) => {
      const { error } = event.detail;
    };
    document.addEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    return () => {
      document.removeEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    };
  }, []);
  if (isLoading || !isInitialized) {
    return /* @__PURE__ */ jsxRuntimeExports.jsx(SchemaTabPlaceholder, {});
  }
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(tabStyles.tabContent, "optimisation-tab-container"), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: Kt(S8e.dFlex, S8e.gap8, S8e.flexWrap), children: [
    /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: Kt(S8e.flexGrow4), children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { fontWeight: si.bold, children: __("Schema in use", "beyondseo") }),
      !isLoading && /* @__PURE__ */ jsxRuntimeExports.jsx(
        B8e,
        {
          onChange: (e4) => {
            setSelectedSchemaType(e4.target.value);
          },
          value: selectedSchemaType,
          options: schemaTypes.map((schemaType) => ({
            key: schemaType,
            value: schemaType,
            title: schemaType
          }))
        }
      ),
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        Li,
        {
          className: Kt(
            S8e.mt4,
            S8e.dFlex,
            S8e.justifyContentStart,
            S8e.gap8
          ),
          children: /* @__PURE__ */ jsxRuntimeExports.jsx(
            gh,
            {
              className: S8e.mb1,
              onClick: handleButtonClick,
              isLoading: isGenerating,
              disabled: isLoading || isGenerating,
              children: __("Generate Schema", "beyondseo")
            }
          )
        }
      ),
      (schemaMarkup == null ? void 0 : schemaMarkup.currentPostSchemaData) && showSuccess && /* @__PURE__ */ jsxRuntimeExports.jsx(
        Li,
        {
          className: Kt(S8e.mt4),
          style: { display: "inline-grid", marginTop: 0 },
          children: /* @__PURE__ */ jsxRuntimeExports.jsxs("small", { style: { color: "#28a745", marginTop: "5px", display: "block" }, children: [
            "✓ ",
            __("Schema generated successfully", "beyondseo")
          ] })
        }
      ),
      (schemaMarkup == null ? void 0 : schemaMarkup.error) && /* @__PURE__ */ jsxRuntimeExports.jsx(
        Li,
        {
          className: Kt(S8e.mt4),
          style: { display: "inline-grid", marginTop: 0 },
          children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
            "div",
            {
              style: {
                backgroundColor: "#f8d7da",
                color: "#721c24",
                padding: "10px",
                borderRadius: "4px",
                border: "1px solid #f5c6cb"
              },
              children: [
                /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: __("Error:", "beyondseo") }),
                " ",
                schemaMarkup.error
              ]
            }
          )
        }
      )
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: S8e.flexGrow1, children: /* @__PURE__ */ jsxRuntimeExports.jsx(SERPPreview, { openInNewTab: true }) })
  ] }) });
};
const socialTabContainer$1 = "SocialTab-module__socialTabContainer___68vDy";
const previewsWrapper$1 = "SocialTab-module__previewsWrapper___Tv2h1";
const formContainer$3 = "SocialTab-module__formContainer___fYVWy";
const textareaContainer = "SocialTab-module__textareaContainer___VxGG8";
const inputWrapper = "SocialTab-module__inputWrapper___yFssc";
const selectContainer = "SocialTab-module__selectContainer___mpOaE";
const styles$a = {
  socialTabContainer: socialTabContainer$1,
  previewsWrapper: previewsWrapper$1,
  formContainer: formContainer$3,
  textareaContainer,
  inputWrapper,
  selectContainer
};
const previewContainer$2 = "FacebookPreview-module__previewContainer___4RYX1";
const previewHeader$2 = "FacebookPreview-module__previewHeader___O5S-r";
const previewImage$2 = "FacebookPreview-module__previewImage___BqDjD";
const previewContent$1 = "FacebookPreview-module__previewContent___zN6gQ";
const previewDomain$2 = "FacebookPreview-module__previewDomain___VqfAa";
const previewTitle$1 = "FacebookPreview-module__previewTitle___syHQV";
const previewIcon$1 = "FacebookPreview-module__previewIcon___zo-oQ";
const previewIconSvg$2 = "FacebookPreview-module__previewIconSvg___845m6";
const styles$9 = {
  previewContainer: previewContainer$2,
  previewHeader: previewHeader$2,
  previewImage: previewImage$2,
  previewContent: previewContent$1,
  previewDomain: previewDomain$2,
  previewTitle: previewTitle$1,
  previewIcon: previewIcon$1,
  previewIconSvg: previewIconSvg$2
};
const FacebookPreview = ({
  title = __("Your page title will appear here", "beyondseo"),
  domain = __("yourdomain.com", "beyondseo"),
  imageUrl
}) => {
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$9.previewContainer, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$9.previewHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
      li,
      {
        children: Ln.facebook,
        className: styles$9.previewIcon,
        svgClassName: styles$9.previewIconSvg,
        fillColor: "#1877F2",
        color: "#FFFFFF",
        hasCircle: true,
        circleSize: 20,
        style: { width: "20px", height: "20px" }
      }
    ) }),
    imageUrl && /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: imageUrl, alt: "Preview", className: styles$9.previewImage }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$9.previewContent, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$9.previewDomain, children: domain }),
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$9.previewTitle, children: title })
    ] })
  ] });
};
const previewContainer$1 = "XPreview-module__previewContainer___3fBzX";
const previewHeader$1 = "XPreview-module__previewHeader___PIjH8";
const previewIconSvg$1 = "XPreview-module__previewIconSvg___5cuzq";
const imageWrapper = "XPreview-module__imageWrapper___Zk0yz";
const previewImage$1 = "XPreview-module__previewImage___vl6vo";
const imageCaption = "XPreview-module__imageCaption___3a3Z2";
const previewLink = "XPreview-module__previewLink___7Cds-";
const previewFrom = "XPreview-module__previewFrom___ot1Uo";
const previewDomain$1 = "XPreview-module__previewDomain___bsKbQ";
const styles$8 = {
  previewContainer: previewContainer$1,
  previewHeader: previewHeader$1,
  previewIconSvg: previewIconSvg$1,
  imageWrapper,
  previewImage: previewImage$1,
  imageCaption,
  previewLink,
  previewFrom,
  previewDomain: previewDomain$1
};
const XIconRound = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='256'%20height='256'%20viewBox='0%200%20256%20256'%20xml:space='preserve'%3e%3cg%20style='stroke:%20none;%20stroke-width:%200;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20none;%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='translate(1.4065934065934016%201.4065934065934016)%20scale(2.81%202.81)'%3e%3cpolygon%20points='24.89,23.01%2057.79,66.99%2065.24,66.99%2032.34,23.01%20'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(0,0,0);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'/%3e%3cpath%20d='M%2045%200%20L%2045%200%20C%2020.147%200%200%2020.147%200%2045%20v%200%20c%200%2024.853%2020.147%2045%2045%2045%20h%200%20c%2024.853%200%2045%20-20.147%2045%20-45%20v%200%20C%2090%2020.147%2069.853%200%2045%200%20z%20M%2056.032%2070.504%20L%2041.054%2050.477%20L%2022.516%2070.504%20h%20-4.765%20L%2038.925%2047.63%20L%2017.884%2019.496%20h%2016.217%20L%2047.895%2037.94%20l%2017.072%20-18.444%20h%204.765%20L%2050.024%2040.788%20l%2022.225%2029.716%20H%2056.032%20z'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(0,0,0);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e";
const XPreview = ({
  title = __("Your page title will appear here", "beyondseo"),
  domain = __("yourdomain.com", "beyondseo"),
  imageUrl
}) => {
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$8.previewContainer, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$8.previewHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: XIconRound, alt: "X Logo", className: styles$8.previewIconSvg }) }),
    imageUrl && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$8.imageWrapper, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: imageUrl, alt: "Preview", className: styles$8.previewImage }),
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$8.imageCaption, children: title })
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$8.previewLink, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$8.previewFrom, children: [
        __("From", "beyondseo"),
        " "
      ] }),
      /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$8.previewDomain, children: domain })
    ] })
  ] });
};
const previewContainer = "LinkedInPreview-module__previewContainer___G-whL";
const previewHeader = "LinkedInPreview-module__previewHeader___u8I0w";
const previewIcon = "LinkedInPreview-module__previewIcon___vKyew";
const previewIconSvg = "LinkedInPreview-module__previewIconSvg___vG-ve";
const previewBody = "LinkedInPreview-module__previewBody___-96J4";
const previewImage = "LinkedInPreview-module__previewImage___ixPUz";
const previewContent = "LinkedInPreview-module__previewContent___51jbY";
const previewTitle = "LinkedInPreview-module__previewTitle___OiHgd";
const previewDomain = "LinkedInPreview-module__previewDomain___2IaGM";
const styles$7 = {
  previewContainer,
  previewHeader,
  previewIcon,
  previewIconSvg,
  previewBody,
  previewImage,
  previewContent,
  previewTitle,
  previewDomain
};
const LinkedInPreview = ({
  title = __("Your page title will appear here", "beyondseo"),
  domain = __("yourdomain.com", "beyondseo"),
  imageUrl
}) => {
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$7.previewContainer, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$7.previewHeader, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
      li,
      {
        children: Ln.linkedin,
        className: styles$7.previewIcon,
        svgClassName: styles$7.previewIconSvg,
        hasCircle: true,
        circleSize: 20,
        fillColor: "#0A66C2",
        color: "#FFFFFF",
        style: { width: "20px", height: "20px" }
      }
    ) }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$7.previewBody, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        "img",
        {
          className: styles$7.previewImage,
          src: imageUrl,
          alt: "Preview"
        }
      ),
      /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$7.previewContent, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$7.previewTitle, children: title }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$7.previewDomain, children: domain })
      ] })
    ] })
  ] });
};
const socialTabContainer = "SocialTabPlaceholder-module__socialTabContainer___QPsU9";
const previewsWrapper = "SocialTabPlaceholder-module__previewsWrapper___bgfMv";
const formContainer$2 = "SocialTabPlaceholder-module__formContainer___50gJw";
const styles$6 = {
  socialTabContainer,
  previewsWrapper,
  formContainer: formContainer$2
};
const SocialTabPlaceholder = () => {
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$6.socialTabContainer, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: S8e.mt4, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 100, height: 24 }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$6.previewsWrapper, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 158 }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 158 }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 158 })
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$6.formContainer, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 670, height: 80 }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 670, height: 120 })
    ] })
  ] }) });
};
const _SocialStore = class _SocialStore extends HttpStore {
  /** 
  * Get MetaTags 
  */
  /** 
  * Get all Social MetaTags 
  * Get MetaTags 
  */
  getApiSocialByPostId(postId, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/social/${postId}`), queryParams, signal);
  }
  /** 
  * Save MetaTag Keywords 
  */
  /** 
  * Update all Social MetaTags 
  * Save MetaTag Keywords 
  */
  postApiSocialByPostId(postId, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/social/${postId}`), requestBody, queryParams, signal, contentType);
  }
  /** 
  * Get Social Image Sources 
  */
  /** 
  * Get all Social Image Sources 
  * Get Social Image Sources 
  */
  getApiSocialImageSourcesByPostId(postId, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/social/${postId}/image_sources`), queryParams, signal);
  }
};
_SocialStore.getApiSocialByPostIdAbortManager = new AbortControllersManager();
_SocialStore.getApiSocialByPostIdThunk = createAsyncThunk("getApiSocialByPostId", async ({ postId, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SocialStore.getApiSocialByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      socialStore.getApiSocialByPostId(postId, queryParams, signal)
    );
    _SocialStore.getApiSocialByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SocialStore.getApiSocialByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SocialStore.getApiSocialByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/social/{postId}");
_SocialStore.getApiSocialByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/social/{postId}(.*)";
_SocialStore.postApiSocialByPostIdAbortManager = new AbortControllersManager();
_SocialStore.postApiSocialByPostIdThunk = createAsyncThunk("postApiSocialByPostId", async ({ postId, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SocialStore.postApiSocialByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      socialStore.postApiSocialByPostId(postId, requestBody, queryParams, signal, contentType)
    );
    _SocialStore.postApiSocialByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SocialStore.postApiSocialByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SocialStore.postApiSocialByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/social/{postId}");
_SocialStore.postApiSocialByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/social/{postId}(.*)";
_SocialStore.getApiSocialImageSourcesByPostIdAbortManager = new AbortControllersManager();
_SocialStore.getApiSocialImageSourcesByPostIdThunk = createAsyncThunk("getApiSocialImageSourcesByPostId", async ({ postId, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _SocialStore.getApiSocialImageSourcesByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      socialStore.getApiSocialImageSourcesByPostId(postId, queryParams, signal)
    );
    _SocialStore.getApiSocialImageSourcesByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _SocialStore.getApiSocialImageSourcesByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_SocialStore.getApiSocialImageSourcesByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/social/{postId}/image_sources");
_SocialStore.getApiSocialImageSourcesByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/social/{postId}/image_sources(.*)";
let SocialStore = _SocialStore;
const socialStore = new SocialStore();
const PlaceholderImage = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='680.764'%20height='528.354'%20viewBox='0%200%20180.119%20139.794'%3e%3cg%20transform='translate(-13.59%20-66.639)'%20paint-order='fill%20markers%20stroke'%3e%3cpath%20fill='%23d0d0d0'%20d='M13.591%2066.639H193.71v139.794H13.591z'/%3e%3cpath%20d='m118.507%20133.514-34.249%2034.249-15.968-15.968-41.938%2041.937H178.726z'%20opacity='.675'%20fill='%23fff'/%3e%3ccircle%20cx='58.217'%20cy='108.555'%20r='11.773'%20opacity='.675'%20fill='%23fff'/%3e%3cpath%20fill='none'%20d='M26.111%2077.634h152.614v116.099H26.111z'/%3e%3c/g%3e%3c/svg%3e";
var classnames = { exports: {} };
/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/
var hasRequiredClassnames;
function requireClassnames() {
  if (hasRequiredClassnames) return classnames.exports;
  hasRequiredClassnames = 1;
  (function(module) {
    (function() {
      var hasOwn = {}.hasOwnProperty;
      function classNames2() {
        var classes = "";
        for (var i = 0; i < arguments.length; i++) {
          var arg = arguments[i];
          if (arg) {
            classes = appendClass(classes, parseValue(arg));
          }
        }
        return classes;
      }
      function parseValue(arg) {
        if (typeof arg === "string" || typeof arg === "number") {
          return arg;
        }
        if (typeof arg !== "object") {
          return "";
        }
        if (Array.isArray(arg)) {
          return classNames2.apply(null, arg);
        }
        if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
          return arg.toString();
        }
        var classes = "";
        for (var key2 in arg) {
          if (hasOwn.call(arg, key2) && arg[key2]) {
            classes = appendClass(classes, key2);
          }
        }
        return classes;
      }
      function appendClass(value, newClass) {
        if (!newClass) {
          return value;
        }
        if (value) {
          return value + " " + newClass;
        }
        return value + newClass;
      }
      if (module.exports) {
        classNames2.default = classNames2;
        module.exports = classNames2;
      } else {
        window.classNames = classNames2;
      }
    })();
  })(classnames);
  return classnames.exports;
}
var classnamesExports = requireClassnames();
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
const SocialTab = () => {
  const [title, setTitle] = reactExports.useState("");
  const [description, setDescription] = reactExports.useState("");
  const [seoUrl, setSeoUrl] = reactExports.useState(null);
  const [titleSwitchOpen, setTitleSwitchOpen] = reactExports.useState(false);
  const [descriptionSwitchOpen, setDescriptionSwitchOpen] = reactExports.useState(false);
  const [isLoading, setIsLoading] = reactExports.useState(true);
  const [selectedImageSource, setSelectedImageSource] = reactExports.useState("");
  const [imageSources, setImageSources] = reactExports.useState([]);
  const [activeImageUrl, setActiveImageUrl] = reactExports.useState(PlaceholderImage);
  const dispatch = useAppDispatch();
  const { metaTagsData, seoTitle, seoDescription } = useSelector((state) => state.app);
  const { currentPost } = useSelector((state) => state.post);
  const { triggerRecalculation } = useScoreRecalculation();
  const { formConfig } = t9e({
    inputs: {
      socialTitle: {
        validation: {
          urlNotAllowed: true,
          maxLength: 60
        }
      },
      socialDescription: {
        validation: {
          urlNotAllowed: true,
          maxLength: 300
        }
      }
    }
  });
  reactExports.useEffect(() => {
    setSeoUrl((currentPost == null ? void 0 : currentPost.link) ?? null);
    const isGutenberg = typeof wp !== "undefined" && wp.data && wp.data.select("core/editor");
    if (isGutenberg) {
      const { select, subscribe } = wp.data;
      const getSlug = () => {
        var _a2;
        return (_a2 = select("core/editor")) == null ? void 0 : _a2.getEditedPostAttribute("slug");
      };
      const getCurrentPost = () => {
        var _a2;
        return (_a2 = select("core/editor")) == null ? void 0 : _a2.getCurrentPost();
      };
      let currentSlug = getSlug();
      let currentPost2 = getCurrentPost();
      if (!currentSlug || !currentPost2 || !currentPost2.link || !currentPost2.slug) {
        return;
      }
      const savedSlug = currentPost2.slug;
      const previewURL = currentPost2.link;
      const unsubscribe = subscribe(() => {
        const updatedSlug = getSlug();
        if (!updatedSlug || updatedSlug === currentSlug) return;
        currentSlug = updatedSlug;
        const replacedURL = previewURL.replace(new RegExp(`/${savedSlug}(/|\\?|$)`), `/${updatedSlug}$1`);
        setSeoUrl(replacedURL);
      });
      return () => unsubscribe();
    } else {
      const slugInput = document.querySelector("#post_name");
      const permalinkEl = document.querySelector("#sample-permalink");
      if (slugInput && permalinkEl) {
        const getCurrentPermalink = () => permalinkEl.textContent || permalinkEl.innerText || "";
        const observer = new MutationObserver(() => {
          const newPermalink = getCurrentPermalink();
          setSeoUrl(newPermalink);
        });
        observer.observe(permalinkEl, { childList: true, subtree: true });
        observer.observe(slugInput, { attributes: true, childList: true, subtree: true });
        return () => observer.disconnect();
      }
    }
  }, [currentPost]);
  reactExports.useEffect(() => {
    const handleScoreRecalculated = (event) => {
      const { error } = event.detail;
    };
    document.addEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    return () => {
      document.removeEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    };
  }, []);
  reactExports.useEffect(() => {
    const fetchData = async () => {
      var _a2, _b2;
      try {
        const socialData = await dispatch(
          SocialStore.getApiSocialByPostIdThunk({
            postId: getPathId(),
            queryParams: { noCache: true }
          })
        ).unwrap();
        if ((_a2 = socialData == null ? void 0 : socialData.social_title) == null ? void 0 : _a2.content) {
          setTitle(socialData.social_title.content);
        } else if (seoTitle) {
          setTitle(seoTitle);
        }
        if ((_b2 = socialData == null ? void 0 : socialData.social_description) == null ? void 0 : _b2.content) {
          setDescription(socialData.social_description.content);
        } else if (seoDescription) {
          setDescription(seoDescription);
        }
        if (socialData == null ? void 0 : socialData.selected_image_source) {
          setSelectedImageSource(socialData.selected_image_source);
        }
        const imageSourcesData = await dispatch(
          SocialStore.getApiSocialImageSourcesByPostIdThunk({
            postId: getPathId(),
            queryParams: { noCache: true }
          })
        ).unwrap();
        if (imageSourcesData.image_sources) {
          const sources = imageSourcesData.image_sources;
          setImageSources(sources);
          if (!(socialData == null ? void 0 : socialData.selected_image_source)) {
            const defaultSource = sources.find((source) => source.default === true);
            if (defaultSource == null ? void 0 : defaultSource.source) {
              setSelectedImageSource(defaultSource.source);
              updateActiveImageUrl(defaultSource.source, sources);
            } else if (sources.length > 0 && sources[0].source) {
              setSelectedImageSource(sources[0].source);
              updateActiveImageUrl(sources[0].source, sources);
            }
          } else {
            updateActiveImageUrl(socialData.selected_image_source, sources);
          }
        }
      } catch (error) {
        if (seoTitle) setTitle(seoTitle);
        if (seoDescription) setDescription(seoDescription);
      } finally {
        setIsLoading(false);
      }
    };
    fetchData();
  }, [seoTitle, seoDescription]);
  const updateActiveImageUrl = (sourceId, sources = imageSources) => {
    const selectedSource = sources.find((src) => src.source === sourceId);
    if (selectedSource && selectedSource.value && selectedSource.value.startsWith("http")) {
      setActiveImageUrl(selectedSource.value);
    } else {
      setActiveImageUrl(PlaceholderImage);
    }
  };
  const handleSave = async (field, value) => {
    const payload = {};
    if (field === "title") {
      payload.title = {
        type: "social_title",
        parsed: "",
        postId: getPathId(),
        content: value,
        template: "{content}",
        autoGenerated: false,
        objectType: "App\\Domain\\Integrations\\WordPress\\Seo\\Entities\\WebPages\\Content\\Elements\\MetaTags\\Social\\WPWebPageSocialTitleMetaTag"
      };
    } else {
      payload.description = {
        type: "social_description",
        parsed: "",
        postId: getPathId(),
        content: value,
        template: "{content}",
        autoGenerated: false,
        objectType: "App\\Domain\\Integrations\\WordPress\\Seo\\Entities\\WebPages\\Content\\Elements\\MetaTags\\Social\\WPWebPageSocialDescriptionMetaTag"
      };
    }
    await dispatch(
      SocialStore.postApiSocialByPostIdThunk({
        postId: getPathId(),
        requestBody: payload,
        queryParams: { noCache: true }
      })
    );
    triggerRecalculation(true);
  };
  if (isLoading) {
    return /* @__PURE__ */ jsxRuntimeExports.jsx(SocialTabPlaceholder, {});
  }
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$a.socialTabContainer, tabStyles.tabContent), children: isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(SocialTabPlaceholder, {}) : /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { fontWeight: si.bold, children: __("Preview", "beyondseo") }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$a.previewsWrapper, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        FacebookPreview,
        {
          title: title || __("Enter a title", "beyondseo"),
          domain: seoUrl || __("yourdomain.com", "beyondseo"),
          imageUrl: activeImageUrl
        }
      ),
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        XPreview,
        {
          title: title || __("Enter a title", "beyondseo"),
          domain: seoUrl || __("yourdomain.com", "beyondseo"),
          imageUrl: activeImageUrl
        }
      ),
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        LinkedInPreview,
        {
          title: title || __("Enter a title", "beyondseo"),
          domain: seoUrl || __("yourdomain.com", "beyondseo"),
          imageUrl: activeImageUrl
        }
      )
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: S8e.mt2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
      B8e,
      {
        required: true,
        className: styles$a.selectContainer,
        label: __("Image Source", "beyondseo"),
        labelType: "outer",
        onChange: async (e4) => {
          const newValue = e4.target.value;
          setSelectedImageSource(newValue);
          updateActiveImageUrl(newValue);
          await dispatch(
            SocialStore.postApiSocialByPostIdThunk({
              postId: getPathId(),
              requestBody: {
                selectedImageSource: newValue
              },
              queryParams: { noCache: true }
            })
          );
          triggerRecalculation(true);
        },
        value: selectedImageSource,
        options: imageSources.filter((source) => source.source).map((source) => ({
          key: source.source,
          value: source.source,
          title: source.label
        }))
      }
    ) }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$a.formContainer, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$a.inputWrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx(N8e, { config: formConfig, onChange: (e4) => {
      }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
        D8e,
        {
          formconfig: formConfig.socialTitle,
          required: true,
          className: styles$a.textareaContainer,
          label: __("Title", "beyondseo"),
          labelType: "outer",
          placeholder: __("Enter meta title", "beyondseo"),
          rows: 1,
          counter: true,
          maxLength: 60,
          value: title,
          disabled: titleSwitchOpen,
          onChange: (e4) => setTitle(e4.target.value),
          onBlur: (e4) => handleSave("title", e4.target.value)
        }
      ) }) }),
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$a.inputWrapper, children: /* @__PURE__ */ jsxRuntimeExports.jsx(N8e, { config: formConfig, onChange: (e4) => {
      }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
        D8e,
        {
          formconfig: formConfig.socialDescription,
          required: true,
          className: styles$a.textareaContainer,
          label: __("Description", "beyondseo"),
          labelType: "outer",
          placeholder: __("Enter meta description", "beyondseo"),
          rows: 3,
          counter: true,
          maxLength: 300,
          value: description,
          disabled: descriptionSwitchOpen,
          onChange: (e4) => setDescription(e4.target.value),
          onBlur: (e4) => handleSave("description", e4.target.value)
        }
      ) }) })
    ] })
  ] }) });
};
const redirectsContainer$1 = "RedirectsTab-module__redirectsContainer___aApSk";
const tableTitle$1 = "RedirectsTab-module__tableTitle___cQM24";
const tableContainer$3 = "RedirectsTab-module__tableContainer___9FA2I";
const redirectsTableContent$1 = "RedirectsTab-module__redirectsTableContent___jLHze";
const actionButtons = "RedirectsTab-module__actionButtons___md3jG";
const statusCell$1 = "RedirectsTab-module__statusCell___ooVj9";
const addRedirectFormContainer = "RedirectsTab-module__addRedirectFormContainer___UmUWT";
const addRedirectTitle = "RedirectsTab-module__addRedirectTitle___LrVUB";
const redirectInputsContainer = "RedirectsTab-module__redirectInputsContainer___yEErE";
const inputsRow$2 = "RedirectsTab-module__inputsRow___Yw-5U";
const inputContainer = "RedirectsTab-module__inputContainer___buU7h";
const fieldError = "RedirectsTab-module__fieldError___c70Wq";
const urlInput = "RedirectsTab-module__urlInput___6KBc-";
const arrowIconContainer = "RedirectsTab-module__arrowIconContainer___fYCdz";
const selectRow = "RedirectsTab-module__selectRow___L0L-R";
const redirectTypeSelect = "RedirectsTab-module__redirectTypeSelect___tKLU4";
const buttonRow = "RedirectsTab-module__buttonRow___IZtbF";
const header$1 = "RedirectsTab-module__header___vAp0E";
const infoBox$1 = "RedirectsTab-module__infoBox___g6g0S";
const infoTitle$1 = "RedirectsTab-module__infoTitle___K5zjR";
const infoDescription$1 = "RedirectsTab-module__infoDescription___TeBm7";
const usageGuide = "RedirectsTab-module__usageGuide___hCdI-";
const usageGuideTitle = "RedirectsTab-module__usageGuideTitle___N9lGT";
const usageGuideList = "RedirectsTab-module__usageGuideList___goMxW";
const redirectTypeInfo = "RedirectsTab-module__redirectTypeInfo___-ADZ9";
const redirectTypeItem = "RedirectsTab-module__redirectTypeItem___56yjB";
const redirectTypeDescription = "RedirectsTab-module__redirectTypeDescription___JW79t";
const styles$5 = {
  redirectsContainer: redirectsContainer$1,
  tableTitle: tableTitle$1,
  tableContainer: tableContainer$3,
  redirectsTableContent: redirectsTableContent$1,
  actionButtons,
  statusCell: statusCell$1,
  addRedirectFormContainer,
  addRedirectTitle,
  redirectInputsContainer,
  inputsRow: inputsRow$2,
  inputContainer,
  fieldError,
  urlInput,
  arrowIconContainer,
  selectRow,
  redirectTypeSelect,
  buttonRow,
  header: header$1,
  infoBox: infoBox$1,
  infoTitle: infoTitle$1,
  infoDescription: infoDescription$1,
  usageGuide,
  usageGuideTitle,
  usageGuideList,
  redirectTypeInfo,
  redirectTypeItem,
  redirectTypeDescription
};
const redirectsPlaceholderContainer$1 = "RedirectsTabPlaceholder-module__redirectsPlaceholderContainer___xfGPI";
const tableHeaderSkeleton$1 = "RedirectsTabPlaceholder-module__tableHeaderSkeleton___8yxBC";
const tableContainer$2 = "RedirectsTabPlaceholder-module__tableContainer___1bz-i";
const tableHeaderRow$1 = "RedirectsTabPlaceholder-module__tableHeaderRow___R1kNY";
const tableRowsContainer$1 = "RedirectsTabPlaceholder-module__tableRowsContainer___Z9NWU";
const tableRow$1 = "RedirectsTabPlaceholder-module__tableRow___qnQba";
const formContainer$1 = "RedirectsTabPlaceholder-module__formContainer___NETpC";
const formTitleSkeleton$1 = "RedirectsTabPlaceholder-module__formTitleSkeleton___APGgd";
const formFieldsContainer$1 = "RedirectsTabPlaceholder-module__formFieldsContainer___5iW-n";
const inputsRow$1 = "RedirectsTabPlaceholder-module__inputsRow___GQ82z";
const urlInputSkeleton$1 = "RedirectsTabPlaceholder-module__urlInputSkeleton___9Vp9l";
const selectRowSkeleton$1 = "RedirectsTabPlaceholder-module__selectRowSkeleton___gJqoH";
const buttonRowSkeleton$1 = "RedirectsTabPlaceholder-module__buttonRowSkeleton___MCBhO";
const styles$4 = {
  redirectsPlaceholderContainer: redirectsPlaceholderContainer$1,
  tableHeaderSkeleton: tableHeaderSkeleton$1,
  tableContainer: tableContainer$2,
  tableHeaderRow: tableHeaderRow$1,
  tableRowsContainer: tableRowsContainer$1,
  tableRow: tableRow$1,
  formContainer: formContainer$1,
  formTitleSkeleton: formTitleSkeleton$1,
  formFieldsContainer: formFieldsContainer$1,
  inputsRow: inputsRow$1,
  urlInputSkeleton: urlInputSkeleton$1,
  selectRowSkeleton: selectRowSkeleton$1,
  buttonRowSkeleton: buttonRowSkeleton$1
};
const RedirectsTabPlaceholder = () => {
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$4.redirectsPlaceholderContainer, children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 200, height: 24, className: styles$4.tableHeaderSkeleton }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$4.tableContainer, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$4.tableHeaderRow, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: "100%", height: 40 }) }),
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$4.tableRowsContainer, children: Array(5).fill(0).map((_, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$4.tableRow, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 140, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 140, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 70, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 50, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 50, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 70, height: 16 })
      ] }, index)) })
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: styles$4.formContainer, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 180, height: 24, className: styles$4.formTitleSkeleton }),
      /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$4.formFieldsContainer, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$4.inputsRow, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 60, className: styles$4.urlInputSkeleton }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 24, height: 24 }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 60, className: styles$4.urlInputSkeleton })
        ] }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 60, className: styles$4.selectRowSkeleton }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 120, height: 40, className: styles$4.buttonRowSkeleton })
      ] })
    ] })
  ] });
};
const RedirectsTab = () => {
  const dispatch = useDispatch();
  const [redirects, setRedirects] = reactExports.useState([]);
  const [isLoading, setIsLoading] = reactExports.useState(true);
  const [error, setError] = reactExports.useState(null);
  const [sourceUrl, setSourceUrl] = reactExports.useState("");
  const [targetUrl, setTargetUrl] = reactExports.useState("");
  const [redirectType, setRedirectType] = reactExports.useState("301");
  const [isSubmitting, setIsSubmitting] = reactExports.useState(false);
  const [formError, setFormError] = reactExports.useState(null);
  const [formErrors, setFormErrors] = reactExports.useState({});
  const [editMode, setEditMode] = reactExports.useState(false);
  const [currentEditId, setCurrentEditId] = reactExports.useState(null);
  const handleAddOrUpdateRedirect = async () => {
    var _a2, _b2, _c, _d, _e, _f;
    if (!sourceUrl || !targetUrl) {
      setFormError(__("Both Source URL and Target URL are required", "beyondseo"));
      return;
    }
    setIsSubmitting(true);
    setFormError(null);
    setFormErrors({});
    try {
      const requestBody = {
        source_uri: sourceUrl,
        destination_url: targetUrl,
        redirect_code: redirectType,
        active: "1"
      };
      if (editMode && currentEditId) {
        const updateResponse = await dispatch(
          SeoStore.patchRankingcoachSeoRedirectManagerByIdThunk({
            id: parseInt(currentEditId),
            requestBody: {
              ...requestBody,
              id: currentEditId
            }
          })
        );
        if ((_a2 = updateResponse == null ? void 0 : updateResponse.payload) == null ? void 0 : _a2.success) {
          setRedirects(
            redirects.map((item) => {
              if (item.id === currentEditId) {
                return {
                  ...item,
                  source_uri: sourceUrl,
                  destination_url: targetUrl,
                  redirect_code: redirectType
                };
              }
              return item;
            })
          );
          cancelEdit();
        } else {
          const errorPayload = updateResponse == null ? void 0 : updateResponse.payload;
          if ((_b2 = errorPayload == null ? void 0 : errorPayload.data) == null ? void 0 : _b2.params) {
            setFormErrors(errorPayload.data.params);
          }
          setFormError((errorPayload == null ? void 0 : errorPayload.message) || __("Failed to update redirect", "beyondseo"));
        }
      } else {
        const addResponse = await dispatch(
          SeoStore.postRankingcoachSeoRedirectManagerThunk({
            requestBody
          })
        );
        if ((_c = addResponse == null ? void 0 : addResponse.payload) == null ? void 0 : _c.success) {
          const response = await dispatch(SeoStore.getRankingcoachSeoRedirectManagerThunk({}));
          if ((_e = (_d = response == null ? void 0 : response.payload) == null ? void 0 : _d.response) == null ? void 0 : _e.redirects) {
            setRedirects(response.payload.response.redirects);
          }
          setSourceUrl("");
          setTargetUrl("");
          setRedirectType("301");
        } else {
          const errorPayload = addResponse == null ? void 0 : addResponse.payload;
          if ((_f = errorPayload == null ? void 0 : errorPayload.data) == null ? void 0 : _f.params) {
            setFormErrors(errorPayload.data.params);
          }
          setFormError((errorPayload == null ? void 0 : errorPayload.message) || __("Failed to add redirect", "beyondseo"));
        }
      }
    } catch (err) {
      setFormError(
        editMode ? __("An error occurred while updating the redirect", "beyondseo") : __("An error occurred while adding the redirect", "beyondseo")
      );
    } finally {
      setIsSubmitting(false);
    }
  };
  const handleDeleteRedirect = async (redirect, e4) => {
    var _a2, _b2, _c;
    e4.preventDefault();
    e4.stopPropagation();
    if (!redirect.id || redirect.id === "0") {
      return;
    }
    try {
      const response = await dispatch(
        SeoStore.deleteRankingcoachSeoRedirectManagerByIdThunk({
          id: parseInt(redirect.id),
          requestBody: { id: redirect.id }
        })
      );
      if ((_a2 = response == null ? void 0 : response.payload) == null ? void 0 : _a2.success) {
        const refreshResponse = await dispatch(SeoStore.getRankingcoachSeoRedirectManagerThunk({}));
        if ((_c = (_b2 = refreshResponse == null ? void 0 : refreshResponse.payload) == null ? void 0 : _b2.response) == null ? void 0 : _c.redirects) {
          setRedirects(refreshResponse.payload.response.redirects);
        }
      }
    } catch (err) {
    }
  };
  const handleStatusToggle = async (redirect, isActive) => {
    var _a2, _b2, _c;
    try {
      setIsSubmitting(true);
      if (!redirect.id || redirect.id === "0") {
        return;
      }
      const requestBody = {
        id: redirect.id,
        source_uri: redirect.source_uri,
        destination_url: redirect.destination_url,
        redirect_code: redirect.redirect_code,
        active: isActive ? "1" : "0"
      };
      const response = await dispatch(
        SeoStore.patchRankingcoachSeoRedirectManagerByIdThunk({
          id: parseInt(redirect.id),
          requestBody
        })
      );
      if ((_a2 = response == null ? void 0 : response.payload) == null ? void 0 : _a2.success) {
        const refreshResponse = await dispatch(SeoStore.getRankingcoachSeoRedirectManagerThunk({}));
        if ((_c = (_b2 = refreshResponse == null ? void 0 : refreshResponse.payload) == null ? void 0 : _b2.response) == null ? void 0 : _c.redirects) {
          setRedirects(refreshResponse.payload.response.redirects);
        }
      }
    } catch (err) {
    } finally {
      setIsSubmitting(false);
    }
  };
  reactExports.useEffect(() => {
    const fetchRedirects = async () => {
      var _a2, _b2;
      try {
        setIsLoading(true);
        const response = await dispatch(SeoStore.getRankingcoachSeoRedirectManagerThunk({}));
        if ((_b2 = (_a2 = response == null ? void 0 : response.payload) == null ? void 0 : _a2.response) == null ? void 0 : _b2.redirects) {
          const redirectsData = response.payload.response.redirects;
          setRedirects(redirectsData);
        } else {
          setError(__("No redirects data found in the response", "beyondseo"));
        }
      } catch (err) {
        setError(__("Failed to load redirects data", "beyondseo"));
      } finally {
        setIsLoading(false);
      }
    };
    fetchRedirects();
  }, [dispatch]);
  const handleEditClick = (redirect) => {
    var _a2;
    setSourceUrl(redirect.source_uri);
    setTargetUrl(redirect.destination_url);
    setRedirectType(redirect.redirect_code);
    setEditMode(true);
    setCurrentEditId(redirect.id);
    setFormError(null);
    setFormErrors({});
    (_a2 = document.querySelector(`.${styles$5.addRedirectFormContainer}`)) == null ? void 0 : _a2.scrollIntoView({
      behavior: "smooth",
      block: "center"
    });
  };
  const cancelEdit = () => {
    setSourceUrl("");
    setTargetUrl("");
    setRedirectType("301");
    setEditMode(false);
    setCurrentEditId(null);
    setFormError(null);
    setFormErrors({});
  };
  const [redirectTypeOptions] = reactExports.useState([
    { key: "301", value: "301", title: __("Permanent (301)", "beyondseo") },
    { key: "302", value: "302", title: __("Temporary (302)", "beyondseo") }
  ]);
  const getRedirectTypeDisplay = (type) => {
    switch (type) {
      case "301":
        return __("Permanent", "beyondseo");
      case "302":
        return __("Temporary", "beyondseo");
      default:
        return type;
    }
  };
  if (error) {
    return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$5.redirectsContainer, S8e.mt3, S8e.mb3), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(nr, { type: Er.text, className: styles$5.tableTitle, children: [
      __("Error:", "beyondseo"),
      " ",
      error
    ] }) });
  }
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$5.redirectsContainer, tabStyles.tabContent), children: isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(RedirectsTabPlaceholder, {}) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$5.header, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.infoBox, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.heading3, className: styles$5.infoTitle, children: __("Redirects Overview", "beyondseo") }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, className: styles$5.infoDescription, children: __(
        "Redirects help preserve your SEO rankings when URLs change or pages are removed. They ensure users and search engines are sent to the correct destination.",
        "beyondseo"
      ) }),
      /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.usageGuide, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, className: styles$5.usageGuideTitle, children: __("To create a redirect:", "beyondseo") }),
        /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", { className: styles$5.usageGuideList, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, children: __("Source URL should be a local path (e.g. /old-page)", "beyondseo") }) }),
          /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, children: __("Destination URL can be any full link (internal or external)", "beyondseo") }) })
        ] })
      ] }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, children: __(
        "Set up redirects to avoid broken links, retain link equity, and deliver a smoother experience to your visitors and search engines.",
        "beyondseo"
      ) })
    ] }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, className: styles$5.tableTitle, fontWeight: si.bold, children: __("Current redirects:", "beyondseo") }),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$5.tableContainer, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("table", { className: styles$5.redirectsTableContent, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx("thead", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Source URL", "beyondseo") }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Target URL", "beyondseo") }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Type", "beyondseo") }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Hits", "beyondseo") }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Status", "beyondseo") }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Actions", "beyondseo") }) })
      ] }) }),
      /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: redirects.length > 0 ? redirects.map((redirect, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: redirect.source_uri }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: redirect.destination_url }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: getRedirectTypeDisplay(redirect.redirect_code) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: redirect.hit_count }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("td", { className: styles$5.statusCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
          X8e,
          {
            value: redirect.active === "1",
            size: "small",
            onChange: (e4) => handleStatusToggle(redirect, e4.currentTarget.checked),
            disabled: isSubmitting
          }
        ) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.actionButtons, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            gh,
            {
              iconLeft: Ln.edit,
              type: Vo.secondary,
              size: uf.small,
              className: styles$5.editButton,
              onClick: () => handleEditClick(redirect)
            }
          ),
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            gh,
            {
              iconLeft: Ln.trash,
              type: Vo.secondary,
              size: uf.small,
              onClick: (e4) => handleDeleteRedirect(redirect, e4)
            }
          )
        ] }) })
      ] }, redirect.id || index)) : /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("td", { colSpan: 6, style: { textAlign: "center" }, children: __("No redirects found. Use the form below to create one.", "beyondseo") }) }) })
    ] }) }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: styles$5.addRedirectFormContainer, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, className: styles$5.addRedirectTitle, children: editMode ? __("Update redirect:", "beyondseo") : __("Add new redirect:", "beyondseo") }),
      /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.redirectInputsContainer, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.inputsRow, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.inputContainer, children: [
            /* @__PURE__ */ jsxRuntimeExports.jsx(
              L8e,
              {
                value: sourceUrl,
                onChange: (e4) => setSourceUrl(e4.target.value),
                placeholder: __("Source URL (e.g., /old-page)", "beyondseo"),
                className: styles$5.urlInput,
                label: __("Source URL", "beyondseo"),
                labelType: "outer",
                required: true,
                textFieldProps: {
                  multiline: true,
                  rows: 1
                }
              }
            ),
            formErrors.source_uri && /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, color: "--e500", className: styles$5.fieldError, children: formErrors.source_uri })
          ] }),
          /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$5.arrowIconContainer, children: /* @__PURE__ */ jsxRuntimeExports.jsx(li, { children: Ln.arrowRight, className: styles$5.arrowIcon }) }),
          /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.inputContainer, children: [
            /* @__PURE__ */ jsxRuntimeExports.jsx(
              L8e,
              {
                value: targetUrl,
                onChange: (e4) => setTargetUrl(e4.target.value),
                placeholder: __("Target URL (e.g., /new-page)", "beyondseo"),
                className: styles$5.urlInput,
                label: __("Target URL", "beyondseo"),
                labelType: "outer",
                required: true,
                textFieldProps: {
                  multiline: true,
                  rows: 1
                }
              }
            ),
            formErrors.destination_url && /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, color: "--e500", className: styles$5.fieldError, children: formErrors.destination_url })
          ] })
        ] }),
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.selectRow, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            B8e,
            {
              required: true,
              value: redirectType,
              onChange: (e4) => setRedirectType(e4.target.value),
              options: redirectTypeOptions,
              label: __("Redirect type", "beyondseo"),
              className: styles$5.redirectTypeSelect
            }
          ),
          /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.redirectTypeInfo, children: [
            /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.redirectTypeItem, children: [
              /* @__PURE__ */ jsxRuntimeExports.jsx(
                O8e,
                {
                  icon: Ln.refresh,
                  iconColor: "--p500",
                  textType: Er.text,
                  fontWeight: si.bold,
                  children: __("301 – Permanent Redirect", "beyondseo")
                }
              ),
              /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, className: styles$5.redirectTypeDescription, children: __("Best for SEO. Use when a page is moved or replaced permanently.", "beyondseo") })
            ] }),
            /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.redirectTypeItem, children: [
              /* @__PURE__ */ jsxRuntimeExports.jsx(
                O8e,
                {
                  icon: Ln.clock,
                  iconColor: "--p500",
                  textType: Er.text,
                  fontWeight: si.bold,
                  children: __("302 – Temporary Redirect", "beyondseo")
                }
              ),
              /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, className: styles$5.redirectTypeDescription, children: __(
                "Use when the original page will come back, like during maintenance or testing.",
                "beyondseo"
              ) })
            ] })
          ] })
        ] }),
        formError && /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, color: "--e500", children: formError }),
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.buttonRow, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(gh, { onClick: handleAddOrUpdateRedirect, isLoading: isSubmitting, children: editMode ? __("Update Redirect", "beyondseo") : __("Add Redirect", "beyondseo") }),
          editMode && /* @__PURE__ */ jsxRuntimeExports.jsx(gh, { onClick: cancelEdit, type: Vo.secondary, children: __("Cancel", "beyondseo") })
        ] })
      ] })
    ] })
  ] }) });
};
const advancedTabContainer = "AdvancedTab-module__advancedTabContainer___O-7eC";
const advancedTabContainerForm = "AdvancedTab-module__advancedTabContainerForm___Tu1gM";
const advancedTabNoIndexTitle = "AdvancedTab-module__advancedTabNoIndexTitle___6NKFX";
const advancedTabNoIndexDescription = "AdvancedTab-module__advancedTabNoIndexDescription___5Y-4c";
const advancedTabRobotsSwitch = "AdvancedTab-module__advancedTabRobotsSwitch___Fiii6";
const styles$3 = {
  advancedTabContainer,
  advancedTabContainerForm,
  advancedTabNoIndexTitle,
  advancedTabNoIndexDescription,
  advancedTabRobotsSwitch
};
const _AdvancedSettingsStore = class _AdvancedSettingsStore extends HttpStore {
  /** 
  * Get MetaTags 
  */
  /** 
  * Get all advanced settings metaTags 
  * Get MetaTags 
  */
  getApiAdvancedSettingsByPostId(postId, queryParams, signal) {
    return this.get(new EndPoint(`/wp-json/rankingcoach/api/advancedSettings/${postId}`), queryParams, signal);
  }
  /** 
  * Save MetaTag Keywords 
  */
  /** 
  * Update all advanced settings metaTags 
  * Save MetaTag Keywords 
  */
  postApiAdvancedSettingsByPostId(postId, requestBody, queryParams, signal, contentType) {
    return this.post(new EndPoint(`/wp-json/rankingcoach/api/advancedSettings/${postId}`), requestBody, queryParams, signal, contentType);
  }
};
_AdvancedSettingsStore.getApiAdvancedSettingsByPostIdAbortManager = new AbortControllersManager();
_AdvancedSettingsStore.getApiAdvancedSettingsByPostIdThunk = createAsyncThunk("getApiAdvancedSettingsByPostId", async ({ postId, queryParams }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _AdvancedSettingsStore.getApiAdvancedSettingsByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      advancedSettingsStore.getApiAdvancedSettingsByPostId(postId, queryParams, signal)
    );
    _AdvancedSettingsStore.getApiAdvancedSettingsByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _AdvancedSettingsStore.getApiAdvancedSettingsByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_AdvancedSettingsStore.getApiAdvancedSettingsByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/advancedSettings/{postId}");
_AdvancedSettingsStore.getApiAdvancedSettingsByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/advancedSettings/{postId}(.*)";
_AdvancedSettingsStore.postApiAdvancedSettingsByPostIdAbortManager = new AbortControllersManager();
_AdvancedSettingsStore.postApiAdvancedSettingsByPostIdThunk = createAsyncThunk("postApiAdvancedSettingsByPostId", async ({ postId, requestBody, queryParams, contentType = "application/json" }, { rejectWithValue } = {}) => {
  const requestId = (/* @__PURE__ */ new Date()).getTime().toString();
  try {
    const controller = new AbortController();
    const signal = controller.signal;
    _AdvancedSettingsStore.postApiAdvancedSettingsByPostIdAbortManager._push(requestId, controller);
    const result = await firstValueFrom(
      advancedSettingsStore.postApiAdvancedSettingsByPostId(postId, requestBody, queryParams, signal, contentType)
    );
    _AdvancedSettingsStore.postApiAdvancedSettingsByPostIdAbortManager._remove(requestId);
    return result;
  } catch (err) {
    _AdvancedSettingsStore.postApiAdvancedSettingsByPostIdAbortManager._remove(requestId);
    return rejectWithValue(err.response.data);
  }
});
_AdvancedSettingsStore.postApiAdvancedSettingsByPostIdUrlRegEx = new RegExp("/wp-json/rankingcoach/api/advancedSettings/{postId}");
_AdvancedSettingsStore.postApiAdvancedSettingsByPostIdUrlMockRequest = "/wp-json/rankingcoach/api/advancedSettings/{postId}(.*)";
let AdvancedSettingsStore = _AdvancedSettingsStore;
const advancedSettingsStore = new AdvancedSettingsStore();
const AdvancedTab = () => {
  const dispatch = useAppDispatch();
  const currentPostId = getPathId();
  const { triggerRecalculation } = useScoreRecalculation();
  const [isLoading, setIsLoading] = reactExports.useState(true);
  const [isSubmitting, setIsSubmitting] = reactExports.useState(false);
  const { noIndexForPage, excludeSitemapForPage, canonicalUrl, disableAutoLinks, viewportForPage } = useSelector((state) => state.app);
  const { currentPost, isCurrentPostLoaded } = useSelector((state) => state.post);
  const { setNoIndexForPage, setExcludeSitemapForPage, setCanonicalUrl, setDisableAutoLinks, setViewportForPage } = AppSlice;
  const { formConfig } = t9e({
    slice: AppSlice,
    reducer: (state) => state.app,
    inputs: {
      canonicalUrl: {
        validation: {
          urlNotAllowed: false,
          maxLength: 250
        }
      },
      noIndexForPage: {},
      excludeSitemapForPage: {},
      disableAutoLinks: {}
    }
  });
  reactExports.useEffect(() => {
    if (isCurrentPostLoaded && currentPost) {
      if (!canonicalUrl) dispatch(setCanonicalUrl(currentPost == null ? void 0 : currentPost.link));
    }
  }, [isCurrentPostLoaded]);
  reactExports.useEffect(() => {
    const handleScoreRecalculated = (event) => {
      const { error } = event.detail;
    };
    document.addEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    return () => {
      document.removeEventListener("rankingcoach-score-recalculated", handleScoreRecalculated);
    };
  }, []);
  reactExports.useEffect(() => {
    const fetchData = async () => {
      setIsLoading(true);
      try {
        const advancedSettingsData = await dispatch(
          AdvancedSettingsStore.getApiAdvancedSettingsByPostIdThunk({
            postId: getPathId(),
            queryParams: { noCache: true }
          })
        ).unwrap();
        if (advancedSettingsData == null ? void 0 : advancedSettingsData.canonicalUrl) {
          dispatch(setCanonicalUrl(advancedSettingsData.canonicalUrl));
        }
        if ((advancedSettingsData == null ? void 0 : advancedSettingsData.noindexForPage) !== void 0) {
          dispatch(setNoIndexForPage(advancedSettingsData.noindexForPage));
        }
        if ((advancedSettingsData == null ? void 0 : advancedSettingsData.excludeSitemapForPage) !== void 0) {
          dispatch(setExcludeSitemapForPage(advancedSettingsData.excludeSitemapForPage));
        }
        if ((advancedSettingsData == null ? void 0 : advancedSettingsData.disableAutoLinks) !== void 0) {
          dispatch(setDisableAutoLinks(advancedSettingsData.disableAutoLinks));
        }
        if ((advancedSettingsData == null ? void 0 : advancedSettingsData.viewportForPage) !== void 0) {
          dispatch(setViewportForPage(advancedSettingsData.viewportForPage));
        }
      } catch (error) {
      } finally {
        setIsLoading(false);
      }
    };
    fetchData();
  }, [dispatch, currentPostId]);
  const handleSaveCanonicalUrlCallback = async () => {
    await dispatch(
      AdvancedSettingsStore.postApiAdvancedSettingsByPostIdThunk({
        postId: currentPostId,
        requestBody: {
          canonicalUrl,
          noindexForPage: noIndexForPage,
          excludeSitemapForPage,
          disableAutoLinks,
          viewportForPage
        },
        queryParams: { noCache: true }
      })
    );
    triggerRecalculation(false);
  };
  const handleSaveNoIndexCallback = async () => {
    try {
      setIsSubmitting(true);
      await dispatch(
        AdvancedSettingsStore.postApiAdvancedSettingsByPostIdThunk({
          postId: currentPostId,
          requestBody: {
            canonicalUrl,
            noindexForPage: !noIndexForPage,
            excludeSitemapForPage,
            disableAutoLinks,
            viewportForPage
          },
          queryParams: { noCache: true }
        })
      );
      dispatch(setNoIndexForPage(!noIndexForPage));
      triggerRecalculation(false);
    } catch (error) {
    } finally {
      setIsSubmitting(false);
    }
  };
  const handleDisableAutoLinksCallback = async () => {
    try {
      setIsSubmitting(true);
      await dispatch(
        AdvancedSettingsStore.postApiAdvancedSettingsByPostIdThunk({
          postId: currentPostId,
          requestBody: {
            canonicalUrl,
            noindexForPage: noIndexForPage,
            excludeSitemapForPage,
            disableAutoLinks: !disableAutoLinks,
            viewportForPage
          },
          queryParams: { noCache: true }
        })
      );
      dispatch(setDisableAutoLinks(!disableAutoLinks));
      triggerRecalculation(false);
    } catch (error) {
    } finally {
      setIsSubmitting(false);
    }
  };
  const handleSaveViewportCallback = async () => {
    try {
      setIsSubmitting(true);
      await dispatch(
        AdvancedSettingsStore.postApiAdvancedSettingsByPostIdThunk({
          postId: currentPostId,
          requestBody: {
            canonicalUrl,
            noindexForPage: noIndexForPage,
            excludeSitemapForPage,
            disableAutoLinks,
            viewportForPage: !viewportForPage
          },
          queryParams: { noCache: true }
        })
      );
      dispatch(setViewportForPage(!viewportForPage));
      triggerRecalculation(false);
    } catch (error) {
    } finally {
      setIsSubmitting(false);
    }
  };
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: Kt(styles$3.advancedTabContainer, tabStyles.tabContent), children: /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
    N8e,
    {
      config: formConfig,
      onChange: () => {
      },
      className: styles$3.advancedTabContainerForm,
      children: [
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: S8e.mb0, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            X8e,
            {
              value: noIndexForPage,
              labelPos: "left",
              onChange: handleSaveNoIndexCallback,
              disabled: isSubmitting,
              testId: `advanced-settings-switch`,
              className: styles$3.advancedTabRobotsSwitch,
              children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$3.advancedTabNoIndexTitle, fontWeight: si.medium, children: __("Set noindex for this page:", "beyondseo") })
            }
          ),
          /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$3.advancedTabNoIndexDescription, fontWeight: si.regular, fontSize: 12, children: __(
            "Prevents this page from being indexed by search engines. Adds a noindex tag to exclude this page from search results.",
            "beyondseo"
          ) })
        ] }),
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: S8e.mb0, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            X8e,
            {
              value: disableAutoLinks,
              labelPos: "left",
              onChange: handleDisableAutoLinksCallback,
              disabled: isSubmitting,
              testId: `advanced-settings-switch`,
              className: styles$3.advancedTabRobotsSwitch,
              children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$3.advancedTabNoIndexTitle, fontWeight: si.medium, children: __("Disable mobile auto-links for this page:", "beyondseo") })
            }
          ),
          /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$3.advancedTabNoIndexDescription, fontWeight: si.regular, fontSize: 12, children: __(
            "Disables automatic detection of phone numbers, email addresses, and physical addresses in this page’s content. Prevents mobile browsers from converting them into clickable links.",
            "beyondseo"
          ) })
        ] }),
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: S8e.mb0, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            X8e,
            {
              value: viewportForPage,
              labelPos: "left",
              onChange: handleSaveViewportCallback,
              disabled: isSubmitting,
              testId: `advanced-settings-viewport-switch`,
              className: styles$3.advancedTabRobotsSwitch,
              children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$3.advancedTabNoIndexTitle, fontWeight: si.medium, children: __("Enable viewport meta tag for this page:", "beyondseo") })
            }
          ),
          /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$3.advancedTabNoIndexDescription, fontWeight: si.regular, fontSize: 12, children: __(
            "Adds a responsive viewport meta tag to this page. Ensures proper display on mobile devices by setting width=device-width and initial-scale=1.",
            "beyondseo"
          ) })
        ] }),
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: S8e.mb0, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { className: styles$3.advancedTabCanonicalTitle, fontWeight: si.medium, children: __("Canonical URL", "beyondseo") }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(
            L8e,
            {
              formconfig: formConfig.canonicalUrl,
              labelType: "outer",
              placeholder: __("Enter canonical URL", "beyondseo"),
              value: canonicalUrl,
              required: true,
              onBlur: handleSaveCanonicalUrlCallback,
              textFieldProps: {
                multiline: true,
                rows: 1
              }
            }
          )
        ] })
      ]
    }
  ) }) });
};
const redirectsContainer = "LinkAssistantTab-module__redirectsContainer___U-gWP";
const tableTitle = "LinkAssistantTab-module__tableTitle___cOj-X";
const tableContainer$1 = "LinkAssistantTab-module__tableContainer___jE2Ew";
const redirectsTableContent = "LinkAssistantTab-module__redirectsTableContent___BW3pX";
const colSourcePage = "LinkAssistantTab-module__colSourcePage___n49e2";
const colTargetUrl = "LinkAssistantTab-module__colTargetUrl___QTgnp";
const colLinkText = "LinkAssistantTab-module__colLinkText___frqRt";
const colLinkStatus = "LinkAssistantTab-module__colLinkStatus___AlY-v";
const statusPill = "LinkAssistantTab-module__statusPill___Qa0MJ";
const statusCell = "LinkAssistantTab-module__statusCell___rkUZi";
const iconText = "LinkAssistantTab-module__iconText___Bt81i";
const header = "LinkAssistantTab-module__header___M2fVV";
const infoBox = "LinkAssistantTab-module__infoBox___g0IyM";
const infoTitle = "LinkAssistantTab-module__infoTitle___AT5Qs";
const infoDescription = "LinkAssistantTab-module__infoDescription___YbYcZ";
const legendContainer = "LinkAssistantTab-module__legendContainer___IA8RU";
const legendTitle = "LinkAssistantTab-module__legendTitle___sytjp";
const legend = "LinkAssistantTab-module__legend___lVxUS";
const legendDot = "LinkAssistantTab-module__legendDot___Ygw3D";
const scanButton = "LinkAssistantTab-module__scanButton___gtgWp";
const styles$2 = {
  redirectsContainer,
  tableTitle,
  tableContainer: tableContainer$1,
  redirectsTableContent,
  colSourcePage,
  colTargetUrl,
  colLinkText,
  colLinkStatus,
  statusPill,
  statusCell,
  iconText,
  header,
  infoBox,
  infoTitle,
  infoDescription,
  legendContainer,
  legendTitle,
  legend,
  legendDot,
  scanButton
};
const redirectsPlaceholderContainer = "LinkAssistantTabPlaceholder-module__redirectsPlaceholderContainer___PVPv5";
const tableHeaderSkeleton = "LinkAssistantTabPlaceholder-module__tableHeaderSkeleton___X5nhZ";
const tableContainer = "LinkAssistantTabPlaceholder-module__tableContainer___-HvZz";
const tableHeaderRow = "LinkAssistantTabPlaceholder-module__tableHeaderRow___23eeo";
const tableRowsContainer = "LinkAssistantTabPlaceholder-module__tableRowsContainer___wXJ0J";
const tableRow = "LinkAssistantTabPlaceholder-module__tableRow___3mDwi";
const formContainer = "LinkAssistantTabPlaceholder-module__formContainer___HuORT";
const formTitleSkeleton = "LinkAssistantTabPlaceholder-module__formTitleSkeleton___3MpGm";
const formFieldsContainer = "LinkAssistantTabPlaceholder-module__formFieldsContainer___KzK2o";
const inputsRow = "LinkAssistantTabPlaceholder-module__inputsRow___7sJtL";
const urlInputSkeleton = "LinkAssistantTabPlaceholder-module__urlInputSkeleton___FNUhE";
const selectRowSkeleton = "LinkAssistantTabPlaceholder-module__selectRowSkeleton___YMmF4";
const buttonRowSkeleton = "LinkAssistantTabPlaceholder-module__buttonRowSkeleton___echVI";
const styles$1 = {
  redirectsPlaceholderContainer,
  tableHeaderSkeleton,
  tableContainer,
  tableHeaderRow,
  tableRowsContainer,
  tableRow,
  formContainer,
  formTitleSkeleton,
  formFieldsContainer,
  inputsRow,
  urlInputSkeleton,
  selectRowSkeleton,
  buttonRowSkeleton
};
const LinkAssistantTabPlaceholder = () => {
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: Kt(styles$1.redirectsPlaceholderContainer, tabStyles.tabContent), children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 200, height: 24, className: styles$1.tableHeaderSkeleton }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1.tableContainer, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1.tableHeaderRow, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: "100%", height: 40 }) }),
      /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$1.tableRowsContainer, children: Array(5).fill(0).map((_, index) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1.tableRow, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 140, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 140, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 70, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 50, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 50, height: 16 }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 70, height: 16 })
      ] }, index)) })
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsxs(Li, { className: styles$1.formContainer, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 180, height: 24, className: styles$1.formTitleSkeleton }),
      /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1.formFieldsContainer, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$1.inputsRow, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 60, className: styles$1.urlInputSkeleton }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 24, height: 24 }),
          /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 60, className: styles$1.urlInputSkeleton })
        ] }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 300, height: 60, className: styles$1.selectRowSkeleton }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(Z8e, { width: 120, height: 40, className: styles$1.buttonRowSkeleton })
      ] })
    ] })
  ] });
};
const STATUS_BROKEN = __("broken", "beyondseo");
const STATUS_ACTIVE = __("active", "beyondseo");
const STATUS_UNSCANNED = __("unscanned", "beyondseo");
const getLinkStatusIcon = (status) => {
  switch (status.toLowerCase()) {
    case "active":
      return {
        icon: Ln.check,
        iconColor: "#08451E",
        textColor: "#08451E",
        iconSize: ai.small,
        fillColor: "#e9fbed",
        hasCircle: true,
        circleSize: 20,
        bgColor: "#e9fbed"
      };
    case "broken":
      return {
        icon: Ln.close,
        iconColor: "#6E0F08",
        textColor: "#6E0F08",
        iconSize: ai.small,
        fillColor: "#ffeceb",
        hasCircle: true,
        circleSize: 20,
        bgColor: "#ffeceb"
      };
    case "unscanned":
      return {
        icon: Ln.exclamation,
        iconColor: "#8B4513",
        textColor: "#8B4513",
        iconSize: ai.small,
        fillColor: "#FFF3E0",
        hasCircle: true,
        circleSize: 20,
        bgColor: "#FFF3E0"
      };
    default:
      return {
        icon: Ln.info,
        iconColor: "#0D47A1",
        textColor: "#0D47A1",
        iconSize: ai.small,
        fillColor: "#E3F2FD",
        hasCircle: true,
        circleSize: 20,
        bgColor: "#E3F2FD"
      };
  }
};
const LinkAssistantTable = ({
  title,
  links,
  emptyMessage = __("No internal links found.", "beyondseo")
}) => {
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
    /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, className: styles$2.tableTitle, children: title }),
    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$2.tableContainer, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("table", { className: styles$2.redirectsTableContent, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsxs("colgroup", { children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx("col", { className: styles$2.colSourcePage }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("col", { className: styles$2.colTargetUrl }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("col", { className: styles$2.colLinkText }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("col", { className: styles$2.colLinkStatus })
      ] }),
      /* @__PURE__ */ jsxRuntimeExports.jsx("thead", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { className: styles$2.colSourcePage, children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Source Page", "beyondseo") }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { className: styles$2.colTargetUrl, children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Target URL", "beyondseo") }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { className: styles$2.colLinkText, children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Link Text", "beyondseo") }) }),
        /* @__PURE__ */ jsxRuntimeExports.jsx("th", { className: styles$2.colLinkStatus, children: /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.textHelp, fontWeight: si.bold, children: __("Link Status", "beyondseo") }) })
      ] }) }),
      /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: links.length > 0 ? links.map((la, index) => {
        const statusConfig = getLinkStatusIcon(la.status);
        return /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx("td", { className: styles$2.colSourcePage, children: la.source_uri }),
          /* @__PURE__ */ jsxRuntimeExports.jsx("td", { className: styles$2.colTargetUrl, children: la.url }),
          /* @__PURE__ */ jsxRuntimeExports.jsx("td", { className: styles$2.colLinkText, children: la.link_text }),
          /* @__PURE__ */ jsxRuntimeExports.jsx("td", { className: styles$2.colLinkStatus + " " + styles$2.statusCell, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$2.statusPill, style: { backgroundColor: statusConfig.bgColor }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
            O8e,
            {
              icon: statusConfig.icon,
              iconColor: statusConfig.iconColor,
              textColor: statusConfig.textColor,
              textType: Er.textHelp,
              iconSize: statusConfig.iconSize,
              iconHasCircle: statusConfig.hasCircle,
              iconFillColor: statusConfig.fillColor,
              iconCircleSize: statusConfig.circleSize,
              className: styles$2.iconText,
              fontWeight: si.regular,
              children: __(la.status === "broken" ? STATUS_BROKEN : la.status === "active" ? STATUS_ACTIVE : STATUS_UNSCANNED, "beyondseo")
            }
          ) }) })
        ] }, la.id || index);
      }) : /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("td", { colSpan: 6, style: { textAlign: "center" }, children: emptyMessage }) }) })
    ] }) })
  ] });
};
const LinkAssistantTab = () => {
  const dispatch = useDispatch();
  const [linkAssistants, setLinkAssistants] = reactExports.useState({
    inbound: [],
    outbound: [],
    external: []
  });
  const [isLoading, setIsLoading] = reactExports.useState(true);
  const [error, setError] = reactExports.useState(null);
  const [isScanning, setIsScanning] = reactExports.useState(false);
  const currentPostId = getPathId();
  reactExports.useEffect(() => {
    const fetchLinkAssistant = async () => {
      var _a2;
      try {
        setIsLoading(true);
        const response = await dispatch(
          SeoStore.getRankingcoachSeoLinkAnalyzerByIdThunk({ id: currentPostId })
        );
        if ((_a2 = response == null ? void 0 : response.payload) == null ? void 0 : _a2.response) {
          const linkAssistantData = response.payload.response;
          setLinkAssistants(linkAssistantData);
        } else {
          setError(__("No link assistant data found", "beyondseo"));
        }
      } catch (err) {
        setError(__("Failed to load link assistant data", "beyondseo"));
      } finally {
        setIsLoading(false);
      }
    };
    fetchLinkAssistant();
  }, [dispatch]);
  const handleScanLinks = async () => {
    var _a2;
    try {
      setIsScanning(true);
      await dispatch(
        SeoStore.postRankingcoachSeoLinkAnalyzerVerifyByPostIdThunk({
          post_id: currentPostId,
          requestBody: {}
        })
      );
      const response = await dispatch(SeoStore.getRankingcoachSeoLinkAnalyzerByIdThunk({ id: currentPostId }));
      if ((_a2 = response == null ? void 0 : response.payload) == null ? void 0 : _a2.response) {
        setLinkAssistants(response.payload.response);
      }
    } catch (err) {
      setError(__("Failed to scan links", "beyondseo"));
    } finally {
      setIsScanning(false);
    }
  };
  if (isLoading) {
    return /* @__PURE__ */ jsxRuntimeExports.jsx(LinkAssistantTabPlaceholder, {});
  }
  if (error) {
    return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$2.redirectsContainer, tabStyles.tabContent), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(nr, { type: Er.text, className: styles$2.tableTitle, children: [
      __("Error:", "beyondseo"),
      " ",
      error
    ] }) });
  }
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: classNames(styles$2.redirectsContainer, tabStyles.tabContent), children: [
    /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$2.header, children: [
      /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$2.infoBox, children: [
        /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.heading3, className: styles$2.infoTitle, children: __("Link Assistant Overview", "beyondseo") }),
        /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, className: styles$2.infoDescription, children: __(
          "Internal links help search engines understand your content structure and improve your SEO rankings.",
          "beyondseo"
        ) }),
        /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$2.legendContainer, children: [
          /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, className: styles$2.legendTitle, children: __("Link Status Guide:", "beyondseo") }),
          /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", { className: styles$2.legend, children: [
            /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { children: [
              /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$2.legendDot, "data-status": "unscanned" }),
              /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, children: __("Not yet scanned - Click `Scan Links` to analyze", "beyondseo") })
            ] }),
            /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { children: [
              /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$2.legendDot, "data-status": "ok" }),
              /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, children: __("Working links - SEO-friendly", "beyondseo") })
            ] }),
            /* @__PURE__ */ jsxRuntimeExports.jsxs("li", { children: [
              /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$2.legendDot, "data-status": "broken" }),
              /* @__PURE__ */ jsxRuntimeExports.jsx(nr, { type: Er.text, children: __("Broken links - Need attention", "beyondseo") })
            ] })
          ] })
        ] })
      ] }),
      /* @__PURE__ */ jsxRuntimeExports.jsx(
        gh,
        {
          type: Vo.primary,
          onClick: handleScanLinks,
          isLoading: isScanning,
          disabled: isLoading || isScanning,
          className: styles$2.scanButton,
          children: __("Scan Links", "beyondseo")
        }
      )
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(
      LinkAssistantTable,
      {
        title: __("Inbound Internal:", "beyondseo"),
        links: linkAssistants.inbound,
        emptyMessage: __("No internal links found.", "beyondseo")
      }
    ),
    /* @__PURE__ */ jsxRuntimeExports.jsx(
      LinkAssistantTable,
      {
        title: __("Outbound Internal:", "beyondseo"),
        links: linkAssistants.outbound,
        emptyMessage: __("No outbound links found.", "beyondseo")
      }
    ),
    /* @__PURE__ */ jsxRuntimeExports.jsx(
      LinkAssistantTable,
      {
        title: __("External:", "beyondseo"),
        links: linkAssistants.external,
        emptyMessage: __("No external links found.", "beyondseo")
      }
    )
  ] });
};
const tabs = "TabsManager-module__tabs___BTflm";
const styles = {
  tabs
};
const TabsManager = (props) => {
  const [recalculationStart, setRecalculationStart] = reactExports.useState(false);
  const handleRecalculationStart = reactExports.useCallback(() => {
    setRecalculationStart(true);
  }, []);
  const handleRecalculationComplete = reactExports.useCallback(() => {
    setRecalculationStart(false);
  }, []);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
    ScoreRecalculationProvider,
    {
      onRecalculationStart: handleRecalculationStart,
      onRecalculationComplete: handleRecalculationComplete,
      children: /* @__PURE__ */ jsxRuntimeExports.jsx(
        Li,
        {
          testId: "tabs-manager-container",
          className: Kt("tabs-manager-container", styles.tabs),
          children: /* @__PURE__ */ jsxRuntimeExports.jsx(
            W8e,
            {
              mode: "small",
              tabConfig: { theme: "underline" },
              tabs: [
                {
                  label: __("General", "beyondseo"),
                  //@ts-ignore
                  component: /* @__PURE__ */ jsxRuntimeExports.jsx(GeneralTab, {}),
                  hasBorderBottom: true,
                  showBackgroundColor: false,
                  simple: true
                },
                {
                  label: __("Optimisation", "beyondseo"),
                  //@ts-ignore
                  component: /* @__PURE__ */ jsxRuntimeExports.jsx(OptimisationTab, { recalculationStart }),
                  hasBorderBottom: true,
                  showBackgroundColor: false,
                  simple: true
                },
                {
                  label: __("Social", "beyondseo"),
                  //@ts-ignore
                  component: /* @__PURE__ */ jsxRuntimeExports.jsx(SocialTab, {}),
                  hasBorderBottom: true,
                  showBackgroundColor: false,
                  simple: true
                },
                {
                  label: __("Schema", "beyondseo"),
                  //@ts-ignore
                  component: /* @__PURE__ */ jsxRuntimeExports.jsx(SchemaTab, {}),
                  hasBorderBottom: true,
                  showBackgroundColor: false,
                  simple: true
                },
                {
                  label: __("Link assistant", "beyondseo"),
                  //@ts-ignore
                  component: /* @__PURE__ */ jsxRuntimeExports.jsx(LinkAssistantTab, {}),
                  hasBorderBottom: true,
                  showBackgroundColor: false,
                  simple: true
                },
                {
                  label: __("Redirects", "beyondseo"),
                  //@ts-ignore
                  component: /* @__PURE__ */ jsxRuntimeExports.jsx(RedirectsTab, {}),
                  hasBorderBottom: true,
                  showBackgroundColor: false,
                  simple: true
                },
                {
                  label: __("Advanced", "beyondseo"),
                  //@ts-ignore
                  component: /* @__PURE__ */ jsxRuntimeExports.jsx(AdvancedTab, {}),
                  hasBorderBottom: true,
                  showBackgroundColor: false,
                  simple: true
                }
              ]
            }
          )
        }
      )
    }
  );
};
const App = (props) => {
  var _a2;
  const { appLoadedModalId, plugin } = useSelector((state) => state.app);
  const pluginData = plugin == null ? void 0 : plugin.pluginData;
  const internalOnboarding = !!((_a2 = pluginData == null ? void 0 : pluginData.setupData) == null ? void 0 : _a2.isPluginOnboarded);
  const { currentPost } = useSelector((state) => state.post);
  const dispatch = useAppDispatch();
  const currentPostId = getPathId();
  const { currentPostType, isEditingPost } = rcWindow == null ? void 0 : rcWindow.rankingCoachReactData;
  if (!internalOnboarding) {
    props.hideTabs = true;
  }
  reactExports.useEffect(() => {
    if (currentPost && isEditingPost && currentPostId && (currentPostType === "post" || currentPostType === "page")) {
      props.currentPost = currentPost;
    }
  }, [dispatch, currentPost]);
  return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Li, { className: "tabs-component-container", children: /* @__PURE__ */ jsxRuntimeExports.jsx(TabsManager, { ...props }, `tabs-manager-component`) }) });
};
export {
  useSelector as $,
  AppReducer as A,
  li as B,
  Ln as C,
  DEFAULT_VERSION as D,
  Er as E,
  FLUSH as F,
  q8e as G,
  Kt as H,
  S8e as I,
  D8e as J,
  KEY_PREFIX as K,
  Li as L,
  jp as M,
  ai as N,
  useAppDispatch as O,
  PERSIST as P,
  Q8e as Q,
  React as R,
  Ske as S,
  J8e as T,
  j8e as U,
  Vo as V,
  NEe as W,
  OnboardingStore as X,
  O8e as Y,
  Z8e as Z,
  __vitePreload as _,
  requireReactDom as a,
  debounce as a0,
  N8e as a1,
  reactDomExports as a2,
  Va as a3,
  SeoStore as a4,
  B8e as a5,
  seoStore as a6,
  AppSlice as a7,
  $8e as a8,
  tb as a9,
  OptimiserStore as aa,
  classNames as ab,
  X8e as ac,
  useDispatch as ad,
  sprintf as ae,
  DSe as af,
  Id as ag,
  PluginInformationStore as ah,
  fetchPost as ai,
  getPathId as aj,
  GutenbergSidebar as ak,
  App as al,
  MetatagsStore as am,
  reactExports as b,
  ReactReduxContext as c,
  createSubscription as d,
  PURGE as e,
  PAUSE as f,
  REHYDRATE as g,
  createStore as h,
  REGISTER as i,
  getDefaultExportFromCjs as j,
  combineReducers as k,
  configureStore as l,
  PostReducer as m,
  rcWindow as n,
  jsxRuntimeExports as o,
  nr as p,
  si as q,
  requireReact as r,
  setLocaleData as s,
  __ as t,
  useIsomorphicLayoutEffect as u,
  L8e as v,
  r9e as w,
  gh as x,
  uf as y,
  e9e as z
};
